delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1998/01/20/12:54:57

Message-Id: <199801201742.JAA17056@mail-gw.pacbell.net>
Comments: Authenticated sender is <nathanr AT postoffice DOT pacbell DOT net>
From: "Nathan Roberts" <nathanr AT pacbell DOT net>
To: opendos-support AT delorie DOT com
Date: Tue, 20 Jan 1998 09:42:13 +0000
MIME-Version: 1.0
Subject: Re: a few newbie questions
Reply-to: Nathan Roberts <nathanr AT pacbell DOT net>
In-reply-to: <34C250BD.F6B410E6@hempseed.com>

> 1> How do I make more dos memory available for programs. The best I have
> been able to do was 578k for largest executable, with M$-dos I could get
> 615k. MEM shows that I still have 64K UMB's and 32K HMA avalible. I have
> played with Memmax +V and can get more but I cant run Windows with the
> +V enabled. And speaking of Windows I keep getting "Not Enough Memory
> Available" error messages in certain apps that I never got before
> installing OD.

I'm not sure about this one; the only thing I can think of is that 
(a) MS DOS was loading some TSRs into upper memory that OpenDOS 
isn't (you can see what programs are loaded in upper memory by 
typing MEM /U), or (b) MS DOS was loading itself into high memory and 
OpenDOS isn't.

To correct (a), make sure you're using the EMM386.EXE memory manager 
(as opposed to HIMEM.SYS), and try using LH to load TSRs.  To correct 
(b), make sure that the command DOS=HIGH is in the CONFIG.SYS file

If it's not either of those, I'm not sure what it is.

> 2> When I installed OD I also installed the Personal Netware since I am
> planning to set up a network in the future. OD installed some stuff into
> Windows, so now when I start Windows I get an error about the network
> not being there. How do I remove the network drivers from Windows?

There's no real need to remove the network drivers; when you first 
load Windows it will give you a dialog box telling you something 
to the effect that it can't access the network.  There's a checkbox 
that says "Don't display network warnings".  Check it, and it'll 
never bother you again, but the network drivers will still be there 
when you're ready for them.

> 3> When I was running M$-dos I used a multiconfig. My son has his own
> copy of Windows on the D: drive, and I used the multiconfig to boot to
> either windows. can I do something similar in OD?

Yes you can.  I'd have to read DOSBOOK for the specifics, but here's 
how it works in a nutshell: You insert a SWITCH statement into 
CONFIG.SYS or AUTOEXEC.BAT, wherever you need to make a decision, 
which looks like this:

SWITCH somelabel, someotherlabel, yetanotherlabel

You can insert up to 9 labels into the switch statement.  When 
OpenDOS comes across this statement, it will wait for you to type a 
number.  Each number corresponds to a label.  I.E. In the above 
example, 1 would correspond to "somelabel", 2 to "someotherlabel", 
and 3 to "yetanotherlabel".  Once you type a number, OpenDOS will 
GOSUB to that label.  The label follows the same format as a GOTO 
label; that is, it looks like ":somelabel" or ":someotherlabel", etc.
Somewhere under that label should be a RETURN statement, which will 
return to the statement after the SWITCH statement.

Note that the SWITCH statement doesn't print any prompt; YOU have to 
ECHO which number corresponds to which option yourself.

You can also set a TIMEOUT value (by adding a "TIMEOUT #" statement 
before the SWITCH statement, where # is the time in seconds to wait). 
If nothing is selected in that time, it will default to the first 
selection.
---
Nathan Roberts
http://home.pacbell.net/nathanr

Before you criticize a man, walk a mile in his shoes.
That way, when you do criticize him,
you'll be a mile away and have his shoes.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019