- The address given for GetSerialNumber in the "Hitchhiker's Guide To GEOS" is obviously wrong: $4b38.

- According to the "Hitchhiker's Guide To GEOS" GetSerialNumber returns a string on Apple GEOS (in contrast to a number on CBM GEOS).
Given both facts and that the API is presumably not important at all it seems reasonable to just go without it on Apple GEOS.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5503 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2012-02-08 19:48:31 +00:00
parent 7a076cf145
commit 129d3bf872
3 changed files with 1 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
S_OBJS += ctype.o \
get_ostype.o \
getserialnumber.o \
initdoneio.o \
setdevice.o \
tobasic.o

View File

@@ -0,0 +1,17 @@
;
; Maciej 'YTM/Alliance' Witkowiak
;
; 30.10.99
; int GetSerialNumber (void);
.export _GetSerialNumber
.include "jumptab.inc"
.include "geossym.inc"
_GetSerialNumber:
jsr GetSerialNumber
lda r0L
ldx r0H
rts