| Home | Forums | What's new | Resources | |
| Setting up 32X dev environment. |
| RockinB - Nov 26, 2004 |
| antime | Nov 26, 2004 | ||
| KPIT's package should work just fine, but you will need a linkscript and startup code. | |||
| Kaneda | Nov 29, 2004 | ||
| Fonzie use C so I think you can ask him for information | |||
| Hellmut | Dec 1, 2004 | ||
| Joseph Norman (or dev ster) does have a working c compiler for the 32x. He compiled the sh-elf-gcc and m68k-elf-gcc toolchain to windows. He's going to make a big release of it later when he gets all the libraries done. It's pretty cool, you only need two source files, one for the 68k cpu, and the other for the sh2. The master and slave both run on the same source code, so parallel processing is easy he said. With the linker script he has, it links all the object files together including the 68k and sh2 source files into a rom binary without any tools. Not everything is complete, but you could probably email joe and he can send you the compiler and scripts to get you started with C. He also has a BASIC compiler too that can create 32x rom files. The only downfall of basic is that it only compiles for 68k, not sh2, so all accesses to the 32x hardware have to be done using the sh2's as a coprocessor. The sh2 coprocessor is built using c source code, but when he releases a new version of the basic compiler, he'll already have a coprocessor source ready to use. I go to the same university as joe, so i'll talk to him later. the guy's a genius | |||
| fonzievoltonov | Dec 1, 2004 | ||
| For the WinXp compatible snasmsh2 and 68k just go @ walmarsx devster page, there is a link on them i think. "I go to the same university as joe" Héhé... Just imagine if all the sega dev guys were on the same university | |||
| RockinB | Dec 2, 2004 | |||
Hmmm..like I said, the linked snashmsh2 there isn't working on my WinXP I would really like to see if it works when I include my created 32X SH2 binary with WalMarsX. <!--QuoteBegin-H ellmut@Wed, 2004-12-01 @ 11:00 PM Joseph Norman (or dev ster) does have a working c compiler for the 32x. He compiled the sh-elf-gcc and m68k-elf-gcc toolchain to windows. He's going to make a big release of it later when he gets all the libraries done. [post=124839]Quoted post[/post] [/quote] Nice to know that DevSter is going to release a GCC solution for SH2. I think I don't need an elf toolchain, when I got a coff toolchain already installed. The linking script instead is the missing thing for me. And concerning my last question..I think the linker script that I used defined srec output format, so I produced srec format files, regardless if I used sh-coff-ld or sh-coff gcc for linking. | ||||