1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

DIO functions always set _oserror.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4715 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc 2010-06-04 21:41:22 +00:00
parent 30cd6871be
commit 2273b7575c

View File

@ -6,7 +6,13 @@
.export _dio_query_sectsize
.include "errno.inc"
_dio_query_sectsize:
; Clear error
stx __oserror ; X = 0
; Return ProDOS 8 block size
lda #<512
ldx #>512
rts