aboutsummaryrefslogtreecommitdiff
path: root/int16kbd.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2024-07-07 18:54:43 +0200
committerJavier <dev.git@javispedro.com>2024-07-07 18:54:43 +0200
commit347e5022e7f93abd1bddd361b843f7c63325904d (patch)
tree0e7f683129132b949abce8d5968df43423e9505c /int16kbd.h
parent6b85171610e7ba1e0c06dd70037f02788ad3cd35 (diff)
downloadvbados-347e5022e7f93abd1bddd361b843f7c63325904d.tar.gz
vbados-347e5022e7f93abd1bddd361b843f7c63325904d.zip
refactor int16 store keystroke with separate scancode/character args
Diffstat (limited to 'int16kbd.h')
-rw-r--r--int16kbd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/int16kbd.h b/int16kbd.h
index 45db8ef..3b2c860 100644
--- a/int16kbd.h
+++ b/int16kbd.h
@@ -1,11 +1,11 @@
#ifndef INT16KBD_H
#define INT16KBD_H
-static bool int16_store_keystroke(uint16_t scancode);
+static bool int16_store_keystroke(uint8_t scancode, uint8_t character);
#pragma aux int16_store_keystroke = \
"mov ah, 0x05" \
"int 0x16" \
- __parm [cx] \
+ __parm [ch] [cl] \
__value [al] \
__modify [ax]