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

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

Van MsxKun

Paragon (1134)

afbeelding van MsxKun

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...

Van LeandroCorreia

Paladin (963)

afbeelding van LeandroCorreia

31-03-2019, 23:49

Van LeandroCorreia

Paladin (963)

afbeelding van LeandroCorreia

31-03-2019, 23:51

Van LeandroCorreia

Paladin (963)

afbeelding van LeandroCorreia

31-03-2019, 23:53

Van LeandroCorreia

Paladin (963)

afbeelding van LeandroCorreia

31-03-2019, 23:56

Van LeandroCorreia

Paladin (963)

afbeelding van LeandroCorreia

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

Van MsxKun

Paragon (1134)

afbeelding van MsxKun

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

Van MsxKun

Paragon (1134)

afbeelding van MsxKun

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....

Van LeandroCorreia

Paladin (963)

afbeelding van LeandroCorreia

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 )

Van MsxKun

Paragon (1134)

afbeelding van MsxKun

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.

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