From cf05e4422836b67fb8759c87d830422c21a0cf4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Thu, 30 Mar 2023 15:21:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 99.asm | 14 +++++++++----- 99.prg | Bin 98 -> 98 bytes 2 files changed, 9 insertions(+), 5 deletions(-) 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 d144fbba51b4e9743a458c3d1104dcd3d026d6d0..08c026d58f4523db76f9a7cdea25f471a99ac49c 100644 GIT binary patch delta 69 zcmYdFQex!b=HOzOXJlYz$iTp`h_h?Ok2b+BP6LHY|5s`Oi5VUfl~rUiR&;#eSh)bm V_YvY)$qS@UePHcc0p#3B0010X8j=72 delta 69 zcmYdFQfB1f=HOzOXJlYz$iTp`h;spF*N+x~HbG7Ug-iceY5|EE6O~k?mk4xx;8?i; V$n_ECSjh{dPkmtRS^?xF008f686p4x