import RDTIM symbol instead of hard-wiring it here

This commit is contained in:
ZeroByteOrg
2022-08-08 15:21:30 -05:00
parent 9b3b652fa5
commit 582e43931d

View File

@@ -11,9 +11,9 @@
.export _waitvsync
.importzp tmp1
.import RDTIM
.proc _waitvsync: near
RDTIM = $FFDE ; Kernal API for reading the jiffy timer
jsr RDTIM
sta tmp1
keep_waiting: