File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -9902,6 +9902,13 @@ inline void pcbios_int_10h_efh()
99029902 CPU_DX = 0xffff;
99039903}
99049904
9905+ inline void pcbios_int_10h_fah()
9906+ {
9907+ // just return something, used for mouse driver detection
9908+ CPU_LOAD_SREG(CPU_ES_INDEX, 0xffff);
9909+ CPU_BX = 0x0005;
9910+ }
9911+
99059912inline void pcbios_int_10h_feh()
99069913{
99079914 if(mem[0x449] == 0x03 || mem[0x449] == 0x70 || mem[0x449] == 0x71 || mem[0x449] == 0x73) {
@@ -19852,7 +19859,7 @@ void msdos_syscall(unsigned num)
1985219859 case 0x92: break;
1985319860 case 0x93: break;
1985419861 case 0xef: pcbios_int_10h_efh(); break;
19855- case 0xfa: break; // ega register interface library is not installed
19862+ case 0xfa: pcbios_int_10h_fah(); break;
1985619863 case 0xfe: pcbios_int_10h_feh(); break;
1985719864 case 0xff: pcbios_int_10h_ffh(); break;
1985819865 default:
You can’t perform that action at this time.
0 commit comments