[Freedos-user] Loading device drivers from autoexec.bat

2011-10-13 Thread Michelle Dupuis
and if I can add  a question 4 to the list:

4.  Can I load device drivers from autoexec.bat?  (essentially moving my menus 
from config.sys to autoexec.bat)

Thanks

From: Michelle Dupuis [mdup...@ocg.ca]
Sent: Thursday, October 13, 2011 1:28 PM
To: freedos-user@lists.sourceforge.net
Subject: Re: [Freedos-user] Menu in config.sys not working

I just found my answer in the online doc :)  so now the tougher questions:

1. Can I have more than 9 options in a menu
2. How does freedos know that I have picked a valid option (how do I tell 
freedos which numbers in use)
3. Can I have 3 nested menus?  (My current MSDOS config.sys has 3 menus, one 
after the other)...

Thanks


From: Michelle Dupuis [mdup...@ocg.ca]
Sent: Thursday, October 13, 2011 1:16 PM
To: freedos-user@lists.sourceforge.net
Subject: [Freedos-user] Menu in config.sys not working

I'm switching my MSDOS usb key to FREEDOS now, and my fancy menu system (buit 
in config.sys) doesn't work under freedos (just scrolls right past during 
bootup).

Is the menu feature not available in the freedos version of config.sys?  Or 
does it work differently?

Thanks
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Loading device drivers from autoexec.bat

2011-10-13 Thread Mark Brown
yes, and also from the command line: just use devload from the distribution.
help devload for more info. (devload is on the full dist.)
locate devload finds it on the full install set up by the full dist. .


eufdp...@yahoo.com
eufdp...@yahoo.com
eufdp...@yahoo.com
eufdp...@yahoo.com
eufdp...@yahoo.com




From: Michelle Dupuis mdup...@ocg.ca
To: freedos-user@lists.sourceforge.net freedos-user@lists.sourceforge.net
Sent: Thursday, October 13, 2011 2:05 PM
Subject: [Freedos-user] Loading device drivers from autoexec.bat


and if I can add  a question 4 to the list:
 
4.  Can I load device drivers from autoexec.bat?  (essentially moving my menus 
from config.sys to autoexec.bat)
 
Thanks


From: Michelle Dupuis [mdup...@ocg.ca]
Sent: Thursday, October 13, 2011 1:28 PM
To: freedos-user@lists.sourceforge.net
Subject: Re: [Freedos-user] Menu in config.sys not working


I just found my answer in the online doc :)  so now the tougher questions:
 
1. Can I have more than 9 options in a menu
2. How does freedos know that I have picked a valid option (how do I tell 
freedos which numbers in use)
3. Can I have 3 nested menus?  (My current MSDOS config.sys has 3 menus, one 
after the other)...
 
Thanks



From: Michelle Dupuis [mdup...@ocg.ca]
Sent: Thursday, October 13, 2011 1:16 PM
To: freedos-user@lists.sourceforge.net
Subject: [Freedos-user] Menu in config.sys not working


I'm switching my MSDOS usb key to FREEDOS now, and my fancy menu system (buit 
in config.sys) doesn't work under freedos (just scrolls right past during 
bootup).
 
Is the menu feature not available in the freedos version of config.sys?  Or 
does it work differently?
 
Thanks
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Loading device drivers from autoexec.bat

2011-10-13 Thread Bernd Blaauw
Op 13-10-2011 20:05, Michelle Dupuis schreef:
 and if I can add a question 4 to the list:
 4. Can I load device drivers from autoexec.bat? (essentially moving my
 menus from config.sys to autoexec.bat)
 Thanks

Most drivers can be loaded from autoexec.bat and/or commandline 
(runtime). It's not recommended for memory drivers as you'll miss out on 
the benefits of DOS=HIGH , DOS=UMB and DOSDATA=UMB , especially for 
something like command.com itself which can consume a lot of low memory.

Most .sys drivers can be loaded using the DEVLOAD program (version 3.25 
recommended), other programs have a runtime commandline as well 
(JEMM386, JEMMEX).

@echo off
echo Loading CDROM driver:
DEVLOAD UIDE.SYS /D:MYCDROM /N1 /N3 /B
echo loading XMS driver (no HMA, sorry!) :
DEVLOAD XMGR.SYS
echo loading EMS driver (no UMBs, sorry!):
JEMM386 LOAD
echo Loading ramdisk in 2 steps:
DEVLOAD /DR TDSK.EXE 100
TDSK.EXE
echo Loading cd-rom extensions:
SHSUCDX /D:MYCDROM,X

 
 *From:* Michelle Dupuis [mdup...@ocg.ca]
 *Sent:* Thursday, October 13, 2011 1:28 PM
 *To:* freedos-user@lists.sourceforge.net
 *Subject:* Re: [Freedos-user] Menu in config.sys not working

 I just found my answer in the online doc :) so now the tougher questions:
 1. Can I have more than 9 options in a menu
 2. How does freedos know that I have picked a valid option (how do I
 tell freedos which numbers in use)
 3. Can I have 3 nested menus? (My current MSDOS config.sys has 3 menus,
 one after the other)...

1) No idea, 0..9 is 10 already, never needed more.
2) FreeDOS remembers the valid options if you have each number in use at 
least once with a question mark behind it:
   0?ECHO HELLO WORLD
   0123456789?DEVICE=JEMMEX.EXE I=B000-B7FF X=TEST I=TEST NOEMS

FreeDOS 1.0 unfortunately, when installed, had a clean boot menu choice 
listed but there was no other config.sys line using it, resulting in a 
choice that didn't work.

3) No nested stuff possible to my knowledge. CHOICE command could help 
you out a bit more.


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Loading device drivers from autoexec.bat

2011-10-13 Thread Rugxulo
Hi,

On Thu, Oct 13, 2011 at 1:22 PM, Bernd Blaauw bbla...@home.nl wrote:

 Most .sys drivers can be loaded using the DEVLOAD program (version 3.25
 recommended),

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/devload/

 1) No idea, 0..9 is 10 already, never needed more.

Depends on the kernel, IIRC, as I vaguely remember one of them (2037
??) not even allowing a 0 choice. But I don't know (and can't
imagine) about needing more than 9.

Admittedly, the menu syntax is incompatible from MS, and (IIRC) nobody
ever integrated the (working?) patch for DR compatibility (which MS
should've copied but didn't). Oh well.

 2) FreeDOS remembers the valid options if you have each number in use at
 least once with a question mark behind it:
   0?ECHO HELLO WORLD
   0123456789?DEVICE=JEMMEX.EXE I=B000-B7FF X=TEST I=TEST NOEMS

Or did she mean this (autoexec.bat):

if %CONFIG%==3 echo Third option!

 3) No nested stuff possible to my knowledge. CHOICE command could help
 you out a bit more.

For completeness, here's what FD Help says:

http://home.mnet-online.de/willybilly/fdhelp-internet/en/hhstndrd/cnfigsys/menu.htm

Also see CONFIG.TXT in kernel sources:

http://freedos.svn.sourceforge.net/viewvc/freedos/kernel/trunk/docs/config.txt?revision=1696view=markup

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user