screen 7 converter update

By DamageX

Master (217)

DamageX's picture

14-03-2011, 04:13

You may recall the conversion program for interlaced screen 7 images with raster color changes. There was a BASIC loader, and then Sonic_aka_T added support to ViewMSX to load a .HAM file. So I have updated the PC-based converter to compile with FreeBASIC, and it outputs a .HAM file. I also started an MSX DOS program that can display the .HAM file (needs DOS 2)

http://www.hyakushiki.net/msx/new512.zip

Login or register to post comments

By jltursan

Prophet (2619)

jltursan's picture

14-03-2011, 23:35

Good work, thanks!. I'm thinking in some nice slideshows, I'll use it for sure...

Btw, I remember the thread; but which was the color palette change limit (per scanline), 12?, only 2?

By DamageX

Master (217)

DamageX's picture

15-03-2011, 05:30

Yeah it`s 2 changes per line. The MSX DOS viewer still needs work, I need to learn how command line arguments are passed and how to restore the screen after exiting. Since the files are 110KB I guess some compression might be nice too. I`m not sure what Sonic_aka_T had planned for the HAM file format, I just copied the header bytes directly from his example...

By jltursan

Prophet (2619)

jltursan's picture

15-03-2011, 20:30

In this thread, Metalion developed a bitbuster VRAM depacking routine; so, after looking your code seems doable. Every read+copy chunk can be done in only a step reading already packed data. I've tested a quick & dirty compression test with bitbuster and files seem to compress about 40%.

By ARTRAG

Enlighted (6935)

ARTRAG's picture

16-03-2011, 22:34

@DamageX
I tested your hamload.com on blue and open msx but it does not show any image
what is its usage?

PS
I was in msxdos1

By DamageX

Master (217)

DamageX's picture

17-03-2011, 07:36

Start the emu with DOS 2 or Sunrise IDE ROM and then it should work. When I searched on MSX file I/O I found this page http://map.grauw.nl/sources/load_screen.php and used those system calls, but apparently they only work with DOS 2.

By Manel46

Paladin (674)

Manel46's picture

26-07-2020, 20:11

Let me refloat this thread...
@DamageX
I think that your work is very important and interesting. Thank you and congratulations!
I've been doing some tests with it and I converted your asm code to Ascii16 ROM. Attached folder with
two roms plus sources:
https://drive.google.com/file/d/1VXM2FovszwCBdoieEF_Haior1qD...
I also followed the process from the NYYRIKKI 2007 forum thread:
https://www.msx.org/forum/development/msx-development/idea-m...
Did you continue experimenting with this converter? Do you think a dither effect could be implemented
like, for example, MIFui does? I think picture quality would greatly improve. Right now I'm working on a new development (it will be released in few months) and this converter is very convenient to me but
adding dithering would be awesome.

By ARTRAG

Enlighted (6935)

ARTRAG's picture

27-07-2020, 00:31

Awesome images!
It deserves a complete release

By inchl

Expert (83)

inchl's picture

27-07-2020, 05:13

Very very nice!

By Manel46

Paladin (674)

Manel46's picture

29-07-2020, 14:42

Thank you ARTRAG and inchl
I have tried different bmp's. There are some with which you get a perfect image.
Others have the dither problem, of spots in the colors, and something, which I think is different. Corrupt short lines.
this method get more than 130 colors. See ham file with msxview, option to see the number of colors.
In some case msxview, gives error.

By Manel46

Paladin (674)

Manel46's picture

29-07-2020, 14:45

For the bmp2ham.exe converter, the images should be of 24-bit quality and 512x424 in size.