]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - rom.asm
Fix some sync issues? Maybe?
[fpgaboy.git] / rom.asm
diff --git a/rom.asm b/rom.asm
index 0c25faba8bed2c5e703cf912f20a5781e64c65fd..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,12 +42,10 @@ irqhand:
        call putc
        
        ld hl, $DF81
+       inc [hl]
        ld a, [hl]
-       ld b, 1
-       add b
        ld c, $51
        ld [c], a
-       ld [hl], a
 
 
        POP HL
This page took 0.0267 seconds and 4 git commands to generate.