I changed chip8.c so that it loads the ROM file into the array rom_data instead of directly into memory. chip8_init() now transfers the rom_data into memory at address 0x200. Thus, instead of having to reload the ROM file each time, the reset routine can just call chip8_init().
I also removed the Edit menu, because it didn't seem to do anything (I'm assuming it got placed there by default).
Hi Lee,
I changed chip8.c so that it loads the ROM file into the array
rom_data
instead of directly into memory.chip8_init()
now transfers therom_data
intomemory
at address 0x200. Thus, instead of having to reload the ROM file each time, the reset routine can just callchip8_init()
.I also removed the Edit menu, because it didn't seem to do anything (I'm assuming it got placed there by default).
Cheers, Peter