Should I add any other byte header between steps 1 and 2? (please remember I'm a high level programmer, not used to Assembly and similar stuff).
Sure. But you already managed to make it works, so congrats
The way VRAM works is not dependant of the programming language used As long as they all manage data...
I wonder what would be my reaction if I saw such images on my MSX when I was 12 years-old.
@Leandro,
I create an algorithm to convert from RGB to Screen2 Format: msx_RGBtoScreen2
Note that to use BLOAD "file",S you need to save more things between pattern and color.
If you want to use BLOAD "file,R" you need another header.
I explained better at the page.
I guess that the rgb2MSX(x, y2) function is the one we already have, right?
So your code constructs the MSX screen from the BMP using it. The final piece that was missing on the converter.
I think I have only the opposite done in Python (reading MSX pic and it convert to PC Image to view it) so it will be useful.
I can pythonize it too and complete the python puzzle :)
What, a 12yo seeing almost naked boobies on screen, back then in the 80's when internet and "hi-res" JPGs weren't around...?
No, don't tell me about it
If we were O_o with the spectrum-like loading screen....
What, a 12yo seeing almost naked boobies on screen, back then in the 80's when internet and "hi-res" JPGs weren't around...?
No, don't tell me about it
If we were O_o with the spectrum-like loading screen....
( I could not resist... )
Heya
Added the part to save an MSX SC2 file bloadable with Basic.
Of course, you can also save patterns and color table separately with a tiny modification. And skip the header if you don't need it, etc...
It still takes about 80secs to convert. I'd need to find how to improve that.