Update 'src/time.asm'
This commit is contained in:
parent
77d831dc7a
commit
3b68b0ffa1
|
@ -13,8 +13,11 @@ hEvenFrame:: ds 1
|
||||||
SECTION "Time Functions", ROM0
|
SECTION "Time Functions", ROM0
|
||||||
TimeInit::
|
TimeInit::
|
||||||
xor a, a
|
xor a, a
|
||||||
|
ldh [rTMA], a
|
||||||
ldh [hEvenFrame], a
|
ldh [hEvenFrame], a
|
||||||
ldh [hFrameCtr], a
|
ldh [hFrameCtr], a
|
||||||
|
ld a, TACF_262KHZ | TACF_START
|
||||||
|
ldh [rTAC], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
HandleTimers::
|
HandleTimers::
|
||||||
|
|
Loading…
Reference in New Issue