1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/libsrc/cbm/c_chkin.s

18 lines
321 B
ArmAsm

;
; Marc 'BlackJack' Rintsch, 20.03.2001
;
; unsigned char __fastcall__ cbm_k_chkin (unsigned char FN);
;
.export _cbm_k_chkin
.import CHKIN
_cbm_k_chkin:
tax
jsr CHKIN
ldx #0 ; Clear high byte
bcs @NotOk
txa
@NotOk: rts