captain comic
Quoted 6 lines · Bart Oldeman
EGA can be a little problematic because DOSEMU even needs to use CPU emulation to use the planar EGA modes.
There's a compile-time constant #define COUNT 150 in
src/env/video/instremu.cyou could set that to some lower value (10 or maybe even 1). It may or may not help.
It did not ..
I went at it with the INTRSPY program from Schulman's Undocumented DOS, to see what comic.exe tries to achieve. The only difference I found was when comic.exe calls int 10 function 12h, which happens once:
(on X)
12h: video subsys conf, AX=1200 BX=0010 12h: result: AX=1200 BX=0003
(on console)
12h: video subsys conf, AX=1200 BX=0010 12h: result: AX=1203 BX=0003
If I understand you correctly the "console" result comes from the real video card, while the "X" result comes from dosemu's VGA emulator. But the return value of AX should not make any difference, or should it? Can you suggest any other diagnostics?
Regards, Jan
Quoted 9 lines · Jan Willem Stumpel
I went at it with the INTRSPY program from Schulman's Undocumented DOS, to see what comic.exe tries to achieve. The only difference I found was when comic.exe calls int 10 function 12h, which happens once:
(on X)
12h: video subsys conf, AX=1200 BX=0010 12h: result: AX=1200 BX=0003
Quoted 7 lines
(on console)
12h: video subsys conf, AX=1200 BX=0010 12h: result: AX=1203 BX=0003If I understand you correctly the "console" result comes from the real video card, while the "X" result comes from dosemu's VGA emulator.
on the console it's the real video card combined with the real BIOS. in X you get DOSEMU's BIOS combined with DOSEMU's VGA emulator.
Quoted 2 lines
But the return value of AX should not make any
difference, or should it?
well Ralf Brown's interrupt list tells me nothing about AL being used as a return value so I really don't know what to return in AL... This video card's BIOS *seems* to use the same value as BL but that might just be a coincidence.
Quoted 1 line
Can you suggest any other diagnostics?
it can be quite hard to fix these bugs...
Bart