1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-11 20:29:36 +00:00
cc65/libsrc/apple2/diosectsize.s

19 lines
376 B
ArmAsm
Raw Normal View History

;
; Oliver Schmidt, 31.03.2005
;
; unsigned __fastcall__ dio_query_sectsize (dhandle_t handle);
;
.export _dio_query_sectsize
.include "errno.inc"
_dio_query_sectsize:
; Clear error
2022-08-28 20:37:33 +00:00
stx ___oserror ; X = 0
; Return ProDOS 8 block size
txa ; X = 0
ldx #>512
rts