]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - rom.asm
Some LCDC IRQ stuffs. Working on fixing ldm_a
[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.027197 seconds and 4 git commands to generate.