1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-09 01:28:58 +00:00
cc65/libsrc/geos-cbm/system/getserialnumber.s
ol.sc 129d3bf872 - 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
2012-02-08 19:48:31 +00:00

18 lines
231 B
ArmAsm

;
; 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