From 8cb91d0139fd50d9742b9741815bf29406829abd Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Tue, 16 Jul 2019 18:26:51 +0200 Subject: [PATCH] LOAD command can now report file not found error --- c64/kernal/iec_rx_byte.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c64/kernal/iec_rx_byte.s b/c64/kernal/iec_rx_byte.s index 2d28465f..446956ce 100644 --- a/c64/kernal/iec_rx_byte.s +++ b/c64/kernal/iec_rx_byte.s @@ -113,5 +113,6 @@ iec_rx_set_eoi: ora #$40 sta IOSTATUS - clc + sec ; XXX check if ACPTR also uses Carry flag to indicate problems, + ; currently this is used by our LOAD routine to detect file not found rts