[FAST486][NTVDM]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 1 Nov 2013 01:46:58 +0000 (01:46 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 1 Nov 2013 01:46:58 +0000 (01:46 +0000)
commit861776bd7e4b1cba8d7255ce9bbc4a39fdb27a12
tree5b72547ba63c5fca5e75cb4cd80d6b1067aeb723
parent1c12c6fe0d85296b04bda4ccce8d6ebdacbdc981
[FAST486][NTVDM]
- Introduce a Fast486Initialize which is used to set up the CPU callbacks (and use default ones if some of the given callbacks are NULL), and to reset it the first time. Now Fast486Reset is meant to be used for only resetting the CPU to a safe state.
- Hence we are now sure that State->WhateverCallback is never NULL (and is theoretically valid), so don't do NULL-checks when calling them, but call them directly. The default cases for those checks become the default calls for the default callbacks.
- Remove the now-unneeded EmulatorIdle function.

svn path=/branches/ntvdm/; revision=60814
include/reactos/libs/fast486/fast486.h
lib/fast486/common.c
lib/fast486/common.inl
lib/fast486/fast486.c
lib/fast486/opcodes.c
subsystems/ntvdm/emulator.c
subsystems/ntvdm/emulator.h