X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/b4f3ac35e69b7d5adf57959902abe2a104b42f4f..75ab1e9975f64989ee18450eb09b66b33ec5def8:/bootrom.asm diff --git a/bootrom.asm b/bootrom.asm index 3cdf0e9..4e780bf 100644 --- a/bootrom.asm +++ b/bootrom.asm @@ -185,4 +185,12 @@ boot: jr .running ; $0100 .running: ld a, $FF ld [$FF51], A -.diq: jr .diq + ld a, $00 + ld [$FF25], a +.diq: ld A, [$FF51] + cp 0 + jr z, .diq + ld a, 0 + LD [$FF40],A + jp $0000 +