To build libpng for the SEGA 32X:

make -f makefile.32x libpng.a

The heap that the 32X version of libpng can allocate memory from is set to 0x0601F000..0x0602EFFF. 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 libpng for the SEGA Saturn:

make -f makefile.saturn libpng.a

The heap that the Saturn version of libpng can allocate memory from is set to 0x06090000..0x0609FFFF. 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

