Is the overall article connected to this:
http://www.boot-land...?...ic=2343&hl=
if yes, it would be VERY interesting if you could publish a translation of it.
jaclaz
Almost every guide ive seen talks about manually starting a renamed vmm32.exe, wich loads the krnl386.exe automatically.
I believe vmm32 doesnt load the registry, so this procedure is the most basic one, which has advantages and disadvantages. This one loads the registry too, while avoiding soft-off problems = preferred method.
The WinFAQ guide take a more Windows-like approah, here the filelist with descriptions:
- \dos.com
renamed win.com - \system.ini
should contain only " [386Enh]" at this point - \SYSTEM\vmm32.vxd
- \SYSTEM\krnl386.exe
renamed command.com - \SYSTEM\VMM32\ios.vxd
- \SYSTEM\VMM32\ifsmgr.vxd
- \SYSTEM\IOSUBSYS\bigmem.drv
- \SYSTEM\IOSUBSYS\rmm.pdr
Problem: Registrywin.com (dos.com) will search for a registry, if none is found there will be error messages. The WinDos can live with an ampty registry, import a file with only
REGEDIT4
with "regedit /l:system.dat /r:user.dat /c <this file above>".
As always, make sure your normal %WinDir%is not in PATH, and use a modified MSDOS.SYS. Alternatively, use SETREG.
Problem: ATX shutdownOnce you exit WinDos, win.com triggers the soft-off command.
The author modified his win.com, i will lay out the steps here, assembler knowledge required:
Find the
first call to function "APM 1.0+ Installation-Check" (ax = 5300h, int 15h) and modify, unsing a hex editor, the command "int 15h" (CD 15) to "cmp al, 15h" (3C 15). Now windows wont detect APM and display LOGOW.SYS and/or return to real DOS.
He includes the offset for the german Win98se, wich
seems to be not only the same for english, but for Win98fe as well, its
0x1267 CD 15 => 3C 15
Havent tested myself, yet
Feature: SwapfileIts possible to have a swapfile with the following system.ini
[386Enh]
ConservativeSwpafileUsage=1
PagingFile=(dir; adjust to your setup)
MinPagingFileSize=(kb; adjust to your setup)
MaxPagingFileSize=(kb; adjust to your setup)
[vcache]
MinFileCache=(kb; adjust to your setup)
MaxFileCache=(kb; adjust to your setup)
Feature: All files in same dirTo do this, you either need to use a hex editor, or know that edit.com can insert a NUL character with Ctrl+2 (not on numpad).
- dos.com (win.com)
"system\vmm32.vxd" => "vmm32.vxd<NUL>32.vxd" - ios.vxd
"IOSUBSYS\*.vxd" => "IOSUB\..\*.vxd" (note by me: smart! though i would prefer "*.vxd<nul>") - vmm32.vxd
"VMM32\*.VXD" => "VM\..\*.VXD"
Feature: CD-Rom (and other) driversYou need to copy these drivers:
C:\WINDOWS\SYSTEM\BIOS.VXD
C:\WINDOWS\SYSTEM\PCI.VXD
C:\WINDOWS\SYSTEM\IOSUBSYS\CDFS.VXD
C:\WINDOWS\SYSTEM\IOSUBSYS\CDTSD.VXD
C:\WINDOWS\SYSTEM\IOSUBSYS\CDVSD.VXD
C:\WINDOWS\SYSTEM\IOSUBSYS\ESDI_506.PDR
C:\WINDOWS\SYSTEM\IOSUBSYS\VOLTRACK.VXD
And export/import these registry keys:
HKEY_LOCAL_MACHINE\ENUM\BIOS
HKEY_LOCAL_MACHINE\ENUM\MF
HKEY_LOCAL_MACHINE\ENUM\PCI
HKEY_LOCAL_MACHINE\ENUM\Root
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VCDFSD
He says some "irrelevant subkeys" need to be removed, they would produce error messages.
So, thats all there is in it (well i excluded some trivial batch examples).
If you ask me, i would either prefer the vmm32.exe method, or a real GUI with modified system.ini shell=
At least the shutdown fix is very useful, ive been using the version by
MDGx to return to DOS on "restart in MS-DOS mode", and if it works this one is way better. Edit: Tested, but it doesnt work for me (in normal Windows)
I have no idea how this could be useful in any way. Please tell me what you think!
Flo