mirror of
https://github.com/cc65/cc65.git
synced 2024-06-15 02:29:32 +00:00
import RDTIM symbol instead of hard-wiring it here
This commit is contained in:
parent
9b3b652fa5
commit
582e43931d
|
@ -11,9 +11,9 @@
|
||||||
|
|
||||||
.export _waitvsync
|
.export _waitvsync
|
||||||
.importzp tmp1
|
.importzp tmp1
|
||||||
|
.import RDTIM
|
||||||
|
|
||||||
.proc _waitvsync: near
|
.proc _waitvsync: near
|
||||||
RDTIM = $FFDE ; Kernal API for reading the jiffy timer
|
|
||||||
jsr RDTIM
|
jsr RDTIM
|
||||||
sta tmp1
|
sta tmp1
|
||||||
keep_waiting:
|
keep_waiting:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user