From 6121aeeea2c78974c287fa07917c95ec23954d6d Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 26 Mar 2024 16:40:24 +0100 Subject: [PATCH 1/2] Alternative Atmos args --- libsrc/atmos/mainargs.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libsrc/atmos/mainargs.s b/libsrc/atmos/mainargs.s index b8d19dccc..19699a487 100644 --- a/libsrc/atmos/mainargs.s +++ b/libsrc/atmos/mainargs.s @@ -40,15 +40,17 @@ L1: sta name,y ldx #0 L2: lda BASIC_BUF,x - beq done ; No "rem", no args. + beq done ; No remark, no args. inx cmp #REM + beq L4 + cmp #''' bne L2 ; The arguments must be copied to a safe place because BASIC's input buffer ; might be re-used by the stdin console. - ldy #(SCREEN_XSIZE * 2 - 1) - 1 +L4: ldy #(SCREEN_XSIZE * 2 - 1) - 1 L3: lda BASIC_BUF,y sta args,y dey From fa07cba6229a803a31f5a819878160f33f293439 Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 26 Mar 2024 16:58:21 +0100 Subject: [PATCH 2/2] Update atmos.sgml --- doc/atmos.sgml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/atmos.sgml b/doc/atmos.sgml index cef7770e4..5480bee4a 100644 --- a/doc/atmos.sgml +++ b/doc/atmos.sgml @@ -235,6 +235,7 @@ supported directly by BASIC, the following syntax was chosen: RUN:REM arg1 " ARG2 IS QUOTED" ARG3 "" ARG5 + RUN'arg1