]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - rom.asm
Fix insn_bit. HOLY SHIT THE BOOT ROM WORKS c.c
[fpgaboy.git] / rom.asm
diff --git a/rom.asm b/rom.asm
index cf8fd603c2fbfeebf5c65d591c7eec4788dcb396..1504c7199bf681185a2d1d2f8422b4c3909153eb 100644 (file)
--- a/rom.asm
+++ b/rom.asm
@@ -1,9 +1,8 @@
        SECTION "a",HOME
 
 main:
-       ld c, $51       ; Note that we are alive.
-       ld a, $FF
-       ld [c],a
+       ld a, $FF       ; Note that we are alive.
+       ld [$FF51],a
        
        ld sp, $DFF0
        
@@ -43,11 +42,10 @@ irqhand:
        call putc
        
        ld hl, $DF81
+       inc [hl]
        ld a, [hl]
-       add 1
        ld c, $51
        ld [c], a
-       ld [hl], a
 
 
        POP HL
This page took 0.035112 seconds and 4 git commands to generate.