Fix ld a, []
authorJoshua Wise <joshua@nyus.joshuawise.com>
Sat, 19 Apr 2008 04:10:08 +0000 (00:10 -0400)
committerJoshua Wise <joshua@nyus.joshuawise.com>
Sat, 19 Apr 2008 04:10:08 +0000 (00:10 -0400)
diag.asm
insn_ldm8_a.v

index 5d44cef..2c843eb 100644 (file)
--- a/diag.asm
+++ b/diag.asm
@@ -52,8 +52,7 @@ signon:
 
 putscreen:
        ; Wait for vblank
-       ld c, $41
-.stat: ld a, [c]
+.stat: ld a, [$FF41]
        ld [$FF51], a
        and $03         ; mode
        cp $01          ; VBLANK
index 2754862..14d82ca 100644 (file)
@@ -24,8 +24,8 @@
        `INSN_LD8M_A: begin
                case (cycle)
                0:      begin end
-               2:      begin end
-               3:      if (opcode[4]) `_A <= rdata;
+               1:      begin end
+               2:      if (opcode[4]) `_A <= rdata;
                endcase
        end
 `endif
This page took 0.01879 seconds and 4 git commands to generate.