Skip to Content.
Sympa Menu

baslinux - Re: [BL] help creating (DOS) timeout menu, CF

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Neo Sze Wee <neoszewee AT gmx.net>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] help creating (DOS) timeout menu, CF
  • Date: Sun, 15 Jun 2003 13:23:23 +0000

On Sat, Jun 14, 2003 at 11:08:26AM -0500, James Miller wrote:

> Now, for my inquiry. Having gotten DOS installed and made the CF disk
> bootable, I'd like to make myself a little menu that times out after, say,
> 5 seconds, after which it boots the router (router.bat). That will give
> me a few seconds to get to a DOS prompt, should I need to. I made myself
> a timeout menu like that for a DOS/Basiclinux machine that I have which
> has various Linux partitions I can boot to, but defaults to one after a
> certain amount of time. I could probably just cannibalize that menu for
> the new project. But one feature I'd like to have that I couldn't
> implement on that timeout menu was a countdown timer. In other words,
> what I'd like to do is have a message appear onscreen something like:
>
> The machine will boot to Freesco in 5 seconds X
>
> In the place of the "X", there should be first a 5, then after 1 second a
> 4, then after another second a 3 - I think you get the idea. When it
> gets to zero it should invoke router.bat . How is this countdown timer
> done? Thanks for any input on that. Hope the above info may be helpful
> to someone and save them the alnight vigil I just had trying to get CF
> booting.
>

Below are my settings you can adapt:

+---------------------------------------------------------------------
<$PWD:!># cat /hd/autoexec.bat /hd/config.sys
| goto %config%
| :dos
| C:\WORMDOS\SMARTDRV.EXE
| C:\WORMDOS\SETVER.EXE
| SET PATH=C:\WORMDOS;C:\BATCH
| VERIFY OFF
| PROMPT $P$G
| SET TEMP=C:\TEMP
| SET TMP=C:\TEMP
| rem LH C:\MISC\TODDY /NT16 /KRC:\MISC\TODDY.MAC
| lh c:\misc\doskey.com -i
| C:\MISC\CTMOUSE.COM
| cd\temp
| goto end
| :end
| [menu]
| MENUITEM=dos, Startup DOS
| MENUITEM=linux, Load Linux
| MENUDEFAULT=linux, 5
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| [dos]
| DEVICE=C:\WORMDOS\HIMEM.SYS
| DEVICE=C:\WORMDOS\EMM386.EXE NOEMS I=B000-B7FF
| DOS=HIGH,UMB
| LASTDRIVE=E
| FCBS=4,4
| FILES=20
| BUFFERS=15
| NUMLOCK=OFF
|
| [linux]
| shell=c:\linux\loadlin.exe c:\linux\image\k_200 vga=normal root=/dev/hda3 ro
+---------------------------------------------------------------------

> James
> _______________________________________________
> BasLinux mailing list
> BasLinux AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/baslinux





Archive powered by MHonArc 2.6.24.

Top of Page