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
التعليقات (8)
بواسطة Manel46
Paladin (674)
23-10-2022, 20:15
بواسطة SjaaQ
Champion (381)
24-10-2022, 11:19
بواسطة Manel46
Paladin (674)
24-10-2022, 14:33
بواسطة gdx
Enlighted (6438)
24-10-2022, 14:50
بواسطة wolf_
Ambassador_ (10135)
24-10-2022, 15:01
بواسطة riquet
Master (201)
24-10-2022, 15:56
بواسطة Manel46
Paladin (674)
24-10-2022, 15:38
بواسطة tfh
Prophet (3430)
29-10-2022, 19:36