Making a DOS boot disc
Moderator: Moderators
-
Unidentified Assilant
- Senior Member
- Posts: 2531
- Joined: Thu Oct 21, 2004 12:26 pm
- Location: Yea I like machine head
Here's what I'm trying to do. It has a problem somewhere though...when I try to run megaman2(option 2), it runs megaman3, and when I try to run megaman3(option 4), it runs kyatto.
Menu.txt is simply a text menu.
Can anyone see the problem?
P.S. CHOICE is an external command.
EDIT:
After having no luck with the CHOICE command, I opted to chage to the INPUT external command, which now works flawlessly. Here is my new AUTOEXEC.BAT file, while allows me to choose from 4 NES games on one floppy with LoppyNES.
This one works flawlessly, but requires the external INPUT.COM file, which is not available on most boot floppies. It must be obtained online (or from me). CHOICE.COM, which is what I was trying to use, is the same way, but can also be taken off of the original DOS 6 floppy set. You must be using DOS 6 to use CHOICE.COM, and LoopyNES WILL work in DOS 6.
With all 4 games, I still have 170KB free on my floppy. I'mm still looking for another game to throw in. ^^
Menu.txt is simply a text menu.
Code: Select all
@ECHO OFF
cls
TYPE A:\menu.txt
CHOICE /C:1,2,3,4,d/N/T:1,60 Which game do you wish to run (1,2,3,4)?
IF ERRORLEVEL 4 GOTO FOUR
IF ERRORLEVEL 3 GOTO THREE
IF ERRORLEVEL 2 GOTO TWO
IF ERRORLEVEL 1 GOTO ONE
GOTO END
:FOUR
A:\nes.exe kyatto.nes
GOTO END
:THREE
A:\nes.exe megaman3.nes
GOTO END
:TWO
A:\nes.exe megaman2.nes
GOTO END
:ONE
A:\nes.exe megaman1.nes
:ENDP.S. CHOICE is an external command.
EDIT:
After having no luck with the CHOICE command, I opted to chage to the INPUT external command, which now works flawlessly. Here is my new AUTOEXEC.BAT file, while allows me to choose from 4 NES games on one floppy with LoppyNES.
Code: Select all
@ECHO OFF
cls
TYPE A:\menu.txt
INPUT Which game do you wish to run (1,2,3,4)? /b/8
IF %ANS%==4 GOTO FOUR
IF %ANS%==3 GOTO THREE
IF %ANS%==2 GOTO TWO
IF %ANS%==1 GOTO ONE
GOTO END
:FOUR
A:\nes.exe kyatto.nes
GOTO END
:THREE
A:\nes.exe megaman3.nes
GOTO END
:TWO
A:\nes.exe megaman2.nes
GOTO END
:ONE
A:\nes.exe megaman1.nes
:END
With all 4 games, I still have 170KB free on my floppy. I'mm still looking for another game to throw in. ^^
Warranty-Voiding fun!


-
Unidentified Assilant
- Senior Member
- Posts: 2531
- Joined: Thu Oct 21, 2004 12:26 pm
- Location: Yea I like machine head
INPUT might, but why risk it when you can download a DOS 6 boot disk at http://www.bootdisk.com? ^^
Also, feel free to use the code I made. It is for the AUTOEXEC.BAT, and loads a menu.txt file to tell the user which games correspond to what numbers. Just replace the filenames with what you are using.
Also, feel free to use the code I made. It is for the AUTOEXEC.BAT, and loads a menu.txt file to tell the user which games correspond to what numbers. Just replace the filenames with what you are using.
Warranty-Voiding fun!


-
Unidentified Assilant
- Senior Member
- Posts: 2531
- Joined: Thu Oct 21, 2004 12:26 pm
- Location: Yea I like machine head
It doesn't matter anyway, I have to make a DOS 6.1 Boot Disk for my Other PC... arghh! Why can't both PC's have the same dos, anwyay, I've implented the INPUT command for mine, now I can have Super Mario Brothers 1, 2 & 3 on one disk, Super Mario Allstars!

Somebody please buy my Dreamcast >_> £20+shipping
-
bicostp
- Moderator
- Posts: 10491
- Joined: Mon Mar 07, 2005 5:47 pm
- Steam ID: bicostp
- Location: Spamalot
- Contact:
I made one once that had 10 games onit: the Mario trilogy, Pinball, Balloon Fight, DigDug, Joust, and a few others. Unfortunately, the 10-year-old floppy I had it on developed bad sectors. 
Hint: if you're making a floppy-based, no-hard-disk emulation machine, make sure you use WinImage to back the disks up to make recovery faster.
Hint: if you're making a floppy-based, no-hard-disk emulation machine, make sure you use WinImage to back the disks up to make recovery faster.
Twitter
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
Another problem now:
I can't delete some extra files on the floppy. It tells me to exit any programs, but I ended all processes i didn't need, checked (with 3 different programs) for adware,spyware,viruses and trojans, had none, and i even tried with a different computer.
I can't delete some extra files on the floppy. It tells me to exit any programs, but I ended all processes i didn't need, checked (with 3 different programs) for adware,spyware,viruses and trojans, had none, and i even tried with a different computer.
Shhh! I'm not officially back yet.
-
bicostp
- Moderator
- Posts: 10491
- Joined: Mon Mar 07, 2005 5:47 pm
- Steam ID: bicostp
- Location: Spamalot
- Contact:
Which files?
The 3 files that are marked protected, command.com ms-dos.sys, and a third one, cannot be deleted. All the rest are fair game.
If they're others, reboot in dos mode (off the HD) and use the del [filename] command to wipe them out.
The 3 files that are marked protected, command.com ms-dos.sys, and a third one, cannot be deleted. All the rest are fair game.
If they're others, reboot in dos mode (off the HD) and use the del [filename] command to wipe them out.
Twitter
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
bicostp wrote:Which files?
The 3 files that are marked protected, command.com ms-dos.sys, and a third one, cannot be deleted. All the rest are fair game.
If they're others, reboot in dos mode (off the HD) and use the del [filename] command to wipe them out.
There are more that are hidden potentially, depending on the version.
COMMAND.COM -> Not usually hidden, except in later Windows OSes like XP. This is the Command Interpreter. Necessary File!
IO.SYS -> Always Hidden. Necessary File!
MSDOS.SYS -> Always Hidden. Necessary File!
AUTOEXEC.BAT -> Often, if not Always, Hidden. Handles automatic execution of files. Not always necessary (but lets your emulator and rom load without intervention).
CONFIG.SYS -> Always Hidden. Not always necessary (especially not in this case), except if you want to specify your computer's driver configuration while the floppy is booted, such as a SET BLASTER command for Sound Blaster compatibles(toying with this MIGHT give you sound.).
Warranty-Voiding fun!


I'm running XP, and i want to get rid of a file called scandisc.exe, which takes up the most space on the disc. When i try to delete it (or any file on the disc, or format it even) it says "Cannot delete scandisc: It is being used by another person or program. Close any programs that might be using this file and try again."
Shhh! I'm not officially back yet.
That is odd...but for a TRUE MS-DOS disk, you can't format one in 2000 or XP. That isn't TRUE DOS. As I keep saying, get a real one at http://www.bootdisk.com.
Warranty-Voiding fun!


-
nos_slived
- Higher Idiot
- Posts: 3476
- Joined: Mon Mar 21, 2005 6:32 pm
- Location: Burnaby, BC, Canada
- Contact:
1. Open a command prompt and leave it open. To open a command prompt, go to Start>>Run and type CMD.
2. Hit CTRL+ALT+Del and click the "Processes" tab. Go down to "explorer.exe", and end it. Leave the "Task Manager" open.
3. Go back to the command prompt and type "A:" and press enter. That should set the directory as A:\ (which better be your floppy drive). Now type "DEL scandisc.exe" and press enter.
4. The file should now be deleted. Go ack to the task manager and click the "Applications Tab". Click on "New Task", and type "explorer.exe".
Your life should now be scandisc free.
2. Hit CTRL+ALT+Del and click the "Processes" tab. Go down to "explorer.exe", and end it. Leave the "Task Manager" open.
3. Go back to the command prompt and type "A:" and press enter. That should set the directory as A:\ (which better be your floppy drive). Now type "DEL scandisc.exe" and press enter.
4. The file should now be deleted. Go ack to the task manager and click the "Applications Tab". Click on "New Task", and type "explorer.exe".
Your life should now be scandisc free.
