gracetveit / gb_emulator

0 stars 0 forks source link

CPU is not requesting roms to be loaded #37

Closed gracetveit closed 1 year ago

gracetveit commented 1 year ago

Debug not hitting breakpoint at src/cpu/cpu.rs:42

gracetveit commented 1 year ago

Potential Issue: CPU is getting stuck around PC 0x0064-0x0068 because the PPU is not writing to memory after v-blank period

https://gbdev.io/pandocs/STAT.html#ff41--stat-lcd-status

gracetveit commented 1 year ago

With PR #38, the CPU now moves past PC 0x0068. Still need to follow the next CPU steps to make sure it doesn't hang elsewhere.

Screen is still blank, so problems for sure still exist.

gracetveit commented 1 year ago

Getting stuck between 0x007A and 0x0080

gracetveit commented 1 year ago

With #42, rom data is loaded, and the PC progresses past 0x00FE.

The time it takes to read the BIOS is still very slow (measured in minutes), and the LCD is still not displaying anything.