about summary refs log tree commit diff stats
path: root/400.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-03-23 21:14:12 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-03-23 21:14:49 -0700
commit49a99383330f1d0d5dfb2887ad7e9fd782680c3d (patch)
tree15db99aec81f53f5544f436e49b20584f656ba21 /400.mu
parente0f6dd524034c8b9ebe4675e12ca794ad5c1096d (diff)
downloadmu-49a99383330f1d0d5dfb2887ad7e9fd782680c3d.tar.gz
mouse support that requires polling
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 2a0be7cf..2cf3c126 100644
--- a/400.mu
+++ b/400.mu
@@ -12,6 +12,9 @@ sig read-key kbd: (addr keyboard) -> _/eax: byte
 sig load-first-sector-from-primary-bus-secondary-drive out: (addr stream byte)
 sig store-first-sector-to-primary-bus-secondary-drive out: (addr stream byte)
 
+# mouse
+sig read-mouse-event -> _/eax: int, _/ecx: int
+
 # tests
 sig count-test-failure
 sig num-test-failures -> _/eax: int