DevKit32X

Talk about development tools here

Moderator: BigEvilCorporation

Post Reply
Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

DevKit32X

Post by Chilly Willy » Tue May 26, 2009 6:52 pm

Okay, here's my latest DevKit32X and the latest Wolf32X code.

DevKit32X-090526.7z
Wolf32X-090526.7z

To make Wolf3D Shareware, do the exports

Code: Select all

export GENDEV=/usr/local/gendev
export PATH=$GENDEV/sh2/bin:$GENDEV/m68k/bin:$GENDEV/bin:$PATH
then "make -f Makefile-wsw". The Spear of Destiny Demo is "make -f Makefile-sdm". Note: if you put the gendev directory somewhere other than /usr/local, be sure to change the first export. For example, I currently use /home/jlfenton/Tools/gendev.

The Wolf32X code gives an example of how you could do a 32X program, and has a bunch of code that could be helpful for your own project, like the debug print code and the crt files.

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Fri Sep 25, 2009 4:32 pm

Okay, here's archives for my latest gendev toolchain and "SDK". The SDK is the source for bin2c, libheap, libmd, libromfs, and zasm. The binaries are all in the toolchain archive in the proper place. Note that this arc, unlike previous ones, is entirely 32 bit. Most 64 bit linux distros can handle that, but you may need 32 bit compatibility libraries installed. The SH compiler has been updated to the latest KPIT 902 release.

gendev-20090925.7z
gendev-sdk-20090925.7z

Notes: libheap is a basic allocator library that would be underneath a malloc library. libmd is Stef's MiniDevKit support files all made into a library for convenience. libromfs is a library for reading romfs generated rom files (genromfs included). bin2c and zasm are used for making Z80 programs that can be included in programs. See the musicdemo example for details.

Please note the exports needed for Genesis or 32X compiling:
MD
export GENDEV=/home/jlfenton/Tools/gendev
export PATH=$GENDEV/m68k/bin:$GENDEV/bin:$PATH

MARS
export GENDEV=/home/jlfenton/Tools/gendev
export PATH=$GENDEV/sh2/bin:$GENDEV/m68k/bin:$GENDEV/bin:$PATH

Wolf32X serves as the example of 32X programming, while any of the musicdemo apps serve as a demonstration of Genesis programming.

Post Reply