To build libz for the SEGA 32X:

make -f makefile.32x libz.a

The heap that the 32X version of libz can allocate memory from is set to 0x0602F000..0x0603EFFF. If you need to move the heap somewhere else you need to change the
defines MSYS_HEAP_START and MSYS_HEAP_END in makefile.32x.
 

To build libz for the SEGA Saturn:

make -f makefile.saturn libz.a

The heap that the Saturn version of libz can allocate memory from is set to 0x06080000..0x0608FFFF. If you need to move the heap somewhere else you need to change the
defines MSYS_HEAP_START and MSYS_HEAP_END in makefile.saturn.




/Mic | micol972@gmail.com

