Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

FreeDOS customization


  • Please log in to reply
4 replies to this topic

#1 Barnack

Barnack

  •  Avatar image
  • Members
  • 92 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Italy
  • Local time:06:03 AM

Posted 27 August 2014 - 05:13 AM

Finally, my computer works well, so i can return to my old works!

I started yesterday with my customized dos. It has a nice starting screen, made using only CLS, wait and echo in the Autoexec.bat.

I also set the path for the commands i added, that are inside the folder CMDS.

Now there are 3 things i'm not able to do, i hope u can help. (i moved the third into another thread)

1st: i wanted to make a starting menu, putting "call" in autoexec.bat, referred to the file "mymenu.bat".

Btw, i wanted to use some multiple choice screens, but apparently, they works correctly with Window's CMD, but FreeDOS doesn't recognise the "choice" command...

I post here the script used:

@ECHO OFF
:MENU
CLS
echo  /******************\
echo !! Choose an action !!_________
echo  \******************/          I
echo  I                             I
echo  I 1. Open command prompt      I
echo  I 2. Games                    I
echo  I 3. View basic strings list  I
echo  I_____________________________I
choice /c 123
if errorlevel 3 goto Selection2
if errorlevel 2 goto Selextion1
if errorlevel 1 goto Quit

:Selection1
CLS
echo  /******************\
echo !!   Choose a game  !!_________
echo  \******************/          I
echo  I                             I
echo  I 1. PacPC                    I
echo  I 2. MSPac                    I
echo  I 3. Tom and Jerry            I
echo  I                             I
echo  I 4. return to previous menu  I
echo  I_____________________________I
choice /c 1234
if errorlevel 4 goto MENU
if errorlevel 3 goto SelectionG3
if errorlevel 2 goto SelectionG2
if errorlevel 1 goto SelectionG1

:Selection2
C:\CMDS\edit C:\MyInfo.txt
goto main
:Quit
CLS
echo Command prompt ready for use...
pause
:SelectionG1
C:\games\pac_pc2\pacpc2
goto Selection1
:SelectionG2
C:\games\pac_pc\mspac
goto Selection1
:SelectionG3
C:\games\tomjerry\tomjerry
goto Selection1

What should i use instead of "choice"?

 

2nd: the audio drivers. I looked for some guides, but i still don't understand how to install audio drivers in my FreeDOS, in order to make work, for example, DOSAMP

I shoulk randomly look for the drivers in my motherboard's cd rom? And how to install them?

 

-------------------------------EDIT-------------------------------------

i discovered "choice" is not in FreeDOS, as well as color.

If there's any way to integrate theese MSDOS commands in FreeDOS the problem of the multiple choice menu is solved. Or i have to find an original copy of MS-DOS 6.22? It's very very hard to find...


Edited by Barnack, 27 August 2014 - 01:19 PM.


BC AdBot (Login to Remove)

 


#2 Barnack

Barnack
  • Topic Starter

  •  Avatar image
  • Members
  • 92 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Italy
  • Local time:06:03 AM

Posted 28 August 2014 - 04:36 AM

I found where to download the "choice" command, i hope it works. Remains onpened the question about audio drivers.

The last time i ran DOSAMP it told "not audio devices found". That's quite strange, consired i've both standard speakers and the "bip" speaker (the one for very essential sounds, that beeps if you keep pressed many keyboard buttons together - i used to do that when i was younger lol - )



#3 technonymous

technonymous

  •  Avatar image
  • Members
  • 2,604 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:03 PM

Posted 10 September 2014 - 01:00 AM

I just use dosbox.


My Windows 11 system is secure, because I can't install it.


#4 Barnack

Barnack
  • Topic Starter

  •  Avatar image
  • Members
  • 92 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Italy
  • Local time:06:03 AM

Posted 03 October 2014 - 10:52 AM

lol, so?

With dosbox you have the same commands depending on the dos version you run on it, your answer has nothing to do with my question :lol:



#5 CarlosRupp

CarlosRupp

  •  Avatar image
  • Members
  • 1 posts
  • OFFLINE
  •  

Posted 15 May 2020 - 04:47 PM

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/choice.html






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users