From b7fb9a0551ff902b32f88446727ab3384537bd64 Mon Sep 17 00:00:00 2001 From: Jali Date: Sun, 11 Jan 2026 13:43:59 +0100 Subject: [PATCH] When printing field. Print full board --- src/sudoku.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sudoku.s b/src/sudoku.s index 7ad4e8e..f9601ab 100644 --- a/src/sudoku.s +++ b/src/sudoku.s @@ -107,7 +107,7 @@ PFIELD: PUSH P,A ;Save the A register. PUSH P,C ;Save the contents of register C. PUSH P,X ;Save the contents of the index register. PUSH P,Y ;Save the contents of the Y register - MOVEI C,033 ;Set a counter. + MOVEI C,121 ;Set a counter. MOVE X,[440400,,FIELD] ;Store a bytepointer in X. PFIELN: .IOT CHTTYO,[^M] ;Print a carriage return. .IOT CHTTYO,[^J] ;Print a new line. @@ -122,8 +122,8 @@ PFIENO: MOVEI B,040 ;Print a space. SOJE C,PFIEEX ;Exit, if no more elements are read. ADDI B,060 ;Convert number into char. .IOT CHTTYO,B ;Print the number. - .IOT CHTTYO,[040] - .IOT CHTTYO,[174] + .IOT CHTTYO,[040] ;Print a space + .IOT CHTTYO,[174] ;Print a '|' symbol SOJE Y,PFIELN ;End the line and start a new one. JUMPA PFIENO ;Jump back to print the next number.