Hi after a long break, I've been getting back into Sega Model 3 coding =D
I saw I have missed lots of progress from
Bart at
https://github.com/trzy/model3/, which has been updated recently!
It took me a while to work out a way to load the compiled
crom.bin file with the new xml loading in latest Supermodel WIPs...
So I thought I'd post a working solution here in case anyone needs the help:
P.S. I forgot the
crom.bin needs to be loaded to the upper crom region (0x0800000 - crom size)!
Copy this
crom.zip code block inside the games section of
Config/Games.xml, to be able to run a zipped
crom.bin** EDIT ** (Using help from Bart Below)
- Code: Select all
<game name="crom">
<hardware>
<platform>Sega Model 3</platform>
<stepping>1.0</stepping>
</hardware>
<roms>
<region name="crom" stride="1" chunk_size="1">
<!-- CROM0 -->
<file offset="0" name="crom.bin" />
</region>
</roms>
</game>
Let me know what you guys think

It would be amazing if we could get a newer PPC GCC devkit to code with to replace the old PPC GCC 5.1.0 package too!
Anyway I def want to mess with GFX now, I'll let you know how I get on! =D
** EDIT **I found a newer devkitPro PPC GCC 8.3.0 that can compile the Model 3 source code here:
https://github.com/devkitPro/buildscripts/releasesIt's just a 33MB download!
New Steps I took to get it to compile & run:1. Made a base
"MSYS-1.0.11.exe" install
https://sourceforge.net/projects/mingw/files/MSYS/Base/msys-core/msys-1.0.11/2. Copied contents of
https://github.com/devkitPro/buildscripts/releases/download/devkitPPC_r35/devkitPPC_r35-win64.tar.xz into "
msys/mingw" directory
3. Copied contents of
https://github.com/trzy/model3/ to a directory inside my "
msys/home/user" folder
4. I made the source able to compile locally by editing all references to "
src/" & replacing them with "
./", inside the 3 "
Makefile" & "
libmodel3/Makefile.inc" & the "
test/test.c" files.
5. I also edited the "
Makefile" & renamed all references to "
/c/mingw64-ppc/bin/powerpc-603e-eabi" to "
powerpc-eabi". (As MSYS automatically has the path to the "
msys/mingw/bin" directory.)
6. I then ran "
make" inside MSYS, & it produced a "
crom.bin" file.
7. This runs on Supermodel using this command line: "
Supermodel crom.zip"
Hope this helps =D