1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00
cc65/libsrc/cbm/c_readst.s
Greg King 710c6c6f2f Fixed cbm_k_readst() to work around a VIC-20 Kernal bug.
It properly returns the RS-232 device's status.
2021-03-25 15:22:18 -04:00

16 lines
241 B
ArmAsm

;
; 1999-06-03, Ullrich von Bassewitz
; 2021-01-12, Greg King
;
; unsigned char cbm_k_readst (void);
;
.include "cbm.inc"
.export _cbm_k_readst
_cbm_k_readst:
ldx #>$0000
jmp READST