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:
parent
30cd6871be
commit
2273b7575c
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue