Graphic conversion for any 256x192 into MSX1 graphics (Source code in Blitz Basic).

Page 5/14
1 | 2 | 3 | 4 | | 6 | 7 | 8 | 9 | 10

By MsxKun

Paladin (919)

MsxKun's picture

31-03-2019, 23:48

LeandroCorreia wrote:

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). Big smile

Sure. But you already managed to make it works, so congrats Smile
The way VRAM works is not dependant of the programming language used Wink As long as they all manage data...

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

31-03-2019, 23:49

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

31-03-2019, 23:51

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

31-03-2019, 23:53

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

31-03-2019, 23:56

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

31-03-2019, 23:56

I wonder what would be my reaction if I saw such images on my MSX when I was 12 years-old. Big smile

By MsxKun

Paladin (919)

MsxKun's picture

01-04-2019, 00:01

Rogerup wrote:

@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 :)

By MsxKun

Paladin (919)

MsxKun's picture

01-04-2019, 00:06

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 Smile

If we were O_o with the spectrum-like loading screen....

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

01-04-2019, 00:19

MsxKun wrote:

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 Smile

If we were O_o with the spectrum-like loading screen....

( I could not resist... Big smile )

By MsxKun

Paladin (919)

MsxKun's picture

03-04-2019, 21:05

Heya

Added the part to save an MSX SC2 file bloadable with Basic.

https://pastebin.com/40WL354r

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.

Page 5/14
1 | 2 | 3 | 4 | | 6 | 7 | 8 | 9 | 10