Open venkat24 opened 5 years ago
I've made some progress on investigating this, it fails because there is no implementation for the TImer Interrupt.
https://gbdev.gg8.se/wiki/articles/Timer_and_Divider_Registers
This doesn't seem to be due to the timer.
I've added a rough timer implementation which triggers timer interrupts correctly and yet the CPU is still glitching out.
Looks like this will be greatly aided by a debugger.
The priority is to have a working debugger with input mocking, so that we can easily examine memory and code during the execution of Tetris
Reason hasn't been investigated yet, but the CPU seems to go wonky and start writing to Echo RAM at the Tetris level select screen.
Repro: Run the Tetris World ROM and attempt to select a level.