Fixed cbm_k_readst() to work around a VIC-20 Kernal bug.

It properly returns the RS-232 device's status.
This commit is contained in:
Greg King
2021-01-13 03:20:19 -05:00
parent 0f1386ff4c
commit 710c6c6f2f
3 changed files with 37 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
;
; Ullrich von Bassewitz, 03.06.1999
; 1999-06-03, Ullrich von Bassewitz
; 2021-01-12, Greg King
;
; unsigned char cbm_k_readst (void);
;
@@ -10,6 +11,5 @@
_cbm_k_readst:
jsr READST
ldx #0 ; Clear high byte
rts
ldx #>$0000
jmp READST