about summary refs log tree commit diff stats
path: root/400.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-29 22:45:33 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-29 22:46:26 -0700
commitc76679dbff6b3f350fbf0696a0d986514ba11676 (patch)
tree0f872e62d310c24d0ec3728b3b5ce4b1b53766df /400.mu
parent1083f2a400d926d57bc9dc6ab412f54295719bfc (diff)
downloadmu-c76679dbff6b3f350fbf0696a0d986514ba11676.tar.gz
more general timer interface
Diffstat (limited to '400.mu')
-rw-r--r--400.mu3
1 files changed, 3 insertions, 0 deletions
diff --git a/400.mu b/400.mu
index 05a5463f..ab1c6dc0 100644
--- a/400.mu
+++ b/400.mu
@@ -7,6 +7,9 @@ sig set-cursor-position-on-real-screen x: int, y: int
 sig draw-cursor-on-real-screen g: grapheme
 sig color-rgb color: int -> _/ecx: int, _/edx: int, _/ebx: int
 
+# timer
+sig timer-counter -> _/eax: int
+
 # keyboard
 sig read-key kbd: (addr keyboard) -> _/eax: byte