mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
add "invalid parameter" error code -- contributed by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@5426 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
28f92b50a9
commit
0a6412b147
@ -90,4 +90,5 @@ __sys_oserrlist:
|
||||
sys_oserr_entry 176, "invalid disk format"
|
||||
sys_oserr_entry 180, "not a binary file"
|
||||
sys_oserr_entry 181, "invalid address range"
|
||||
sys_oserr_entry 182, "invalid parameter"
|
||||
sys_oserr_sentinel "unknown error"
|
||||
|
@ -58,7 +58,7 @@ maptable:
|
||||
.byte ENOMEM ;SCRMEM = 147 ;($93) insufficient memory for screen mode
|
||||
; codes below taken from "Mein Atari Computer" (german version of "Your Atari Computer")
|
||||
; also SpartaDOS codes from http://www.atari-central.com/programming/cio_errors.txt
|
||||
; MyDOS codes from Stefan Haubenthal
|
||||
; MyDOS and XDOS codes from Stefan Haubenthal
|
||||
.byte EUNKNOWN ; 148 - [SpartaDOS] unrecognized disk format
|
||||
.byte EUNKNOWN ; 149 - [SpartaDOS] disk created by incompatible version of SD
|
||||
.byte EBUSY ; 150 - serial port already open
|
||||
@ -97,7 +97,8 @@ maptable:
|
||||
.byte EUNKNOWN ; 179 - haven't found documentation
|
||||
.byte EUNKNOWN ; 180 - not a binary file
|
||||
.byte EUNKNOWN ; 181 - [MYDOS] invalid address range
|
||||
.byte EUNKNOWN ; 182 - [XDOS] invalid parameter
|
||||
|
||||
.byte EINVAL ; 182 - dummy (used by cc65 rtl, see sysremove.s)
|
||||
.byte EINVAL ; 183 - dummy (used by cc65 rtl, see sysremove.s)
|
||||
|
||||
MAX_OSERR_VAL = (* - maptable)
|
||||
|
@ -43,7 +43,7 @@ iocbok: stx tmp4 ; remember IOCB index
|
||||
jsr ucase_fn
|
||||
bcc ucok1
|
||||
|
||||
lda #182 ; see oserror.s
|
||||
lda #183 ; see oserror.s
|
||||
rts
|
||||
ucok1:
|
||||
|
||||
|
@ -49,7 +49,7 @@ iocbok: stx tmp4 ; remember IOCB index
|
||||
jsr ucase_fn
|
||||
bcc ucok1
|
||||
|
||||
lda #182 ; see oserror.s
|
||||
lda #183 ; see oserror.s
|
||||
rts
|
||||
ucok1:
|
||||
|
||||
|
@ -40,7 +40,7 @@ iocbok: stx tmp4 ; remember IOCB index
|
||||
jsr ucase_fn
|
||||
bcc ucok1
|
||||
|
||||
lda #182 ; see oserror.s
|
||||
lda #183 ; see oserror.s
|
||||
rts
|
||||
ucok1:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user