Multi-boot

Page 1/3
| 2 | 3

Par gdx

Enlighted (6436)

Portrait de gdx

26-09-2019, 11:06

Sometime I tell myself that I would like to have something that allows me to choose what to easly execute when starting the MSX.

So I made a program in BASIC (v2.xx) to select manually the file manager you want at start.
With it you can put up to 10 items. The layout is automatic. It adapts to your MSX generation and screen width). So your disk can mount on any MSX provided you have DOS2 or Nextor.

The selection is done with the keyboard (Keys 0 to 9 or cursor keys + space) or the joystick. You just have to edit the DATA at the bottom of the program.

BOOT.BAS

To launch this program automatically, use the command BASIC BOOT.BAS in the AUTOEXEC.BAT on the root folder.

!login ou Inscrivez-vous pour poster

Par gdx

Enlighted (6436)

Portrait de gdx

26-09-2019, 17:22

Here is a screenshot of this program executed on MSX1 or MSX 2/2+/turbo R.

Only commands or batch files usable are displayed.

Par msxtrd

Champion (277)

Portrait de msxtrd

26-09-2019, 21:06

Can't save the bas file here. Zip it?

Par gdx

Enlighted (6436)

Portrait de gdx

27-09-2019, 01:46

OK, done.

Multi-boot.zip

At first I wanted to put only the listing but it was not possible because of some characters.

Par djh1697

Paragon (1736)

Portrait de djh1697

27-09-2019, 21:35

useful! I like the cursor key/joystick functionality! I have a short autoexec.bat file that echo's a menu to the screen, you type the number, and it runs a batch file that does the same thing.

Par gdx

Enlighted (6436)

Portrait de gdx

28-09-2019, 10:18

Update!

I added a item to go to BASIC and the Return key to do the same thing as Space.

Thank you Djh1697, I would have liked to do the same thing in a batch file but either it is not possible or the compatibility would be at best limited to Nextor only.

Par djh1697

Paragon (1736)

Portrait de djh1697

28-09-2019, 19:56

Tried it with BlueMSX, very useful Wink I like they way it is possible to add further options if needed too.

Par gdx

Enlighted (6436)

Portrait de gdx

29-09-2019, 10:48

I added the MSX-DOS1 support using the trick from Ricardo Bittencourt that Alexito has indicated. Download the zip again if you're interested.

Par donluca

Expert (75)

Portrait de donluca

28-04-2020, 18:26

Hi gdx,

is it possible to add a feature to launch .bas files as well without having to go through MSX-DOS first?

So that, for example, I can write
DATA 1,Mem Tester,RUN "MSXMEM2.BAS"

to start MSXMEM2.BAS without having multi-boot going to MSX-DOS and then back to Basic.

Par Dolphin101546015

Champion (337)

Portrait de Dolphin101546015

28-04-2020, 21:00

donluca wrote:

Hi gdx,

is it possible to add a feature to launch .bas files as well without having to go through MSX-DOS first?

So that, for example, I can write
DATA 1,Mem Tester,RUN "MSXMEM2.BAS"

to start MSXMEM2.BAS without having multi-boot going to MSX-DOS and then back to Basic.

Use MSX-DOS command - BASIC, kinda:
A:>BASIC MSXMEM2.BAS

Or add new string:

185 IF LEFT$(B$(YR),5)="BASIC" THEN B$=MID$(B$(YR),7,LEN(B$(YR))-6):RUN B$

And DATA entry point will be like:
300 DATA 0,NAME,BASIC NAME.BAS

Par donluca

Expert (75)

Portrait de donluca

29-04-2020, 01:56

Thanks for chiming in, but unfortunately it doesn't work.

Bear in mind that there's no MSX-DOS in this floppy, there's only Multi-Boot and a bunch of other .bas files.

The error that happens when I choose to start a .bas software is this:

and it's the same that happens without the addition you've mentioned.

I'll try to be more specific:

I have a NMS-8280, with MSX Basic version 2.1, Disk Basic version 1.0.

The floppy I'm working on has Multi-Boot (boot.bas) and a bunch of other .bas software.

What I want to do is to not put MSX-DOS on the floppy and have Multi-Boot launch directly the .bas files.
Hopefully this clears it up a bit.

Page 1/3
| 2 | 3