[FAST486][NTVDM]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 1 Nov 2013 00:01:07 +0000 (00:01 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 1 Nov 2013 00:01:07 +0000 (00:01 +0000)
commit39a527a21e0949babc32c839bd6d7b6bb498bba8
tree70f98d353722f3ff1e9390e70c0894b66c27eb57
parentb7ac8cf58e7a9854ff7585d98ab7f5c9c161385e
[FAST486][NTVDM]
BOP numbers are 1 byte and map to a function (over 255). But one can pass additional "parameters" to those functions by adding extra bytes, however such functions must advance "by hand" the instruction pointer.

[NTVDM]
- Take into account our previous remark for the BIOS interrupt stubs, and comment them.
- Rework EmulatorBiosOperation (move almost all of its existing code into subfunctions in bop.c) so that one can call many other BOP functions in the future (WIP). The BOP number (still called) EMULATOR_INT_BOP (of value 0xFF) is used for internal 16 --> 32 bit switching for our 32bit bios.
- It appears that the IoRead/WriteCallback and IdleCallback must not be NULL for using fast486. I'm committing a temporary fix that I will definitely fix in a subsequent commit.

svn path=/branches/ntvdm/; revision=60812
include/reactos/libs/fast486/fast486.h
lib/fast486/opcodes.c
subsystems/ntvdm/CMakeLists.txt
subsystems/ntvdm/bios.c
subsystems/ntvdm/bios.h
subsystems/ntvdm/bop.c [new file with mode: 0644]
subsystems/ntvdm/bop.h [new file with mode: 0644]
subsystems/ntvdm/emulator.c
subsystems/ntvdm/emulator.h
subsystems/ntvdm/ntvdm.c