Alternative programming languages for Genesis development?
Moderator: BigEvilCorporation
-
- Very interested
- Posts: 710
- Joined: Sat Feb 18, 2012 2:44 am
Alternative programming languages for Genesis development?
Are there other programming languages available for Genesis homebrew? Assembly, C, C++, and ?
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
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
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 710
- Joined: Sat Feb 18, 2012 2:44 am
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 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.
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.
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
I'll be working on a assembler+compiler (asspiler ) 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
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
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
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.
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 ;