Skip to content
Snippets Groups Projects
Commit 216e0248 authored by Jukka Heinonen's avatar Jukka Heinonen Committed by Alexandre Julliard
Browse files

VGA emulation now supports outw and outl.

parent b975aaaa
No related branches found
No related tags found
No related merge requests found
......@@ -169,9 +169,14 @@ BOOL WINAPI DOSVM_outport( int port, int size, DWORD value )
case 0x3dd:
case 0x3de:
case 0x3df:
if(size > 1)
FIXME("Trying to write more than one byte to VGA!\n");
VGA_ioport_out( port, (BYTE)value );
VGA_ioport_out( port, LOBYTE(value) );
if(size > 1) {
VGA_ioport_out( port+1, HIBYTE(value) );
if(size > 2) {
VGA_ioport_out( port+2, LOBYTE(HIWORD(value)) );
VGA_ioport_out( port+3, HIBYTE(HIWORD(value)) );
}
}
break;
case 0x00:
case 0x01:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment