1
0
mirror of synced 2026-03-01 09:41:15 +00:00

Workaround for MS-DOS strange handling of interrupts.

This commit is contained in:
Matthieu Bucchianeri
2025-02-16 19:49:13 -08:00
parent 90fd560c72
commit d7f6374269
2 changed files with 110 additions and 111 deletions

View File

@@ -83,7 +83,6 @@ entry:
push ax
push cx
push dx
push si
cli
%endif
@@ -202,7 +201,6 @@ entry:
.skip:
sti
pop si
pop dx
pop cx
pop ax
@@ -389,6 +387,7 @@ int13h_entry:
.return_with_flags:
pop TEMP1
pop TEMP0
sti ; workaround - MS-DOS does not properly propagate IF
%ifdef EXTRA_DEBUG
call dump_regs
%endif