Hi all,
I just wanted to share a little graphics gem I recently stumbled upon.
First, have a look at Tom Grydeland's posting to the MoHPC forum dated from 6 Mar 2012:
http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv021.cgi?read=213505
As I'm always fascinated by mathematical graphics (especially on an HP calc!) and because I just got my brand new SwissMicros DM42 a couple of weeks ago, I wanted to adapt Tom's nice gem to the DM42's larger screen.
Good news: Tom's program "DPP" doesn't have to be changed at all for this.
And here's my new version of "PSHOW" (* is multiply, / is divide):
00 { 82-Byte Prgm }
01 LBL "PSHOW"
02 2
03 STO "GrMod"
04 CLLCD
05 ALENG
06 1E-5
07 *
08 RCL "ResX"
09 1E3
10 /
11 1
12 +
13 +
14 STO 00
15 RCL "ResY"
16 1E3
17 /
18 8E-5
19 +
20 1
21 +
22 STO 01
23 STO 02
24 LBL 01
25 RCL 02
26 STO 01
27 LBL 02
28 RCL 01
29 RCL 00
30 AGRAPH
31 ISG 01
32 GTO 02
33 ISG 00
34 GTO 01
35 END
In my new version the number in line 02 determines the graphics mode of the DM42: 0 for 131x16 (original HP-42 resolution), 2 for 200x120, 3 for 400x240.
Here are three example screenshots (200x120 pixel mode):
http://musicdiver.com/wordpress/wp-content/uploads/2018/02/20180224-21575777.png
http://musicdiver.com/wordpress/wp-content/uploads/2018/02/20180224-21575137.png
http://musicdiver.com/wordpress/wp-content/uploads/2018/02/20180224-21574358.png
Have fun, take care,
Stefan.