1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-09 11:30:29 +00:00
cc65/libsrc/pet/kbsout.s
Greg King 5f145542b0 Exported the Commodore CHRIN and CHROUT Kernal functions, in the CBM libraries.
This commit complements commit 98f8064b8311753fab468aaf2c1b6d2e339a4391.
2021-03-03 17:39:53 -05:00

21 lines
361 B
ArmAsm

;
; Ullrich von Bassewitz, 19.11.2002
;
; BSOUT/CHROUT replacement function for the PETs
;
.export BSOUT
.export CHROUT
.import checkst
.proc BSOUT
jsr $FFD2 ; Call Kernal function
jmp checkst ; Check status, return carry on error
.endproc
CHROUT := BSOUT