From e18db15be48f1b1ef20d51e40e3b0c6aab2209da Mon Sep 17 00:00:00 2001 From: Jali Date: Sun, 3 Aug 2025 14:07:22 +0200 Subject: [PATCH] Different approach to open CHTTY --- src/SUDOKU.ASM | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SUDOKU.ASM b/src/SUDOKU.ASM index a0c4168..9681c50 100644 --- a/src/SUDOKU.ASM +++ b/src/SUDOKU.ASM @@ -17,7 +17,8 @@ BPTR==440700 ;Define a byte pointer. CHTTYO==1 ;Define a channel for TTY output. START: MOVE P,[-PDLLEN,,PDL-1] ;Initialize the stack. - .OPEN CHTTYO,[.UAO,,'TTY] ;Open the output channel. + .CALL [SETZ ? SIXBIT/OPEN/ + [.UAO,,CHTTYO] ? [SIXBIT/TTY/] ((SETZ))] .LOSE %LSFIL ;Gobble up error messages. MOVE A,[BPTR,,HELLO] ;Load A with a byte pointer to HELLO. JRST DONE ;Jump to the end of the program.