MSX Basic to ROM tool for Win32

by pitpan on 04-04-2004, 11:04
Topic: Development
Languages:

Karoshi Corporation has created a tiny PC/Win32 application that automatically converts programs written in MSX BASIC and produces a MSX ROM, fully compatible with the MSX standard specifications and supported by the original BIOS.
Creating MSX ROMs never has been so easy: you can code them now in pure BASIC without any additional programming. Karoshi also invites everyone to join MSXdev'04!

You can download it from this page: http://www.robsy.net/basicrom.htm

Relevant link: www.robsy.net

Comments (18)

By KNM

Master (172)

KNM's picture

04-04-2004, 12:43

As always,another great job from Karoshi/Robsy.I don´t know almost anything about programing,even in basic,but this is a great incentive for learning something.

Keep on rockin´!

By viejo_archivero

Paragon (1395)

viejo_archivero's picture

04-04-2004, 13:24

Yep, a great Robsy's contribution to all MSX-Basic programmers!. I hope everyone help us testing this nice application Smile. Join MSXdev04! Smile

El Viejo Archivero

By pitpan

Prophet (3137)

pitpan's picture

04-04-2004, 14:00

Well, the only problem is that this format is supported by the MSX standard and the MSX BIOS, but many emulators do not support it, because they ROM-loading routines are not accurate. These ROMs should be loaded in page 2 (that is it, from 8000h to BFFFh), and fMSX (v.1.6 DOS, for example) just loads them in page 0, overlaping the BIOS.

By pitpan

Prophet (3137)

pitpan's picture

04-04-2004, 14:33

PROBLEM FIXED: I have uploaded to the page a new version that converts the BASIC programs to ROM files and makes a little hack that let them load perfectly in most emulators. Now the resulting ROMs and compatible with fMSX (I am using a pretty old version, 1.6 for DOS, ported by Marcel de Kogel).

If you make some tests with different emulators, please sendme the results.

Kind regards and keep MSXing!

Ed Robsy

By anonymous

incognito ergo sum (116)

anonymous's picture

04-04-2004, 17:34

This is a great oportunity for coders that are not so familiar with asm or something like that ! Great news ....

Btw. does this util also perform the same things as common Basic Compilers on MSX, like speeding up things a lot and so on ?

By anonymous

incognito ergo sum (116)

anonymous's picture

04-04-2004, 17:36

.... oh and another question : Would it be possible to use ROM2BIN after this util Wink ?

By pitpan

Prophet (3137)

pitpan's picture

04-04-2004, 18:01

No, it is not a compiler, it just prepares the Basic program to be executed from ROM. And I do not think that it would work with ROM2BIN. I will code some other tools to improve conversion to binary and to WAV, but at the moment I am still resting a bit after this night coding-marathon.

Regards,

By anonymous

incognito ergo sum (116)

anonymous's picture

04-04-2004, 20:19

Oh, ok, then I have to stick to my Basic Compilers for a little longer Wink

By Latok

msx guru (3823)

Latok's picture

04-04-2004, 20:25

Tried it and it really is cool! Cheers pitpan!

By snout

Ascended (15184)

snout's picture

04-04-2004, 22:45

10 PRINT "Anne"
20 GOTO 10

?

Tongue

GREAT tool, Robsy.. why did nobody ever think of this before??? Smile

By Latok

msx guru (3823)

Latok's picture

04-04-2004, 22:58

I really should start programming that scroller. My programming skills are being underestimated Tongue

By anonymous

incognito ergo sum (116)

anonymous's picture

04-04-2004, 23:06

"why did nobody ever think of this before??"
coz ROM images are generally useless on a real MSX Tongue

By snout

Ascended (15184)

snout's picture

04-04-2004, 23:31

True, but ROM loaders, FLASH Rom and EPROM didn't fall out of the sky just a couple of days ago, they have been around for quite a while now Wink

By BiFi

Enlighted (4348)

BiFi's picture

05-04-2004, 08:23

Because Basic in ROM comes with limitations. Especially for the available free memory. When your program is small (about 1KB) you still have 15 KB that is lost in MSX rom space and the Basic program can't be larger than 16 KB while in RAM it can... to name a few.

Nonetheless, if you can live with the limitations it's a really nice tool to put Basic to ROM.

By BiFi

Enlighted (4348)

BiFi's picture

05-04-2004, 08:27

I do think the 'first line not being executed' limitation should be removed though.

By pitpan

Prophet (3137)

pitpan's picture

05-04-2004, 08:33

I am designing a new version that does not use the BIOS system to be booted and that does not lost the first line and packs the BASIC program.

This "ROM size limitation" that you mentioned has also a good side-effect: your 16 KB BASIC program can be executed in MSX with only 16 KB of RAM.

By BiFi

Enlighted (4348)

BiFi's picture

05-04-2004, 09:24

Hmm, not using the BIOS to be booted... sounds much like doing something like a Basic into Binary system with a run command.

By flyguille

Prophet (3028)

flyguille's picture

05-04-2004, 16:22

Great idea for the BASIC programmers, and quick to develop proyect.

The limitation space can be avoided if the ROM format is a BIN with a loader function than copy the BASIC to RAM and run the RUN basic function.