Somewhat fix int 0x21 handler
This commit is contained in:
parent
7debf61fb5
commit
c1c05eb1d5
|
@ -8,6 +8,7 @@ int21:
|
||||||
movzx bx, ah
|
movzx bx, ah
|
||||||
shl bx, 1
|
shl bx, 1
|
||||||
add bx, fn
|
add bx, fn
|
||||||
|
mov bx, word [bx]
|
||||||
push end21 ; the proper return address
|
push end21 ; the proper return address
|
||||||
; generated return address. should avoid any issues
|
; generated return address. should avoid any issues
|
||||||
; with things like prefetch or instruction caches
|
; with things like prefetch or instruction caches
|
||||||
|
|
Loading…
Reference in New Issue