1
0
mirror of synced 2026-04-20 01:33:52 +00:00

Fixing missing STI at the top of the handler.

This commit is contained in:
Matthieu Bucchianeri
2025-02-14 23:01:20 -08:00
parent 163e16bb59
commit 730b632510
4 changed files with 127 additions and 118 deletions

View File

@@ -8,6 +8,7 @@
xor ax, ax
lahf
sti
mov ax, 0x1122
mov bx, 0x3344
mov cx, 0x5566
@@ -16,7 +17,7 @@
mov di, 0xbbcc
mov bp, 0xddee
mov dl, 0x81
mov dl, 0x80
mov ah, 0x08
;mov bx, buf_write
@@ -27,7 +28,7 @@
call do_int13h
mov dl, 0x81
mov dl, 0x80
mov ah, 0x02
mov bx, ds
@@ -114,6 +115,8 @@ do_int13h:
; dump registers
%ifdef DUMP_REGS
popf
pushf
call dump_regs
pop ax
call print_hex