1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-26 13:18:31 +00:00

add underscores to _poserror and _stroserror

This commit is contained in:
mrdudz
2022-08-29 21:06:48 +02:00
parent 89c08dc6d4
commit 3b03a96375
4 changed files with 12 additions and 8 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
;
; Ullrich von Bassewitz, 17.07.2002
;
; const char* __fastcall__ _stroserror (unsigned char errcode);
; const char* __fastcall__ __stroserror (unsigned char errcode);
; /* Map an operating system error number to an error message. */
;
.export __stroserror
.export ___stroserror
.import __sys_oserrlist
.importzp ptr1, tmp1
@@ -21,7 +21,7 @@
; and terminated by an entry with length zero that is returned if the
; error code could not be found.
__stroserror:
___stroserror:
sta tmp1 ; Save the error code
ldy #<__sys_oserrlist