*SOLVED!* A more advanced .dsk question! (Now talking about loading .bin files)

Página 1/2
| 2

Por saab_rider

Rookie (17)

imagem de saab_rider

23-06-2003, 10:08

OK, I don't want to ask again how to run .bin or .bas files, I read the FAQ and I was able to create .dsk files and run them fine under my emulator...

But! Not all of the .bin or .bas games came with an autoexec.bas file. Which means that every time I run the .dsk file, I'd have to run the game.bas and game.bin files manualy.

I want to create .dsk files which would automaticaly load. How do I create the autoexec.bas files for them?

Thanks!

LOL! saa[b_r]ider LOL!
_________________________
Have you played MSX lately?©

Entrar ou registrar-se para comentar

Por pitpan

Prophet (3145)

imagem de pitpan

23-06-2003, 10:30

It's really easy.
If your program has a BASIC loader, as it's usual, called for example "GAME.BAS"
You should type the following

10 RUN"GAME.BAS"

And then save the program:

SAVE"AUTOEXEC.BAS"

Another option is to rename the loader file (if it is in BASIC) to AUTOEXEC.BAS

The last -easy- option is to create a text file with the mentioned program using your PC (use EDIT or NOTEPAD), save it as AUTOEXEC.BAS and then include this file in the previously created DSK image.

I hope that this will help you.

Kind regards,

Ed Robsy

Por MOA

Champion (293)

imagem de MOA

24-06-2003, 02:30

And renaming goes like:

NAME "GAME.BAS" AS "AUTOEXEC.BAS"

(in BASIC)

Por saab_rider

Rookie (17)

imagem de saab_rider

25-06-2003, 07:26

Thanks to both of you, Pitpan and MOA. I was able to make them executable by renaming game.bas to autoexec.bas.

But, I still can't make disk images which contain *.bin load automaticaly. Do I need to make an autoexec.bas file for them too?

Also, I have the following games which are in .bas format:

Boulder Dash 2
Elevator Action
Ghost Busters

I put them in .dsk files using (Disk Manager) just like I did with the other .bas games, but they just wouldn't work. After using the command:
run"game.bas"
or
load"game.bas",r
etc...
it would just say:
OK
and nothing would happen! I tried two different emulators in MSX1, MSX2 and MSX2+ modes. NL MSX and RU MSX are the emulators I used, but as I said, with no luck. Any idea what I should do?

Thanks again!

Big smile saa[b_r]ider Big smile

Por anonymous

incognito ergo sum (116)

imagem de anonymous

25-06-2003, 09:32

Maybe you must type a 'POKE' instruction depending on the subslot configuration of the emulated MSX.

Try one of these:

POKE -1,0
POKE -1,&H55
POKE -1,&HAA
POKE -1,&HFF

First type the POKE and press return key. After try to load the game.

If it still don't work, perhaps you got corrupted files.

Por MOA

Champion (293)

imagem de MOA

27-06-2003, 08:53

Well, not sure what you mean. Are you trying to load binary files with the "run" or "load" command? Binary files need to be loaded with BLOAD (binary load).

Let's say, you have to execute KickAssGame by entering:

BLOAD"KICK-ASS-GAME.BIN",R

then you can make an auto-booting disk by creating an AUTOEXEC.BAS which contains:

10 SCREEN 0TongueRINT "LOADING KICK-ASS GAME..."
20 BLOAD"KICK-ASS-GAME.BIN",R

To save this BASIC program on your disk, type:

SAVE "AUTOEXEC.BAS"

Hope that's what you mean!

Por saab_rider

Rookie (17)

imagem de saab_rider

29-06-2003, 08:45

Well, not sure what you mean. Are you trying to load binary files with the "run" or "load" command? Binary files need to be loaded with BLOAD (binary load). Hope that's what you mean!

Sorry I wasn't clear about the .bin part of the question, but yes that is what I mean Smile Thanks for the help!

Big smile saa[b_r]ider Big smile

Por mvt

Supporter (13)

imagem de mvt

01-07-2003, 13:46

Hello,

Well i got a simular problem.

I also want to convert .bin and .bas files into 1 .dsk file.
Well that part works but i still cannot run riverraid which consists of 2 files: rivraid.bas and river.bin

When i type load"rivraid.bas",r
the fmsx emulator just keeps saying ok.
The poke instructions as described above do not work, because the emulator stops on them.

Por anonymous

incognito ergo sum (116)

imagem de anonymous

01-07-2003, 14:49

Try using a less crappy emulator than fMSX, for instance NLMSX or openMSX.

Por mvt

Supporter (13)

imagem de mvt

01-07-2003, 14:53

Ah hehe, thx i will try them first.

Por mvt

Supporter (13)

imagem de mvt

01-07-2003, 15:02

Well with NLMSX it still does not work so i guess the files are corrupted.

But thanks for the help

Página 1/2
| 2