MSX-DOS batch menu (1chipMSX launch game)

Página 2/2
1 |

Por Manuel

Ascended (17947)

Imagen del Manuel

29-05-2009, 09:47

NYYRIKKI: ah, I get it indeed. Great hack! But it will work indeed. The number range is about 0-31 (it's a 1 GB disk with 32 partitions), so, the easier solution won't work but if I supply enough length in the random string, it should work fine Smile Thanks!

Por Jipe

Paragon (1489)

Imagen del Jipe

29-05-2009, 16:06

i use Multi-mente with my CF
press X for Dos command and type idepar1
on second time press X and key UP you enter in HISTORY menu and chose idepar
is very fast and work in all partition
you can configure MMRET.DAT
.DSK RMSX MSX2 DSK:$C ; ;-) Nyyrikki
.SC? XLD4 $C ; SC5 6 7 8 Loader

Por Manuel

Ascended (17947)

Imagen del Manuel

29-05-2009, 19:05

Jipe, I know but I want something usable from the DOS2 command line, and my whole disk is filled with commands (a single batch file) to switch partitions. If I migrate it to IDE, which uses names 0-31 instead of 1-32, I only want to change the switching command batch file.

Por NYYRIKKI

Enlighted (5776)

Imagen del NYYRIKKI

29-05-2009, 22:02

@RetroTechie Some people (like me) might use REBOOT.BAT to set directory etc. so keyboard buffer is not the best option on DOS2.

@Jipe Don't forget to add:
.CAS RMSX IOSOUND CASRUN:$C
Wink

Por Manuel

Ascended (17947)

Imagen del Manuel

01-06-2009, 18:55

By the way, I tested it NYYRIKKI, and it works great! Smile Great hack to abuse string length functions Smile

Por giuseve

Paladin (744)

Imagen del giuseve

08-08-2014, 22:13

Another DOS quest.
I'd like to create a program in Nestor 2.1 alpha that helps me in choosing the sequential disc to mount and to launch a file inside it.

Something like this

- Ask the user to input XXX (where XXX is a number between 001 and 130) (I don't know how to do it !!)
- MAPDRV k: DISCXXX.DSK (to map as drive K the disc with the name DISC"input number".DSK)
- k:
- basic autoexec.bas (to launch the autoexec.bas file on the mapped K drive)

Any suggestions?

Regards !!!

Por giuseve

Paladin (744)

Imagen del giuseve

09-08-2014, 10:40

Consider the disk name something like MCDxxx.DSK
Maybe something like this?

~menu
cls
echo input disk number (3 char)
input %%key
if %%key=="" goto ~load
goto ~menu
~load
mapdrv k: MCD+!%KEY%.dsk
k:
basic autoexec.bas
Página 2/2
1 |