whestories.blogg.se

Game boy tetris screen shots
Game boy tetris screen shots












game boy tetris screen shots

The Joypad inputs are pulled high by a resistor. To make a long story short: The joypad register was giving the wrong values. But some progress as the program moved pasted the loop. Since it most likely wasn’t the serial interrupt setting the flag I started debugging my VBlank interrupt handler.Īfter fixing interrupt I still wasn’t at the menu screen. The only active interrupts were Serial and VBlank. The program was looping at this section: 036C: ldh A,(85) load some value from ramĬlearly a flag needs to be set and can only happen in a interrupt! MAIN LOOP ? -Ġ343: call 29FA sets FF in FF80 location - potentially need to do something with joypad registers?Ġ349: call 7FF0 this path did not set FF80 locationĠ36A: ldh (FF),A Enable Serial and VBlank InterruptsĠ36C: ldh A,(85) load some value from ramĠ36F: jr Z,FB go back if 0. So clearly there’s a problem!Īfter some debugging I identified, what I believe is the Tetris “Main Loop”. I knew at this point it should move into the menu screen.

game boy tetris screen shots

As a temporary fix I forced drawing in unsigned mode.Īfter getting to the Copyright screen nothing happened. There was however the problem on the tileset being drawn in signed mode.

game boy tetris screen shots

Getting to the copyright screen was straight forward for the most part.














Game boy tetris screen shots