summaryrefslogtreecommitdiff
path: root/libraries/euler/syscall.asm
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-01-27 23:14:29 -0500
committerBenji Dial <benji@benjidial.net>2024-01-27 23:14:29 -0500
commita8a80d326de9550b2a25b1255a2093ab43219ede (patch)
treed42a800f735caf93679d1728e2d5f20004db3b65 /libraries/euler/syscall.asm
parent7199e74aa22e592a3b77bdd81f735edca5470596 (diff)
downloadhilbert-os-a8a80d326de9550b2a25b1255a2093ab43219ede.tar.gz
keyboard input
Diffstat (limited to 'libraries/euler/syscall.asm')
-rw-r--r--libraries/euler/syscall.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/euler/syscall.asm b/libraries/euler/syscall.asm
index f7fe735..c76a641 100644
--- a/libraries/euler/syscall.asm
+++ b/libraries/euler/syscall.asm
@@ -80,3 +80,9 @@ _syscall_close_file:
mov rax, 7
syscall
ret
+
+global _syscall_read_key_packet
+_syscall_read_key_packet:
+ mov rax, 8
+ syscall
+ ret