- 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:
@@ -7,6 +7,7 @@
|
||||
|
||||
S_OBJS += ctype.o \
|
||||
get_ostype.o \
|
||||
getserialnumber.o \
|
||||
initdoneio.o \
|
||||
setdevice.o \
|
||||
tobasic.o
|
||||
|
||||
17
libsrc/geos-cbm/system/getserialnumber.s
Normal file
17
libsrc/geos-cbm/system/getserialnumber.s
Normal 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
|
||||
Reference in New Issue
Block a user