Update 'src/time.asm'

This commit is contained in:
villadelfia 2023-10-18 01:06:22 +00:00
parent 77d831dc7a
commit 3b68b0ffa1
1 changed files with 3 additions and 0 deletions

View File

@ -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::