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
Thanks for chiming in, but unfortunately it doesn't work.
I tested it before post here. It working good.
GDX, why you not denied STOP?
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.
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
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.
I've edited with nano via Terminal and Dolphin's solution indeed works.
Thank you so much!
My sincerest apologies to Dolphin and GDX.
No need to apologize, everything is fine, everyone time to time have errors.
I've edited with nano via Terminal and Dolphin's solution indeed works.
Thank you so much!
Welcome da club!
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).
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).
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.