From e6469bb1bc0bc9c0de07ace446873c10ad354588 Mon Sep 17 00:00:00 2001 From: Jali Date: Tue, 18 Nov 2025 21:12:17 +0100 Subject: [PATCH] Use immediate addresses for file names --- src/sudoku.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sudoku.s b/src/sudoku.s index 66743b7..99e9a2d 100644 --- a/src/sudoku.s +++ b/src/sudoku.s @@ -139,7 +139,7 @@ IMPRTF: PUSH P,A ;Save the A register. MOVE X,[440400,,FIELD] ;Init a 4-bit byte pointer to FIELD. .CALL [SETZ ? SIXBIT/OPEN/ ;Open a file descriptor. [.UAI,,CHDSKI] ? [SIXBIT/DSK/] ;Mode, channel and device name - A ? B ((SETZ))] + FNAME1 ? FNAME2 ((SETZ))] .LOSE %LSFIL ;Handle errors after opening the file IMPRD: .IOT CHDSKI,A ;Read an ascii char into A. JUMPL A,IMPREX ;If there was nothing read, exit.