Somewhat fix int 0x21 handler

This commit is contained in:
Ry 2022-11-03 17:35:43 -07:00
parent 7debf61fb5
commit c1c05eb1d5
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ int21:
movzx bx, ah
shl bx, 1
add bx, fn
mov bx, word [bx]
push end21 ; the proper return address
; generated return address. should avoid any issues
; with things like prefetch or instruction caches