conio and most other stuff working now
This commit is contained in:
17
libsrc/gamate/ticktock.s
Normal file
17
libsrc/gamate/ticktock.s
Normal file
@@ -0,0 +1,17 @@
|
||||
.interruptor ticktock, 24
|
||||
|
||||
.include "gamate.inc"
|
||||
.include "extzp.inc"
|
||||
|
||||
ticktock:
|
||||
|
||||
; Increment the system tick counter.
|
||||
inc tickcount
|
||||
bne @s1
|
||||
inc tickcount+1
|
||||
bne @s1
|
||||
inc tickcount+2
|
||||
bne @s1
|
||||
inc tickcount+3
|
||||
@s1:
|
||||
rts
|
||||
Reference in New Issue
Block a user