I know there's already a tool made by Karoshi that allows to convert a basic file into a working ROM, but I'd like to know how exactly it works...
I guess that while you write a basic application on a MSX computer, the source code is tokenized and stored in RAM... so my question is...
* If we take a text file in ASCII with a proper Basic program inside
* And then we tokenize it
* And then we make a ROM file of that tokenized file, adding a small assembly routine that simply copies the basic program in RAM and execute it
Would it work ?
Imagine if we could also add some assembly routines that could be called from basic, to draw sprites, graphics and play music much -MUCH- faster... and graphics and sound effects could be stored into the ROM and the read from the assembly routines, so you would also save RAM space... I really think it would attract a lot of potential developers that knows nothing about Z80 assembly but are skilled enough to make small games for the MSX... it would be the end of all problems for the rest of us IMHO
Think about it: The speed and power of assembly together with a user-friendly language. It would be a match made in heaven
I know nothing of MSX hardware or Z80 instructions... but I could make a "tokenizer" application that creates a ROM file, and then with a simple "cut & paste" operation I could replace simple basic commands into routine calls. I already know how to read ROM files, and then I guess I could create one of them too... and for the tokenizer... well, I could "steal" something from Vincent Van Dam tools (Sorry Vincent