Difference between revisions of "Build tool/InstallRAMISR"

From MSX Game Library

< Build tool

(Created page with "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 additi...")
 
Line 4: Line 4:
  
 
InstallRAMISR can take 3 values:
 
InstallRAMISR can take 3 values:
* <tt>RAM0_NONE</tt>: Don't install anything in RAM  
+
* <tt>RAM0_NONE</tt>: Don't switch page 0 to RAM  
* <tt>RAM0_ISR</tt>: Install only ISR
+
* <tt>RAM0_ISR</tt>: Switch page 0 to RAM then install ISR at 0x0038 (mandatory address)
* <tt>RAM0_SEGMENT</tt>: Install ISR and segment data (for mapped-ROM)
+
* <tt>RAM0_SEGMENT</tt>: Switch page 0 to RAM, install ISR at 0x0038 , then copy segment data (for mapped-ROM)

Revision as of 01:10, 3 December 2024

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)