X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/6ba4cfea4b24fdd898e90ebd55e95ad43d5d21d4..09c1936c32d74947896338a1c57270b2918656f8:/bootrom.asm diff --git a/bootrom.asm b/bootrom.asm index 3cdf0e9..cd76097 100644 --- a/bootrom.asm +++ b/bootrom.asm @@ -185,4 +185,8 @@ boot: jr .running ; $0100 .running: ld a, $FF ld [$FF51], A -.diq: jr .diq +.diq: ld A, [$FF51] + cp 0 + jr z, .diq + jp $0000 +