Hi,
I also posted this message on the Eidolon Tavern :
I've set up a small devkit for the sega genesis using GCC for win32 platform.
I compiled both GCC 3.6.0 and GCC 4.1.1 for m68k-elf target. Finally i only keep the 3.6.0 version since the 4.1.1 brings nothing interesting new (for the m68k target) and take more place. I also did some fixes on the genesis.ld file (the old one i was using was pretty... strange).
I keep the strict minimum to get your project to compile correctly and generate the rom file ! The complete archive only takes about 2.30 MB, and this is, with my libraries files
Here's the download link :
gens.consolemul.com/download/temp/GenesisDev01.zipA small exemple of what i did with my small devkit :
gens.consolemul.com/download/temp/gencube3D.zipAnd here's my blog where i deal about genesis deving :
stefda.spaces.msn.comIt containt more explanations about it but it's all french plus i don't know if you can access it
Here's a quick (and bad) translation :
contains binary files and DLL
- include --> contains the libraries headers
- lib --> contains librairies (source and obj)
In my configuration these 3 repertories are located in the
D:\apps\GenDev
Certain files have this path hardcoded, you have to
replace "D:\apps\GenDev" with your installation path if different.
The files which need to be modified are the following :
bin\makefile, bin\*.bat
To compile your program, it is very simple : execute genbuild.bat
by using the complete path (D:\apps\GenDev\genbuild.bat at home for
example) from the sources directory. If your program is correct you
should obtain a rom.bin file =) Then test it with an emulator (or
directly on the hardware if you're a lucky owner of a flash cart).
To make dev easier for me, i wrote some small basics libs. As
mentionned before the directory "include" contains the headers. I'm
too lazy to do a description of various existing functions u_u"
But the headers filename (.h) and the functions name should give you
enough to understand
I also put the sources of my rotating cube
>>
Have fun