X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/30ef1ae0e1d60f55aee401ad9741cb8d5a0feef0..ec7274034775dc5e053ff3c96bd141ac50b4fc81:/rom.asm?ds=inline diff --git a/rom.asm b/rom.asm index 0c25fab..1504c71 100644 --- 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