Modetest -------- This program will report various information about the installed VDI and used graphics mode. It should be run from the desktop and can be given a number of parameters. The first parameter is always an output file name. Without any parameter, output will go to the screen (printf), and only the default outputs will be given. The default output uses information mainly from a vq_scrninfo call. This call is only available with VDI's that support EdDI v1.00 or later, but no check for this is done by this program. I'm pretty sure this call will cause no harm on other VDI's (it's really only a new mode of vq_extnd), but the results will not be useful. From vq_scrninfo, the following information is displayed: Format (textual representation of intout[0]) CLUT (textual representation of intout[1]) Planes (intout[2]) Colours (inout[3-4]) Width (intout[5]) Address (inout[6-7], but also Physbase and Logbase) Bits (intout[8-10], and intout[11-13] if they contain anything) Order (textual representation of intout[14]) VDI colour order or bit position usage (intout[16-]) From AES wind_get(0, WF_SCREEN, ...) AES background buffer address and size If more than one argument (file name) is given, the output goes on to dump all the results from normal and extended inquiry using the VDI vq_extnd call. No interpretation is provided for these, except that some that are really points are grouped together. If more than two arguments are given, the lineA variable contents, from -$38a to $7a are also dumped, without interpretation. Finally, for more than three arguments, the current VDI colour pen values are dumped too. Johan Klockars 2002-07-06