Alternative programming languages for Genesis development?

Talk about anything else you want

Moderator: BigEvilCorporation

Post Reply
djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Alternative programming languages for Genesis development?

Post by djcouchycouch » Sun Apr 21, 2013 8:28 pm

Are there other programming languages available for Genesis homebrew? Assembly, C, C++, and ?

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Sun Apr 21, 2013 8:38 pm

There's the BasiEgaXorz compiler that implements a flavor of BASIC.
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Post by djcouchycouch » Sun Apr 21, 2013 8:38 pm

TmEE co.(TM) wrote:There's the BasiEgaXorz compiler that implements a flavor of BASIC.
Ah yes, that's right. Forgot about that one.

Any others?

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Sun Apr 21, 2013 10:08 pm

I usually enable building Objective-C/C++ on my toolchain in addition to C/C++. Technically, anything with a XXXXX-to-C/C++ translator could be used as well.

I would love to see an open source BASIC compiler for the MD... while BEX is pretty good, it's got lots of issues... mainly because it's closed source, and not worked on very often, so it's got lots of bugs you have to work around, and very poor documentation.

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Sun Apr 21, 2013 10:23 pm

I'll be working on a assembler+compiler (asspiler :P) for MD and one 68K based project of mine, but there's lot of time until I start actually implementing it.

This is the rough spec for now, subject to change as I see fit.
http://www.tmeeco.eu/BitShit/MéSIC.TXT
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

mic_
Very interested
Posts: 265
Joined: Tue Aug 12, 2008 12:26 pm
Location: Sweden
Contact:

Post by mic_ » Mon Apr 22, 2013 8:27 am

I wrote a Forth compiler long ago, which can generate M68000 code, and I wrote some small test programs for the Genesis using it.

But the M68000 code generator and/or peephole optimizer is a bit buggy IIRC, so I can't really recommend it for others to use.

Code: Select all

\ Write a string to the screen
: puts ( strptr x y -- )
	0xE000 swap 6 << + swap 2* + set_vram_addr	
	begin true while
		dup c@ dup 0= ?leave 32 - 0x8000 or #VDPDATA w!
		1+ repeat drop drop ;
:P

Post Reply