Use external symbols for the CBM kernal jump table functions. This allows
to emulate these functions on platforms where one or more of these functions are not available (PET, CBM-II). git-svn-id: svn://svn.cc65.org/cc65/trunk@1544 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
23
libsrc/pet/krdtim.s
Normal file
23
libsrc/pet/krdtim.s
Normal file
@@ -0,0 +1,23 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 19.11.2002
|
||||
;
|
||||
; RDTIM replacement function for the PETs
|
||||
;
|
||||
|
||||
.export RDTIM
|
||||
|
||||
.include "pet.inc"
|
||||
|
||||
|
||||
.proc RDTIM
|
||||
|
||||
sei
|
||||
lda TIME+2
|
||||
ldx TIME+1
|
||||
ldy TIME
|
||||
cli
|
||||
rts
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user