From 14f3eaf3ad727973bf4fe8254f0026036b4a313c Mon Sep 17 00:00:00 2001 From: Philip Zembrod Date: Mon, 8 Aug 2022 00:37:00 +0200 Subject: [PATCH] Add comment about C16 OS bug workaround --- 6502/C64/src/vf-sys-cbm.fth | 3 +++ 1 file changed, 3 insertions(+) diff --git a/6502/C64/src/vf-sys-cbm.fth b/6502/C64/src/vf-sys-cbm.fth index 9b900eb..0b21057 100644 --- a/6502/C64/src/vf-sys-cbm.fth +++ b/6502/C64/src/vf-sys-cbm.fth @@ -152,6 +152,9 @@ Label nodevice 0 # ldx 1 # ldy Label (?dev IOStatus stx \ because IOStatus isn't cleared by LISTEN or TALK + \ It's unclear in which situation or use case the following + \ workaround for a C16 OS error is needed. The v4th tests pass + \ even with the following line removed. (C16 CurDev sta ( ) \ current device number - because of error in OS LISTEN jsr 60 # lda SECOND jsr UNLSN jsr