2 * Emulation of processor ioports.
4 * Copyright 1995 Morten Welinder
5 * Copyright 1998 Andreas Mohr, Ove Kaaven
15 /**********************************************************************
18 BOOL WINAPI DOSVM_inport( int port, int size, DWORD *res )
23 *res = DOSVM_Int09ReadScan(NULL);
27 *res = (DWORD)VGA_ioport_in( port );
30 return FALSE; /* not handled */
32 return TRUE; /* handled */
36 /**********************************************************************
39 BOOL WINAPI DOSVM_outport( int port, int size, DWORD value )
44 DOSVM_PIC_ioport_out( port, (BYTE)value );
48 VGA_ioport_out( port, (BYTE)value );
51 return FALSE; /* not handled */
53 return TRUE; /* handled */