From c1c05eb1d511b44f2b3018766f4a75fa8e01d8f4 Mon Sep 17 00:00:00 2001 From: Ry Date: Thu, 3 Nov 2022 17:35:43 -0700 Subject: [PATCH] Somewhat fix int 0x21 handler --- src/int21/int21.s | 1 + 1 file changed, 1 insertion(+) diff --git a/src/int21/int21.s b/src/int21/int21.s index c5b9657..d6d8d29 100644 --- a/src/int21/int21.s +++ b/src/int21/int21.s @@ -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