diff options
author | Javier <dev.git@javispedro.com> | 2024-07-07 18:54:43 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2024-07-07 18:54:43 +0200 |
commit | 347e5022e7f93abd1bddd361b843f7c63325904d (patch) | |
tree | 0e7f683129132b949abce8d5968df43423e9505c /int16kbd.h | |
parent | 6b85171610e7ba1e0c06dd70037f02788ad3cd35 (diff) | |
download | vbados-347e5022e7f93abd1bddd361b843f7c63325904d.tar.gz vbados-347e5022e7f93abd1bddd361b843f7c63325904d.zip |
refactor int16 store keystroke with separate scancode/character args
Diffstat (limited to 'int16kbd.h')
-rw-r--r-- | int16kbd.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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] |