camplite.blogg.se

Gmod wiki
Gmod wiki











gmod wiki

GMod2 appears in the memory map like a standard "8KGAME" 8KiB cartridge (it can not be switched into "16KGAME" mode).

#Gmod wiki code

Have a look at the 'flash-identify' and 'flash-write' example code in our GMod2 repository working with the cartridge ROM

gmod wiki

During the development period of your cartridge you may also use some startup "magic key" that exits to BASIC, so you can use that to load/start a flasher program.Īgain, due to the minimalistic logic, the flash mode will likely only work on ASSY 250469 ("ALDI" "short" board) For developers it is recommended to use either a Kernal-ROM that allows to bypass the CBM80 check (for example "SpeedDOS") or to use a cartridge expander or switch which allows to disconnect the EXROM line.

  • writes to addresses >= $e000 go to the flashĪlthough it is unlikely to issue unintended EEPROM commands when flashing, it is recommended to program the flash ROM first, then initialize the EEPROM with its initial content.ĬAUTION: Due to the minimalistic logic and hardware there is no way to bypass the cartridge startup (ie force flash mode) once the cartridge has been programmed with a valid cartridge header.
  • when the flash mode is enabled, ultimax mode will be enabled for all writes to addresses >= $8000.
  • to enable the flash mode, set bit7 and bit6 of the control register to 1.
  • That means the cartridge starts in "8KGAME" mode in bank 0 with flash mode inactive and EEPROM not selected. EEPROM can be used via bits 4/5/7Īt power-on/reset all bits default to 0.

    gmod wiki

    Regular 8K Game mode, ROM readable at $8000ĮEPROM selected, Flash inactive. The register is always active and there is no way to disable it.













    Gmod wiki