[NTVDM]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 9 Nov 2013 17:16:04 +0000 (17:16 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 9 Nov 2013 17:16:04 +0000 (17:16 +0000)
commitf4f6809d67d9c7ebedb9d252ead3f8f5bb3a911e
treedf8181e265de3e9dd286703d9197b3e5288048df
parent53d6212640e4d87b97266b85fa72a7d32a81a704
[NTVDM]
Make the emulator callbacks non-static.
In BiosPrintCallback, use EmulatorWriteMemory instead of VgaWriteMemory, because
VgaWriteMemory does not do any input validation.
Improve EmulatorWriteMemory input validation and bound checking.

svn path=/branches/ntvdm/; revision=60903
subsystems/ntvdm/bios.c
subsystems/ntvdm/emulator.c
subsystems/ntvdm/emulator.h