Insert line breaks into .CALL instructions
Hoping to get rid of the "unknown system call name" error.
This commit is contained in:
@@ -101,11 +101,14 @@ PUTLN: PUSHJ P,OUTSTR ;Calls the OUTSTR subroutine
|
||||
POPJ P, ;before returning.
|
||||
|
||||
;Subroutine that reads the contents of the file into the buffer at FIELD
|
||||
IMPRTF: .CALL [SETZ ? SIXBIT/OPEN/ [.UAI,,CHDSKI] ? A ? B ((SETZ))]
|
||||
IMPRTF: .CALL [SETZ ? SIXBIT/OPEN/
|
||||
[.UAI,,CHDSKI] ? A ? B ((SETZ))]
|
||||
.LOSE %LSFIL ;Handle errors after opening the file
|
||||
.CALL [SETZ ? SIXBIT/SIOT/ [,,CHDSKI] ? [BPTR,,C] ? [,,33] ((SETZ))]
|
||||
.CALL [SETZ ? SIXBIT/SIOT/
|
||||
[,,CHDSKI] ? [BPTR,,C] ? [,,33] ((SETZ))]
|
||||
.LOSE %LSFIL
|
||||
.CALL [SETZ ? SIXBIT/CLOSE/ [,,CHDSKI] ((SETZ))]
|
||||
.CALL [SETZ ? SIXBIT/CLOSE/
|
||||
[,,CHDSKI] ((SETZ))]
|
||||
.LOSE %LSFIL
|
||||
POPJ P ;Return from the input subroutine,
|
||||
DONE: .LOGOUT 2, ;Exit point for the program.
|
||||
|
||||
Reference in New Issue
Block a user