mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-08-23 22:28:55 +00:00
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).
14 lines
258 B
ArmAsm
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
|