mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
367cfa7085
- Boot sector code now reports to freeldr.sys the partition that it was installed on. This is specified by a byte value in the boot sector code. By default the boot partition is set to zero which indicates the active (bootable) partition, unless the installer sets the value to non-zero. If FreeLoader is installed on a partition other than the active (bootable) partition then the installer must set this byte to that partition number. Otherwise FreeLoader will not be able to find freeldr.ini. - i386trap.S: Added debug macros BREAKPOINT(), INSTRUCTION_BREAKPOINTX(), MEMORY_READWRITE_BREAKPOINTX(), & MEMORY_WRITE_BREAKPOINTX(). - partition.c (DiskGetPartitionEntry): Add the relative offset of the extended partition to the partitions start sector. - ext2.c (Ext2ReadBlockPointerList, Ext2CopyIndirectBlockPointers, Ext2CopyDoubleIndirectBlockPointers, Ext2CopyTripleIndirectBlockPointers): Rewrote the block pointer functions so they actually work. - ini_init.c (IniFileInitialize, IniOpenIniFile): Looks for freeldr.ini on both the active (bootable) partition and the partition passed in from the boot sector code. - meminit.c (MmInitializeMemoryManager, MmFixupSystemMemoryMap, MmGetEndAddressOfAnyMemory, MmGetAddressablePageCountIncludingHoles, MmInitPageLookupTable): Fixed bug that would cause FreeLoader to have an off-by-one error when accessing the last entry in the page lookup table on systems with 4GB of memory (or memory mapped at the end of the address space). svn path=/trunk/; revision=3372 |
||
---|---|---|
.. | ||
bootsect | ||
freeldr | ||
install | ||
tools | ||
COPYING | ||
FREELDR.INI | ||
notes.txt | ||
ntvdmpat.c | ||
ntvdmpat.exe | ||
readme |
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.