emailler/drivers/c64_cps.s
Christian Groessler afada39f9a Use CC65 runtime for Atari and C64 timer functions
This is just for the "C" interface of IP65. clk_timer.s replaces
atr_timer.s (on Atari) and is new for the C64 (there wasn't an
implementation for the "C" interface before).
2018-02-02 20:34:59 +01:00

14 lines
258 B
ArmAsm

; implementation of __clocks_per_sec for C64
; CC65's C64 runtime library doesn't provide this function
; this file provides a version in order that clk_timer.s works without 'ifdefs'
.export __clocks_per_sec
.code
__clocks_per_sec:
lda #60
rts
.end