From: ol.sc Date: Fri, 4 Jun 2010 21:41:22 +0000 (+0000) Subject: DIO functions always set _oserror. X-Git-Tag: V2.13.3~717 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2273b7575c1dfc70ddc41f32c58d37ed537980ad;p=cc65 DIO functions always set _oserror. git-svn-id: svn://svn.cc65.org/cc65/trunk@4715 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/apple2/diosectsize.s b/libsrc/apple2/diosectsize.s index 40b8113b4..0acf4c7a0 100644 --- a/libsrc/apple2/diosectsize.s +++ b/libsrc/apple2/diosectsize.s @@ -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