Graphics display program

Graphics display program

by Eugeny_Brychkov on 23-10-2022, 12:17
Topic: Software
Languages:

Eugeny Brychkov has developed a graphics display program to be run in DOS1/DOS2 mode which can supply multiple files in different screen modes, and the best image for current machine will be displayed.

The synopsis for the program is:

GD /P /Lxx /Wxx /M?x
- /P to change palette from .SC2/.SC4/.SC5/.SC6/.SC7 file if it was chosen for display;
- /Lxx background/border color, value of "xx" is in hex (one or two digits)
- /Wxx delay until exiting, "xx" also hex, value of 0 is instant exit, value of FF is wait until key is pressed;
- /M?x define graphics file to be loaded for specific mode "x" (hex digit, 0-8, A-C), display falls back in the following order: CBA876542310; ? is optional control char, "+" for 212 lines and "-" for 192 lines, no character means use machine default

An example of the usage:

gd/m2file1.sc2/m-5file2.sc5/mc+file3.src/p/l0/w10

This will display file3.src on the MSX+ (V9958) machine forcing 212 lines, file2.sc5 on MSX2 (V9938+V32K) machine forcing 192 lines, and file1.sc2 on the MSX1 machine using default screen height (for MSX1.5 machines), for sc5 and sc2 file will modify palette (for TMS will not do it), will set background and border color to 0 (e.g. black if target palette has color 0 locked to black), and will wait 10 seconds before exiting.

There could be spaces between parameters, but not between slash and option name, e.g.

gd /m 2 file1.sc2 /m - 5 file2.sc5 /m c+ file3.src /p/ l 0 /w 10

Under DOS1 file names are in 8.3 format, under DOS2 file names are as strings with subdirectories.
Graphic files are expected to have binary format - for example created by the BMP2MSX application.

Relevant link: ZIP file

Comments (8)

By Manel46

Paladin (671)

Manel46's picture

23-10-2022, 20:15

The zip doesn't work.

By SjaaQ

Champion (365)

SjaaQ's picture

24-10-2022, 11:19

It does for me. I might get blocked by your browser (I had that warning as well).

By Manel46

Paladin (671)

Manel46's picture

24-10-2022, 14:33

I have tried with Chrome and with Brave, and the same thing happens.

By gdx

Enlighted (5813)

gdx's picture

24-10-2022, 14:50

The link doesn't work for me too.

By wolf_

Ambassador_ (10028)

wolf_'s picture

24-10-2022, 15:01

Copy link, paste in new tab, there she goes.

(Brave browser)

By riquet

Master (200)

riquet's picture

24-10-2022, 15:56

Link work here with a security alert, it's probably dependeding the security level of your browser.

[edit : I use Firefox]

By Manel46

Paladin (671)

Manel46's picture

24-10-2022, 15:38

If it works as you say. I have tested it with Firefox.
Thanks wolf_

By tfh

Prophet (3256)

tfh's picture

29-10-2022, 19:36

In Chrome, use "save link as" and you'll be fine.