*SOLVED!* A more advanced .dsk question! (Now talking about loading .bin files) (Emulation MSX Fora)MSX Resource Center            
            
English Nederlands Espa�ol Portugu�s Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 57 gasten en 1 MSX vriend online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

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

Schrijver

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

saab_rider
msx novice
Berichten: 17
Geplaatst: 23 Juni 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!




saa[b_r]ider
_________________________
Have you played MSX lately?©
pitpan
msx master
Berichten: 1389
Geplaatst: 23 Juni 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

MOA
msx freak
Berichten: 148
Geplaatst: 24 Juni 2003, 02:30   
And renaming goes like:

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

(in BASIC)

saab_rider
msx novice
Berichten: 17
Geplaatst: 25 Juni 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!



saa[b_r]ider
warau
msx lover
Berichten: 117
Geplaatst: 25 Juni 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.
MOA
msx freak
Berichten: 148
Geplaatst: 27 Juni 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 0RINT "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!
saab_rider
msx novice
Berichten: 17
Geplaatst: 29 Juni 2003, 08:45   
Quote:

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 Thanks for the help!




saa[b_r]ider
mvt
msx friend
Berichten: 13
Geplaatst: 01 Juli 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.








GuyveR800
msx guru
Berichten: 3048
Geplaatst: 01 Juli 2003, 14:49   
Try using a less crappy emulator than fMSX, for instance NLMSX or openMSX.
mvt
msx friend
Berichten: 13
Geplaatst: 01 Juli 2003, 14:53   
Ah hehe, thx i will try them first.
mvt
msx friend
Berichten: 13
Geplaatst: 01 Juli 2003, 15:02   
Well with NLMSX it still does not work so i guess the files are corrupted.

But thanks for the help
snout

msx legend
Berichten: 4991
Geplaatst: 01 Juli 2003, 15:20   
there can be several things that go wrong here..

first you said you created a DSK image yourself. Are you sure the files were not-corrupted before you put them in a DSK image? Maybe something went wrong in the process.

Second, you can try to skip the .BAS file and BLOAD the .bin file. Maybe it's just the BASIC loader that (#$*$#cks up
mvt
msx friend
Berichten: 13
Geplaatst: 02 Juli 2003, 16:14   
Well if i try the Bload"river.bin",r i get the message " bad file mode" so i guess the bin is corrupted, because with the poke options i did get the same message.
snout

msx legend
Berichten: 4991
Geplaatst: 02 Juli 2003, 19:23   
yup, sounds indeed like your files are corrupted :/
 
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.