mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +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
|
.export _dio_query_sectsize
|
||||||
|
|
||||||
|
.include "errno.inc"
|
||||||
|
|
||||||
_dio_query_sectsize:
|
_dio_query_sectsize:
|
||||||
|
; Clear error
|
||||||
|
stx __oserror ; X = 0
|
||||||
|
|
||||||
|
; Return ProDOS 8 block size
|
||||||
lda #<512
|
lda #<512
|
||||||
ldx #>512
|
ldx #>512
|
||||||
rts
|
rts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user