- 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
S_OBJS += ctype.o \
get_ostype.o \
+ getserialnumber.o \
initdoneio.o \
setdevice.o \
tobasic.o
--- /dev/null
+;
+; 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
extzp.o \
firstinit.o \
getrandom.o \
- getserialnumber.o \
mainargs.o \
mainloop.o \
oserrlist.o \
+++ /dev/null
-;
-; 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