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:
parent
30cd6871be
commit
2273b7575c
@ -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…
Reference in New Issue
Block a user