Loading ROMs from disk

Page 1/2
| 2

Par Newbie

Rookie (21)

Portrait de Newbie

08-06-2020, 21:11

Hi,

I would like a disk to autostart with autoexec.bas and then load sofarom and automatically a ROM image.
Is this hard?
Does anyone have an example?

N.

!login ou Inscrivez-vous pour poster

Par Newbie

Rookie (21)

Portrait de Newbie

08-06-2020, 21:32

I did put loadrom.com on a disk together with a ROM and used:

loadrom kv2.rom and then i get a type mismatch error

Par Manuel

Ascended (19273)

Portrait de Manuel

08-06-2020, 22:08

Did you put this in an AUTOEXEC.BAT file?
Did you put MSXDOS.SYS and COMMAND.COM on the disk?

Par Newbie

Rookie (21)

Portrait de Newbie

09-06-2020, 06:18

No i did not. I am afraid I don't know how it works. Is there a difference between AUTOEXEC.BAT versus .BAS?
Can I download such a bootable disk somewhere?
Thnx

Par Newbie

Rookie (21)

Portrait de Newbie

09-06-2020, 06:43

Does someone have a .dsk image of a complete bootdisk?
What's a good program on PC to edit AUTOEXEC.BAS on PC?

Thnx

N.

Par Newbie

Rookie (21)

Portrait de Newbie

09-06-2020, 07:51

Well, managed to make a bootable disk with autoexec.bas msxdos.com and command.com... it boots Wink

What's a good program to edit .bas files on PC?

Par Briqunullus

Hero (633)

Portrait de Briqunullus

09-06-2020, 08:50

I don't think these can be edited on a PC. They are not plain text files. So you'll have to create and or edit these on your MSX (while being in Basic, not in DOS). Just a few things to get you started:

Commands to open and save files
load "autoexec.bas"
save "autoexec.bas"

Command to see what's inside
list

Command to run a file
run

Editing is done just by typing. If you prefix your command with a number they are stored in memory. Like this
10 print "hello world"
20 goto 10
list
save "hello.bas"
run

Press ctrl+stop to terminate this program. You'll have to learn to program in Basic to create more complex programs and loaders.

Par Briqunullus

Hero (633)

Portrait de Briqunullus

09-06-2020, 09:02

By the way, if your final goal is to play megaroms on your 512 kB memory mapper, you can't just load .rom files into it. You will need adapted versions. These can be found for instance here for MSX1 and MSX2. You were experimenting with King's Valley 2, it's there.

Par Newbie

Rookie (21)

Portrait de Newbie

09-06-2020, 10:36

I got it to work Smile
Thank you very much. Very helpful.

Par Briqunullus

Hero (633)

Portrait de Briqunullus

09-06-2020, 11:45

Great! As a rule of thumb, you will need 256kB memory to play 128kB games, and 512kB memory to play 256kB games. And if you happen to have a SCC cartridge plug it in slot 2 to enjoy the true sounds of those Konami games.

Par Newbie

Rookie (21)

Portrait de Newbie

09-06-2020, 16:22

Thank you! I have 512KB so I should shoud be able to get all to work. That's in fact the case except for Space Manbow... too bad as I really liked that game. Do you know where to buy SCC catridge? Or should I then buy something like Carnivore?

Space Manbow has had MX2 extension.. it's starts loading with romload and shows the Konami logo but then resets.

Any ideas?

Page 1/2
| 2