reactos/freeldr
Brian Palmer c66e8c39d3 Added full disk partition management functions
Extended partitions are supported (untested)
If you call OpenDrive() with Partition == 0 you get the active (or bootable) partition
Partitions 1 - 4 are the primary partitions
Partitions 5 - n are the extended partitions
Also added disk parameter detection code (always assumes 512 byte sector size, I don't like that but I don't see any other way)

svn path=/trunk/; revision=2651
2002-02-26 00:26:35 +00:00
..
bootsect Removed code to save screen contents before entering freeldr 2002-01-23 19:57:42 +00:00
freeldr Added full disk partition management functions 2002-02-26 00:26:35 +00:00
install Simple Win32 boot sector installer. Will not work under Win9x. 2001-08-07 05:37:13 +00:00
build.bat Initial revision 2001-05-15 03:50:25 +00:00
COPYING Initial revision 2001-05-15 03:50:25 +00:00
FREELDR.INI Updated for booting from C: 2001-11-16 20:27:59 +00:00
install.bat Use ARC-Path to boot ReactOS 2001-06-08 17:46:52 +00:00
Makefile Added system hive support. 2001-11-27 12:42:47 +00:00
notes.txt BIOS Int 13h Extensions Support 2001-11-15 07:48:33 +00:00
ntvdmpat.c Fixed Makefile problem 2001-11-29 01:56:04 +00:00
ntvdmpat.exe Recommitting file as binary 2002-01-18 19:20:32 +00:00
readme Fixed Makefile problem 2001-11-29 01:56:04 +00:00

Perform at your own risk.

Directions for patching NTVDM on Windows 2000

1) Start a Command Prompt Window
2) Start Task Manager.  Sort by Name.  If NTVDM.EXE is a task End Process.
3) Execute NTVDMPAT.EXE from this ZIP file.

Notes:
 With no arguments the executable patches both the DLLCACHE (for system file
 protection) and the version in SYSTEM32.  The image is a Win32 executable
 (launching a DJGPP image will require NTVDM, locking the DLL so it can't
 be patched).  It saves the old version into NTVDM.ORI if you want to go
 back.  If you specify arguments on the command line it will patch the
 executables you specify instead of automating the process (if you want to
 do the archives/patches/moves yourself).  Good luck.

 Source included if you want to hack your own version.