Author: hbelusca
Date: Sat Nov 9 14:15:39 2013
New Revision: 60893
URL:
http://svn.reactos.org/svn/reactos?rev=60893&view=rev
Log:
[FAST486]: Fix OUT instruction (IoWrite instead of IoRead).
Modified:
branches/ntvdm/lib/fast486/opcodes.c
Modified: branches/ntvdm/lib/fast486/opcodes.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/opcodes.c?rev…
==============================================================================
--- branches/ntvdm/lib/fast486/opcodes.c [iso-8859-1] (original)
+++ branches/ntvdm/lib/fast486/opcodes.c [iso-8859-1] Sat Nov 9 14:15:39 2013
@@ -1041,7 +1041,7 @@
ULONG Data = State->GeneralRegs[FAST486_REG_EAX].Long;
/* Write a dword to the I/O port */
- State->IoReadCallback(State, Port, &Data, 1, sizeof(ULONG));
+ State->IoWriteCallback(State, Port, &Data, 1, sizeof(ULONG));
}
else
{