Multi-boot

ページ 2/3
1 | | 3

By gdx

Enlighted (5363)

gdx さんの画像

29-04-2020, 02:06

Multimente, Sofarun, etc can launch .bas files, but you can add something like the following lines to run a program in BASIC.

45 IF A=254 THEN A(YR)=A: A$(YR)=A$: B$(YR)=B$: YR=YR+1

185 IF A$(YR)="RUN" THEN RUN B$(YR)

375 DATA 254,RUN,NAME.BAS

By Dolphin101546015

Champion (335)

Dolphin101546015 さんの画像

29-04-2020, 05:12

donluca wrote:

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

I tested it before post here. It working good.

By Dolphin101546015

Champion (335)

Dolphin101546015 さんの画像

29-04-2020, 05:16

GDX, why you not denied STOP? Smile

By gdx

Enlighted (5363)

gdx さんの画像

29-04-2020, 10:45

In fact, the line 45 is useless and if the 375 is as below.

375 DATA 0,RUN,NAME.BAS
So my example is the same as Dolphin finally. It works.

Dolphin, I did not refuse STOP to not bother those who want to modify the program.

By Dolphin101546015

Champion (335)

Dolphin101546015 さんの画像

29-04-2020, 14:11

gdx wrote:

Dolphin, I did not refuse STOP to not bother those who want to modify the program.

Ok, but it might be good option under remark Wink

By donluca

Expert (75)

donluca さんの画像

29-04-2020, 15:38

My sincerest apologies to Dolphin and GDX.

It looks like Visual Studio Code on macOS alters the text file of the .bas in some way and that was messing up the program. oO

I've edited with nano via Terminal and Dolphin's solution indeed works.

Thank you so much!

By Dolphin101546015

Champion (335)

Dolphin101546015 さんの画像

29-04-2020, 16:39

donluca wrote:

My sincerest apologies to Dolphin and GDX.

No need to apologize, everything is fine, everyone time to time have errors. Wink

donluca wrote:

I've edited with nano via Terminal and Dolphin's solution indeed works.

Cool

donluca wrote:

Thank you so much!

Welcome da club! Smile

By donluca

Expert (75)

donluca さんの画像

29-04-2020, 17:59

Thanks!
I've seen that openMSX is missing the dumps from a NMS-8280 which I have.
Unfortunately I don't have a keyboard (but I've found a way to adapt a PS/2 one, just need for this whole COVID situation to end so I can buy the necessary pieces), but as soon as my USB floppy drive gets here I'll figure a way to automatize the ROM dumping process.
Worst case scenario I'll open it up and dump the mask roms (I have a GQ4x4 EPROM reader/burner).

By gdx

Enlighted (5363)

gdx さんの画像

30-04-2020, 10:15

Dolphin101546015 wrote:

Ok, but it might be good option under remark

Done.
I also have a little modified the cursor handling, and added the lines 185 and 375 (You can remove them if you prefer a smaller program).

By Grauw

Ascended (10565)

Grauw さんの画像

30-04-2020, 10:37

donluca wrote:

It looks like Visual Studio Code on macOS alters the text file of the .bas in some way and that was messing up the program.

I did not have any problems with that myself. One thing you do need to watch out for is that the new-lines are all CRLF. Some editors (not VSCode though) use whatever is the system default regardless of what the rest of the file uses.

ページ 2/3
1 | | 3