]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - diag.asm
Fix ld a, []
[fpgaboy.git] / diag.asm
index bc164a0202132a05d806f0cdc8a500fa6ad4357a..2c843eb33c7a1a0a15a4349f3ffe66ebf9f8b46c 100644 (file)
--- a/diag.asm
+++ b/diag.asm
@@ -52,10 +52,11 @@ signon:
 
 putscreen:
        ; Wait for vblank
-;.stat:        ld a, [$FF41]   ; STAT
-;      and $03         ; mode
-;      cp $01          ; VBLANK
-;'     jp nz, .stat
+.stat: ld a, [$FF41]
+       ld [$FF51], a
+       and $03         ; mode
+       cp $01          ; VBLANK
+       jr nz, .stat
 
        ld hl, $8000    ; Copy two tiles.
        ld a, $AA
This page took 0.025493 seconds and 4 git commands to generate.