Handle properly the requested video mode in Int10h SET VIDEO MODE
function by managing the bit 7 of AL.
This commit is contained in:
parent
e02fd411f1
commit
2fd4a55d07
|
@ -306,6 +306,16 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
|
|||
0x07 - 80x25
|
||||
*/
|
||||
|
||||
/* Bit 7 of AH = 0 -> Clean the video memory
|
||||
1 -> Don't clean it
|
||||
*/
|
||||
if (!(AL_reg(context)&0x80)) {
|
||||
/* FIXME: Do something which cleans the video memory */
|
||||
}
|
||||
|
||||
/* FIXME: Should we keep the bit 7 in the Bios Data memory? */
|
||||
AL_reg(context) &= ~0x80;
|
||||
|
||||
switch (AL_reg(context)) {
|
||||
case 0x00: /* 40x25 */
|
||||
case 0x01:
|
||||
|
|
Loading…
Reference in New Issue