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