mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
129d3bf872
- 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
18 lines
231 B
ArmAsm
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
|