diff --git a/99.asm b/99.asm index 38e46b4..ad748cb 100644 --- a/99.asm +++ b/99.asm @@ -6,18 +6,20 @@ _next: .word 0 .scend .alias p $ffd2 +.text main: ldx #9 - ldy #9 txa + tay sed -* sty $10 - stx $11 +* stx $11 + txa ora #$30 jsr p lda #42 jsr p tya + pha ora #$30 jsr p lda #61 @@ -38,7 +40,8 @@ main: and #$0f ora #$30 jsr p - ldy $10 + pla + tay dey beq + lda #160 @@ -51,4 +54,5 @@ main: txa tay jmp --- -* rts +* cld + rts diff --git a/99.prg b/99.prg index d144fbb..08c026d 100644 Binary files a/99.prg and b/99.prg differ