VOGONS


Reply 40 of 53, by jakethompson1

User metadata
Rank Oldbie
Rank
Oldbie
Sombrero wrote on 2021-09-24, 16:42:

I bet figuring this stuff out back in the 80's and 90's was easy and fun without internet 😁

Kind of. If you've set up a DOS 6.22 system (or look in the oldmsdos directory on a Windows 95 CD) the HELP program has higher quality documentation, for each DOS command as well as each entry in config.sys like the ones you've been talking about, than programs tend to come with today. (When you hit "F1" in a lot of Windows 10 programs it seems it just does a bing search on how to use it).

In addition, error messages, well, "erred" on the side of confusing a novice user and therefore had at least some connection to the problem. "Abort, Retry, Fail?" "Invalid page fault" "General protection fault" may not have been clear, but it's almost as if we've gone too far in the opposite direction with all the Something went wrong 🙁 stuff.

On the other hand, once you dig deeper than the typical A+ certified technician stuff, it's amazing how much more there was to know about this hardware and that's what Vogons is great for and is a perspective totally missing back then. With all the engineering knowledge and data, rather than "shop talk" about whether Intel this or AMD that is actually faster etc.

Reply 41 of 53, by Sombrero

User metadata
Rank Oldbie
Rank
Oldbie
TehGuy wrote on 2021-09-24, 22:00:

So, and I just found this out, you should just be able to use DEVICEHIGH over DEVICE in DOSINIT since it will load into conventional memory should there not be enough UMB or it just doesn't exist. It isn't going to change things functionally if that's true, but it will reduce a bit of clutter :p

Per http://info.wsisiz.edu.pl/~bse26236/batutil/h … lp/DEVICEHS.HTM

If upper memory is not available, the DEVICEHIGH command
functions just like the DEVICE command.

Reverted back, thanks!

At this rate I'll be a config.sys magician in no time 😁

Reply 42 of 53, by TehGuy

User metadata
Rank Member
Rank
Member
jakethompson1 wrote on 2021-09-25, 02:00:

In addition, error messages, well, "erred" on the side of confusing a novice user and therefore had at least some connection to the problem. "Abort, Retry, Fail?" "Invalid page fault" "General protection fault" may not have been clear, but it's almost as if we've gone too far in the opposite direction with all the Something went wrong 🙁 stuff.

In my experience working school districts, I'm pretty sure it only started going that way because the end-user doesnt care one bit nor wants to learn anything about their machine beyond how to do what they need to, which I suppose is fair... until they don't do that last bit, anyways =3=

I personally wish there was a way to make those dumbed-down errors spit out the more detailed stuff more easily

Win98+DOS: C3 Ezra-T 1.0AGHz / P3-S 1.26GHz, 128MB RAM, AWE64 + Orpheus + Audigy 2 ZS, Ti 4200, 128GB SD card
Win XP SP3: C2Q 9650, 4GB RAM, X-Fi Titanium, GTX 750
PowerMac G4 QS 800MHz + GeForce4 Ti4200, OS 9
PowerMac G5 DP 1.8Ghz + ATi x800 XT, Leopard

Reply 43 of 53, by TehGuy

User metadata
Rank Member
Rank
Member
Sombrero wrote on 2021-09-25, 05:25:
TehGuy wrote on 2021-09-24, 22:00:

So, and I just found this out, you should just be able to use DEVICEHIGH over DEVICE in DOSINIT since it will load into conventional memory should there not be enough UMB or it just doesn't exist. It isn't going to change things functionally if that's true, but it will reduce a bit of clutter :p

Per http://info.wsisiz.edu.pl/~bse26236/batutil/h … lp/DEVICEHS.HTM

If upper memory is not available, the DEVICEHIGH command
functions just like the DEVICE command.

Reverted back, thanks!

At this rate I'll be a config.sys magician in no time 😁

So (and also TIL), for DOS1, since you have expanded memory you can load MSCDEX in there using the /E option if you happen to need more UMB space (like I did when installing 4DOS as my shell and I wanted to toss every part I could into UMB). I've yet to test if this does anything whacky so YMMV

I do not know if it just doesn't do that if you don't have EMS or enough free space, like how DEVICEHIGH will just load normally if there's no high

Win98+DOS: C3 Ezra-T 1.0AGHz / P3-S 1.26GHz, 128MB RAM, AWE64 + Orpheus + Audigy 2 ZS, Ti 4200, 128GB SD card
Win XP SP3: C2Q 9650, 4GB RAM, X-Fi Titanium, GTX 750
PowerMac G4 QS 800MHz + GeForce4 Ti4200, OS 9
PowerMac G5 DP 1.8Ghz + ATi x800 XT, Leopard

Reply 44 of 53, by Gmlb256

User metadata
Rank l33t
Rank
l33t

You can do the following with AUTOEXEC.BAT if you plan adding MSCDEX with the /E parameter for DOS1. It will throw you an error message (but still load it) about the expanded memory manager not being present if you use that parameter for DOS2.

@ECHO OFF
PROMPT $p$g
PATH C:\;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\CTCM;C:\DOSPACK\ORPHINIT;C:\DOSPACK\THROTTLE

goto %config%

:WINDOWS
goto end

:DOS1
:DOS2
:DOS3
REM Add sound initialization here
IF "%config%"=="DOS3" goto NOHIMEM
IF "%config%"=="DOS1" LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001 /E
IF "%config%"=="DOS2" LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001
LH C:\DOSPACK\DRIVERS\ctmouse.exe /R2
goto end

:NOHIMEM
C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001
C:\DOSPACK\DRIVERS\ctmouse.exe /R2
goto end

:end

I left LH for DOS2 deliberately if you plan adding UMBPCI in the future.

VIA C3 Nehemiah 1.2A @ 1.46 GHz | ASUS P2-99 | 256 MB PC133 SDRAM | GeForce3 Ti 200 64 MB | Voodoo2 12 MB | SBLive! | AWE64 | SBPro2 | GUS

Reply 45 of 53, by Sombrero

User metadata
Rank Oldbie
Rank
Oldbie
Gmlb256 wrote on 2021-09-26, 02:37:
You can do the following with AUTOEXEC.BAT if you plan adding MSCDEX with the /E parameter for DOS1. It will throw you an error […]
Show full quote

You can do the following with AUTOEXEC.BAT if you plan adding MSCDEX with the /E parameter for DOS1. It will throw you an error message (but still load it) about the expanded memory manager not being present if you use that parameter for DOS2.

@ECHO OFF
PROMPT $p$g
PATH C:\;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\CTCM;C:\DOSPACK\ORPHINIT;C:\DOSPACK\THROTTLE

goto %config%

:WINDOWS
goto end

:DOS1
:DOS2
:DOS3
REM Add sound initialization here
IF "%config%"=="DOS3" goto NOHIMEM
IF "%config%"=="DOS1" LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001 /E
IF "%config%"=="DOS2" LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001
LH C:\DOSPACK\DRIVERS\ctmouse.exe /R2
goto end

:NOHIMEM
C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001
C:\DOSPACK\DRIVERS\ctmouse.exe /R2
goto end

:end

I left LH for DOS2 deliberately if you plan adding UMBPCI in the future.

If DEVICEHIGH functions like DEVICE without HIMEM in config.sys, does the same not apply to autoexec.bat since there's the LH stuff and :NOHIMEM separately?

Reply 46 of 53, by weedeewee

User metadata
Rank l33t
Rank
l33t

FYI, you can save some memory by moving TSRs from autoexec.bat to config.sys using INSTALL/INSTALLHIGH.

it's to do with the size of the environment variable memory (it's the one where the PATH=, BLASTER=, etc... are located),
the one that gets set with the /E:xxxx behind the SHELL= line, also SHELLHIGH.
The reverse could also be true if you lower the size of the environment memory then all TSRs loaded from autoexec.bat or command prompt would occupy a slightly bit less memory.
Reason being that every tsr gets a copy of the environment space attached to its memory footprint.

at least that's what I remember... I think 🤣
I can't recall what the default is, and am atm too lazy to look through all the possibilities on the internet.
Should be easy enough to test.

Right to repair is fundamental. You own it, you're allowed to fix it.
How To Ask Questions The Smart Way
Do not ask Why !
https://www.vogonswiki.com/index.php/Serial_port

Reply 47 of 53, by Gmlb256

User metadata
Rank l33t
Rank
l33t
Sombrero wrote on 2021-09-26, 06:50:

If DEVICEHIGH functions like DEVICE without HIMEM in config.sys, does the same not apply to autoexec.bat since there's the LH stuff and :NOHIMEM separately?

Yes, but when using 4DOS as the command line it threw me error messages about the lack of UMB while still loading it into the conventional memory.

Still thinking about my own configuration files when writing that AUTOEXEC.BAT for you. 😁 And to give you an example of how to use GOTO and the IF statements for multiple configurations as well.

VIA C3 Nehemiah 1.2A @ 1.46 GHz | ASUS P2-99 | 256 MB PC133 SDRAM | GeForce3 Ti 200 64 MB | Voodoo2 12 MB | SBLive! | AWE64 | SBPro2 | GUS

Reply 48 of 53, by Sombrero

User metadata
Rank Oldbie
Rank
Oldbie
Gmlb256 wrote on 2021-09-26, 13:17:
Sombrero wrote on 2021-09-26, 06:50:

If DEVICEHIGH functions like DEVICE without HIMEM in config.sys, does the same not apply to autoexec.bat since there's the LH stuff and :NOHIMEM separately?

Yes, but when using 4DOS as the command line it threw me error messages about the lack of UMB while still loading it into the conventional memory.

Still thinking about my own configuration files when writing that AUTOEXEC.BAT for you. 😁 And to give you an example of how to use GOTO and the IF statements for multiple configurations as well.

Hehe, that's ok, I'm learning a ton over here thanks to you guys.

I may have begun creating a config.sys what probably would seem like a monstosity to you (it has two submenus so far 😜), but hey, you learn by doing and turns out I like this stuff. I'll prune it down later once I figure out what I need and what I don't.

Reply 49 of 53, by dr_st

User metadata
Rank l33t
Rank
l33t
Joseph_Joestar wrote on 2021-09-22, 07:34:

I find multi-select CONFIG.SYS and AUTOEXEC.BAT startup menus messy and confusing. They are also annoying to edit when a change needs to be made or a new driver needs to be installed.

They are also generally not needed. There is almost never a need to have more than one configuration (unless you change hardware).

If you use non-standard real-mode drivers that Win9x does not recognize and therefore, they cause performance degradation or, worse, system instability - then you want a separate "Windows" configuration which does not load these drivers, and a "DOS" configuration that does. Those UDMA HDD drivers come to mind, if one uses them.

Sombrero wrote on 2021-09-26, 13:39:

I may have begun creating a config.sys what probably would seem like a monstosity to you (it has two submenus so far 😜), but hey, you learn by doing and turns out I like this stuff. I'll prune it down later once I figure out what I need and what I don't.

You're doing it wrong. As an exercise in what's possible, it makes sense. As a practical tool - it does not. Given that you really don't seem to load any special DOS drivers, you don't need a boot menu at all. All you need is:

DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE RAM D=64 MIN=0
BUFFERS=30
FILES=45
LASTDRIVE=E
STACKS=9,256
BREAK=ON
SHELL=C:\COMMAND.COM /E:512 /P
DEVICEHIGH=C:\DOSPACK\DRIVERS\videcdd.sys /D:MSCD001

You may want to play with various EMM386 flags to maximize upper memory. If you have multiple partitions, you may need to bump LASTDRIVE.

There is no reason to use DOS=NOAUTO. It's basically throwing away optimized defaults of win9x DOS and managing it yourself. Why? When DOS is AUTO-managed, it implies DOS=HIGH,UMB and it loads FILES, BUFFERS etc HIGH without you having to specify it manually.

Once your CONFIG.SYS is simplified, the AUTOEXEC is similarly pruned:

@ECHO OFF
LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001 /E
LH C:\DOSPACK\DRIVERS\ctmouse.exe /R2
LH C:\WINDOWS\COMMAND\DOSKEY.COM
SET PROMPT=$P$G
SET PATH=C:\;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\CTCM;C:\DOSPACK\ORPHINIT;C:\DOSPACK\THROTTLE
SET TEMP=C:\WINDOWS\TEMP

And whatever other programs you may want to load and environment variables you may want to SET.

https://cloakedthargoid.wordpress.com/ - Random content on hardware, software, games and toys

Reply 50 of 53, by Gmlb256

User metadata
Rank l33t
Rank
l33t
dr_st wrote on 2021-09-26, 16:11:

They are also generally not needed. There is almost never a need to have more than one configuration (unless you change hardware).

I disagree. There are some DOS programs that doesn't work with expanded memory manager and even one game called Zone 66 that refuses to run with HIMEM.SYS.

I prefer using multiple configurations with menu rather than using a boot disk or PIF with special CONFIG.SYS and AUTOEXEC.BAT.

VIA C3 Nehemiah 1.2A @ 1.46 GHz | ASUS P2-99 | 256 MB PC133 SDRAM | GeForce3 Ti 200 64 MB | Voodoo2 12 MB | SBLive! | AWE64 | SBPro2 | GUS

Reply 51 of 53, by dr_st

User metadata
Rank l33t
Rank
l33t
Gmlb256 wrote on 2021-09-26, 16:14:

I disagree. There are some DOS programs that doesn't work with expanded memory manager and even one game called Zone 66 that refuses to run with HIMEM.SYS.

I prefer using multiple configurations with menu rather than using a boot disk or PIF with special CONFIG.SYS and AUTOEXEC.BAT.

I was expecting this reply. 😀. Every time I bring this up, someone always jumps and mentions some obscure programs that don't work with this configuration (actually, usually they can't even name a single one, they just mention that they "exist"), and if they do mention something, it's typically something esoteric (like demos) or some old version of something that no one really needs to run at all, except in a "proof-of-concept" kind of way.

Notice that I said "generally". Of course I acknowledge that such things exist, and, heck, some of them might actually be games / programs that someone will want to run. However, For such stuff (like the Zone 66) - I would simply reboot and press F5. You have to reboot to load a different base configuration anyways.

99.9% of the time normal users would be using the same standard configuration that works. The reason people spend hours tweaking and fine-tuning their awesome boot menus with multiple levels of hierarchy is the same reason people build 25 different retro systems to "cover every era", where just 2 would suffice: some folks just like fiddling with their computers more than they like using them. 😉

https://cloakedthargoid.wordpress.com/ - Random content on hardware, software, games and toys

Reply 52 of 53, by Gmlb256

User metadata
Rank l33t
Rank
l33t
dr_st wrote on 2021-09-26, 16:49:

I was expecting this reply. 😀. Every time I bring this up, someone always jumps and mentions some obscure programs that don't work with this configuration (actually, usually they can't even name a single one, they just mention that they "exist"), and if they do mention something, it's typically something esoteric (like demos) or some old version of something that no one really needs to run at all, except in a "proof-of-concept" kind of way.

Notice that I said "generally". Of course I acknowledge that such things exist, and, heck, some of them might actually be games / programs that someone will want to run. However, For such stuff (like the Zone 66) - I would simply reboot and press F5. You have to reboot to load a different base configuration anyways.

99.9% of the time normal users would be using the same standard configuration that works. The reason people spend hours tweaking and fine-tuning their awesome boot menus with multiple levels of hierarchy is the same reason people build 25 different retro systems to "cover every era", where just 2 would suffice: some folks just like fiddling with their computers more than they like using them. 😉

I recognize that most users will be fine with a single configuration or no CONFIG.SYS and/or AUTOEXEC.BAT for Windows 9x, and the focus is mostly on popular titles such as DOOM. The OP just wants to treat the MS-DOS mode and Windows 98 as "separate" just like me (and I like tinkering 😁).

While I have two old computers around late 90's, I'm mostly focused on DOS and the other one doesn't get used much. Getting multiple old computers for DOS seems redundant (especially with the right slowdown utilities) for me unless you need an XT computer for very early games which won't work on later ones anyway. 😉

VIA C3 Nehemiah 1.2A @ 1.46 GHz | ASUS P2-99 | 256 MB PC133 SDRAM | GeForce3 Ti 200 64 MB | Voodoo2 12 MB | SBLive! | AWE64 | SBPro2 | GUS

Reply 53 of 53, by TehGuy

User metadata
Rank Member
Rank
Member
dr_st wrote on 2021-09-26, 16:49:

I was expecting this reply. 😀. Every time I bring this up, someone always jumps and mentions some obscure programs

If you want something maybe not obscure, IIRC it's either Ultima 4/5 or one of the Realms of Arkania games that'll also not launch if EMM386 is present, as well as one or two benchmarks in Phil's packs complaining. I feel like I have another one, but I've yet to get around to reinstalling/testing all of what I've got. Even then it just means having a config for conventional mem only and then one for the everything else, at least for me.

Win98+DOS: C3 Ezra-T 1.0AGHz / P3-S 1.26GHz, 128MB RAM, AWE64 + Orpheus + Audigy 2 ZS, Ti 4200, 128GB SD card
Win XP SP3: C2Q 9650, 4GB RAM, X-Fi Titanium, GTX 750
PowerMac G4 QS 800MHz + GeForce4 Ti4200, OS 9
PowerMac G5 DP 1.8Ghz + ATi x800 XT, Leopard