Skip to content

Commit

Permalink
VIAKEY.ASM is now 286-compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
OBattler committed Jan 13, 2022
1 parent 2aba54c commit b0cb4cd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions viakey/VIAKEY.ASM
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
;

.model tiny
.386
.286
.code

start:
Expand Down Expand Up @@ -85,9 +85,9 @@ viakey_test:
mov al,0afh
out 64h,al
call wait_for_nibf
jnz gcv_stuck
jnz short gcv_stuck
call wait_for_obf
jz not_viakey
jz short not_viakey
in al,60h
mov si,offset ver
call convert_to_hex
Expand All @@ -105,7 +105,7 @@ disable_kbd:
mov al,0adh
out 64h,al
call wait_for_nibf
jz dkbd_ret
jz short dkbd_ret
mov byte [erl],1
dkbd_ret:
ret
Expand All @@ -114,7 +114,7 @@ enable_kbd:
mov al,0aeh
out 64h,al
call wait_for_nibf
jz ekbd_ret
jz short ekbd_ret
mov byte [erl],4
ekbd_ret:
ret
Expand Down

0 comments on commit b0cb4cd

Please sign in to comment.