Skip to content

Commit

Permalink
int2f: sync flags before calling prev handler
Browse files Browse the repository at this point in the history
Quite a long-standing bug.
  • Loading branch information
stsp committed Jul 18, 2024
1 parent 45ae2b3 commit 3ceb300
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kernel/int2f.asm
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ Int2f?14?1:
pop bp
iret
Int2f?prev:
push bp
mov bp, sp
push WORD [bp+6] ; sync flags
popf
pop bp
jmp far [cs:_prev_int2f_handler]

; DRIVER.SYS calls - now only 0803.
Expand Down

0 comments on commit 3ceb300

Please sign in to comment.