[NTVDM]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 4 Oct 2014 13:36:17 +0000 (13:36 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 4 Oct 2014 13:36:17 +0000 (13:36 +0000)
commit8d73d7c58ac03bcfb86000f27ea69512bd7ec229
tree3121f62ed56ee620fe876e05c622d6af3c0db8f5
parent38258d656eac1cbde8df1661d2a72eb13c88ef6e
[NTVDM]
- Move almost all the DOS command launch thread into dem.c,
- Rework the code so that now, when we want to either load our BIOS32 or a custom one, we start their execution at F000:FFF0 as it should be,
- For modularity purposes (ie. to be able one day to load real OSes in our ntvdm), implement INT 19h (bootstrap loader) so that it calls a (temporary) dos bootsector loader that writes some bootstrap code at 0000:7c00, then the INT 19h runs this code, that has as an effect to load our DOS32 (for a real OS, the MBR code goes to 0000:7c00 and is then run).

svn path=/trunk/; revision=64521
reactos/subsystems/ntvdm/bios/bios.c
reactos/subsystems/ntvdm/bios/bios.h
reactos/subsystems/ntvdm/bios/bios32/bios32.c
reactos/subsystems/ntvdm/dos/dem.c
reactos/subsystems/ntvdm/dos/dem.h
reactos/subsystems/ntvdm/ntvdm.c
reactos/subsystems/ntvdm/ntvdm.h