From: Ben Harris Date: Mon, 24 Jun 2024 13:27:51 +0000 (+0100) Subject: Allow for choosing which ROM to generate in rom.ps X-Git-Tag: bedstead-002.007~28 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=16ef7c5b8f9796dcd38f931f2e65de0b864ad71c;p=bedstead.git Allow for choosing which ROM to generate in rom.ps --- diff --git a/rom.ps b/rom.ps index 6935645..748e6ea 100644 --- a/rom.ps +++ b/rom.ps @@ -4,7 +4,7 @@ % MAME's emulation of the SAA5050 family. To produce such an image, % use a command like this: % -% gs -P -q -dSAFER -sDEVICE=bit -o saa5051.rom rom.ps +% gs -P -q -dSAFER -sDEVICE=bit -o saa5051.rom -- rom.ps SAA5051 % % The image can also be compared against images from other sources to % detect errors in one or other source. Currently only the SAA5051 @@ -48,8 +48,10 @@ << /HWResolution [ 72 72 ] /PageSize [ 8 960 ] >> setpagedevice /Bedstead findfont 10 scalefont setfont -2 952 moveto -/SAA5051 findencoding -32 96 getinterval -{ glyphshow -6 -10 rmoveto } forall -showpage +ARGUMENTS { + 2 952 moveto + cvn findencoding + 32 96 getinterval + { glyphshow -6 -10 rmoveto } forall + showpage +} forall