Commit 2fd4a55d authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Handle properly the requested video mode in Int10h SET VIDEO MODE

function by managing the bit 7 of AL.
parent e02fd411
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment