Enable interupts after running INT 25 and 26, fixes Eol-ui Moheom installer (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3822
This commit is contained in:
parent
15c1bb607f
commit
ffd5cf861e
1 changed files with 11 additions and 9 deletions
|
@ -1157,27 +1157,29 @@ static Bitu DOS_27Handler(void) {
|
|||
}
|
||||
|
||||
static Bitu DOS_25Handler(void) {
|
||||
if(Drives[reg_al]==0){
|
||||
reg_ax=0x8002;
|
||||
if (Drives[reg_al] == 0){
|
||||
reg_ax = 0x8002;
|
||||
SETFLAGBIT(CF,true);
|
||||
}else{
|
||||
} else {
|
||||
SETFLAGBIT(CF,false);
|
||||
if((reg_cx != 1) ||(reg_dx != 1))
|
||||
if ((reg_cx != 1) ||(reg_dx != 1))
|
||||
LOG(LOG_DOSMISC,LOG_NORMAL)("int 25 called but not as diskdetection drive %X",reg_al);
|
||||
|
||||
reg_ax=0;
|
||||
reg_ax = 0;
|
||||
}
|
||||
SETFLAGBIT(IF,true);
|
||||
return CBRET_NONE;
|
||||
}
|
||||
static Bitu DOS_26Handler(void) {
|
||||
LOG(LOG_DOSMISC,LOG_NORMAL)("int 26 called: hope for the best!");
|
||||
if(Drives[reg_al]==0){
|
||||
reg_ax=0x8002;
|
||||
if (Drives[reg_al] == 0){
|
||||
reg_ax = 0x8002;
|
||||
SETFLAGBIT(CF,true);
|
||||
}else{
|
||||
} else {
|
||||
SETFLAGBIT(CF,false);
|
||||
reg_ax=0;
|
||||
reg_ax = 0;
|
||||
}
|
||||
SETFLAGBIT(IF,true);
|
||||
return CBRET_NONE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue