X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/f888201b9894683abfff012bd68b641319fb2744..ec7274034775dc5e053ff3c96bd141ac50b4fc81:/rom.asm?ds=inline diff --git a/rom.asm b/rom.asm index cf8fd60..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,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