1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/libsrc/geos-common/file/readbyte.s

18 lines
265 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