X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/b4f3ac35e69b7d5adf57959902abe2a104b42f4f..58d068d423c00a843a9f1a761503ed685a30a27c:/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 +