Open tegerdine opened 3 years ago
Steps to reproduce:
4
to disable the ROMg
to run the game of life.18k isn't quite enough. 181024=0x4800, wheras the ROM extends to 0x4A92. To copy all of the data in the current ROM you need to copy (19 1024) bytes. However, I would argue that copying the whole 32k instead will prevent this issue returning in the future.
The current monitor executable is 0x4A92 bytes long. During boot a LDIR copies the ROM contents to RAM to allow the ROM to be mapped out without losing the monitor functionality. The monitor only copies 0x4000 bytes across, missing the tail end of the GameOfLife demo, which therefore crashes if started with ROM mapped out. Since the default EEPROM is now 32kB, perhaps this copy should do it all?