Build tool/InstallRAMISR

From MSX Game Library

Revision as of 01:10, 3 December 2024 by Aoineko (talk | contribs)

< Build tool

Build tool option InstallRAMISR is used to automatically select RAM in page 0 then copy data there at startup, so ROM cartridge can take advantage of 16 KB of additional RAM.

As page 0 (addresses 0x0000-0x3FFF) is the place where MSX will search for interruption handler (ISR), the build tool will automatically copy the selected ISR (see CustomISR option).

InstallRAMISR can take 3 values:

  • RAM0_NONE: Don't switch page 0 to RAM
  • RAM0_ISR: Switch page 0 to RAM then install ISR at 0x0038 (mandatory address)
  • RAM0_SEGMENT: Switch page 0 to RAM, install ISR at 0x0038 , then copy segment data (for mapped-ROM)