VOGONS


First post, by Warlord

User metadata
Rank l33t
Rank
l33t

This is some old BAT file, that some German magazine might of Been c't magazine. Made up back in the day. I would not try this on a live system, It might hose your entire computer. I not responsible for damages.

@echo off
rem This file builds a 32Bit MS-DOS. This means DOS runs in protected mode, and long file names are available. Ideal for
rem Backup.
rem Booting this system up requires a few things:
rem .
rem 1) System Registry scanned. Location indicated by IO.SYS
rem 2) VFAT/LFN driver loaded in config.sys : DEVICE=IFSHLP.SYS
rem 3) XMS driver loaded. So far supported: FDXMS.SYS / HIMEM.SYS / XMSMMGR.EXE
rem .
rem Original version (everything below "goto 2nd" and ":2nd" ) © PC-WELT Germany.
goto 2nd
if exist c:\32BD\nul deltree /y c:\32BD
c:
md c:\32BD
cd c:\32BD
copy %winbootdir%\win.com
copy %winbootdir%\system.ini
md c:\32BD\system
cd c:\32BD\system
copy %winbootdir%\system\vmm32.vxd
copy %comspec% krnl386.exe
xcopy %winbootdir%\system\vmm32\*.* vmm32\
xcopy %winbootdir%\system\iosubsys\*.* iosubsys\
cd c:\32BD
goto end

:2nd
rem @echo off
if exist c:\32bd\nul deltree/y c:\32bd
c:
cd \
for %%x in ( c:\32bd c:\32bd\system ) do md %%x
cd 32bd
copy %winbootdir%\win.com
copy %winbootdir%\system.ini
cd system
copy %comspec% krnl386.exe
xcopy %winbootdir%\system\vmm32\*.* vmm32\
xcopy %winbootdir%\system\iosubsys\*.* iosubsys\
set filelist=vmm32 vnetsup ndis2sup vnetsetup ndis ndis2 vnetbios vredir dfs javasup aspienum wrdrv msmouse
for %%x in ( %filelist% ) do if exist %winbootdir%\system\%%x.vxd copy %winbootdir%\system\%%x.vxd
set filelist=
cd \32bd
goto end
:end

Reply 1 of 2, by bakemono

User metadata
Rank Oldbie
Rank
Oldbie

Interesting. The unstated part of this is that after copying a few Windows files (win9x? win95 only?) to the 32bd directory, you then can go in there and run "WIN" but because krnl386 has been replaced by command.com it dumps you at a V86 mode command prompt without fully booting.

Tried it on my 486 with Win95a. After it loads I need to use PROMPT $p$g and set my PATH again. Windows disk caching seems to be active. Can't run any win32 stuff but most DOS stuff works normally (DOS4GW complains). Typing EXIT brings you back to plain DOS.

again another retro game on itch: https://90soft90.itch.io/shmup-salad

Reply 2 of 2, by Warlord

User metadata
Rank l33t
Rank
l33t

while this page is not where I learned about it, I forgot that it was from pcwelt magazine. theres a lot more info about it here. Should also be able to replace the command prompt with 4dos or command.com http://reboot.pro/topic/2343-dos-32-bit-with- … rough-vmm32vxd/