Skip to content

Commit

Permalink
INT 21h AH=07h does not check CTRL+C
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Jul 12, 2024
1 parent 7a298fd commit 55ccbee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dos/dos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ static Bitu DOS_21Handler(void) {
real_writew(SegValue(ss), reg_sp - 2, SegValue(es));
}

if (reg_ah == 0x06) {
if (reg_ah == 0x06 || reg_ah == 0x07) {
/* does not check CTRL+BREAK. Some DOS programs do not expect to be interrupted with INT 23h if they read */
/* keyboard input through this and may cause system instability if terminated. This fixes PC-98 text editor
* VZ.EXE which will leave it's INT 6h handler in memory if interrupted this way, for example. */
Expand Down

0 comments on commit 55ccbee

Please sign in to comment.