Commit 216e0248 authored by Jukka Heinonen's avatar Jukka Heinonen Committed by Alexandre Julliard

VGA emulation now supports outw and outl.

parent b975aaaa
...@@ -169,9 +169,14 @@ BOOL WINAPI DOSVM_outport( int port, int size, DWORD value ) ...@@ -169,9 +169,14 @@ BOOL WINAPI DOSVM_outport( int port, int size, DWORD value )
case 0x3dd: case 0x3dd:
case 0x3de: case 0x3de:
case 0x3df: case 0x3df:
if(size > 1) VGA_ioport_out( port, LOBYTE(value) );
FIXME("Trying to write more than one byte to VGA!\n"); if(size > 1) {
VGA_ioport_out( port, (BYTE)value ); 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; break;
case 0x00: case 0x00:
case 0x01: 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