1
0
mirror of https://github.com/simh/simh.git synced 2026-02-25 08:21:10 +00:00

VIDEO: Produce SCREENSHOT images in PNG format if libpng is available in the host build environment

This commit is contained in:
Mark Pizzolato
2015-09-27 16:14:55 -07:00
parent 0a2eb2997c
commit 4921d92650
6 changed files with 229 additions and 28 deletions

7
scp.c
View File

@@ -1669,7 +1669,12 @@ ASSERT failure have several different actions:
" Simulators with Video devices display the simulated video in a window\n"
" on the local system. The contents of that display can be saved in a\n"
" file with the SCREENSHOT command:\n\n"
" SCREENSHOT screenshotfile.bmp\n"
" +SCREENSHOT screenshotfile\n\n"
#if defined(HAVE_LIBPNG)
" which will create a screen shot file called screenshotfile.png\n"
#else
" which will create a screen shot file called screenshotfile.bmp\n"
#endif
#define HLP_SPAWN "*Commands Executing_System_Commands"
"2Executing System Commands\n"
" The simulator can execute operating system commands with the ! (spawn)\n"