]> Joshua Wise's Git repositories - fpgaboy.git/commitdiff
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 5d44cef29f6ba6c9654ef0dada74bf8868e4ae68..2c843eb33c7a1a0a15a4349f3ffe66ebf9f8b46c 100644 (file)
--- a/diag.asm
+++ b/diag.asm
@@ -52,8 +52,7 @@ signon:
 
 putscreen:
        ; Wait for vblank
 
 putscreen:
        ; Wait for vblank
-       ld c, $41
-.stat: ld a, [c]
+.stat: ld a, [$FF41]
        ld [$FF51], a
        and $03         ; mode
        cp $01          ; VBLANK
        ld [$FF51], a
        and $03         ; mode
        cp $01          ; VBLANK
index 27548625708c1e00221742d012e32a0dc7eaf494..14d82cae0551e95abb579e0cf3da6c0a2015d782 100644 (file)
@@ -24,8 +24,8 @@
        `INSN_LD8M_A: begin
                case (cycle)
                0:      begin end
        `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
                endcase
        end
 `endif
This page took 0.030546 seconds and 4 git commands to generate.