1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00
cc65/libsrc/geos-common/file/readbyte.s

18 lines
267 B
ArmAsm

;
; Maciej 'YTM/Elysium' Witkowiak
;
; 25.12.1999, 2.1.2003
; char ReadByte (void);
.import ___oserror
.export _ReadByte
.include "jumptab.inc"
_ReadByte:
jsr ReadByte
stx ___oserror
ldx #0
rts