Home | Forums | What's new | Resources | |
Genesis Forth compiler |
mic - Oct 26, 2005 |
mic | Oct 26, 2005 | ||||
The other day I got the idea to make the Forth compiler I had previously written output M68000 code so I could use it to program the Megadrive (Genesis). Said and done - it's now at the point where it can output working code for a decent subset of the Forth langauge. Here are some demos I wrote using my compiler (including sources): download... The full compiler package including the compiler, its source and demos for all the platforms it supports can be found here... For the M68000-side of things, it outputs code suitable for the Gnu assembler (m68k-coff-as). For those of you who don't know, Forth is an old stack based language where you write expressions in reverse polish notation. E.g
Code:
It's not the most practical language to write demos/games in, but a fun challange (me just being nuts is another possibility.. Enough ranting, check out the demos if you wish. If someone has a flash kit and wants to test them on hardware, that'd be great, since I don't have the necessary equipment myself. |
fonzievoltonov | Oct 27, 2005 | |||
Wow, great. Basic, C, asm, forth, pascal The sprite demo is cool |