1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
cc65/libsrc/apple2/diosectsize.s
ol.sc b9740f52e2 Saved one byte.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4747 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-17 19:07:57 +00:00

19 lines
332 B
ArmAsm

;
; Oliver Schmidt, 31.03.2005
;
; sectsize_t __fastcall__ dio_query_sectsize (dhandle_t handle);
;
.export _dio_query_sectsize
.include "errno.inc"
_dio_query_sectsize:
; Clear error
stx __oserror ; X = 0
; Return ProDOS 8 block size
txa ; X = 0
ldx #>512
rts