X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/a42afaa9d03ed6cd15b1c3d2ec8d4c61c78bf09e..298e8085b4f8f70121204fa4aed3a188034f6879:/diag.asm diff --git a/diag.asm b/diag.asm index 668452d..d269b25 100644 --- a/diag.asm +++ b/diag.asm @@ -91,6 +91,9 @@ tiles: db %00000000 putscreen: + LD A,$fc ; $001d Setup BG palette + LD [$FF47],A ; $001f + ; Wait for vblank call .vblwait @@ -318,8 +321,8 @@ waitsw: ld a,[c] cp $0 jr z,.loop1 -.loop2: - ld a,[c] + +.loop2: ld a,[c] cp $0 jr nz,.loop2 ret