X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/a42afaa9d03ed6cd15b1c3d2ec8d4c61c78bf09e..7c1b9e8ea3a9ec0d0c00009df9212a1829e072ec:/diag.asm?ds=inline 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