; unsigned char __fastcall__ cbm_k_ckout (unsigned char FN);
;
- .include "cbm.inc"
-
.export _cbm_k_ckout
+ .import CKOUT
+
_cbm_k_ckout:
tax
jsr CKOUT
- ldx #0
- bcc @Ok
- inx
- rts
-@Ok: txa
- rts
-
-
-
-
-
+ ldx #0 ; Clear high byte
+ bcs @NotOk
+ txa
+@NotOk: rts