haakitty.blogg.se

Tetris screen q
Tetris screen q







tetris screen q

  • My data type for the cycle count of the ppu class was uint8 but I needed uint16 since mode 3 needs 1140 cycles and that is more than 256.
  • This caused the screen to just stay blank (white).
  • LY didn't count past 144 and I thought that was fine but it wasn't since in Tetris there is one loop that only exits if LY equals 148.
  • I had these three problems for anyone who is also looking for a solution:

    tetris screen q

    How can it be that with blargg's test I get correct visuals on the lcd but with Tetris I get nothing? I expected to at least get the copyright screen.ĮDIT: Solved it! Blargg's cpu tests really only need minimal lcd support which means that one can get correct visuals with an incorrect ppu implementation. The problem is when I try to run Tetris I only get a white screen and nothing else happens on the lcd. The emulator passes blargg's cpu instr and instr timing tests and prints the correct visuals on the lcd. My gb emulator is at a point where the cpu, mbc1 and ppu are implemented.









    Tetris screen q