Post Reply 
Calculator graphics drawing benchmark
01-29-2022, 07:17 PM (This post was last modified: 01-31-2022 07:11 PM by C.Ret.)
Post: #27
RE: Calculator graphics drawing benchmark
Material : HP-41C connected to a HP82240A printer through a HP82242A IR module.

Preparation: setup hardware, check paper

Program:
Code:
01 ►LBL"HITO"  ADV  CF 21  FIX 0  XEQ 12
06 ►LBL 01     VIEW 01  209  XEQ 10  31  +  STO IND 01  ISG 01  GTO 01
15 ►LBL 02     VIEW 02  1  XEQ 10  16  XEQ 10  +  STO IND 02  ISG 02  GTO 02
25 ►LBL 05     SF 21  XEQ 12
28 ►LBL 03     0  ACCOL
31 ►LBL 04     RCL IND 01  ACCOL  RCL IND 02  FC?C 00  XEQ 07  ACCOL  ACCOL  ACCOL  ISG 01  GTO 04
42             PRBUF  XEQ 11  ISG 02  GTO 03
46             ADV  TONE 5  RTN
49 ►LBL 07     17  X<>Y  -  SF 00  RTN
55 ►LBL 10     PI  LN  RCL 00  +  5  Y^X  FRC  STO 00  RND  *  RTN
67 ►LBL 12     44.063  STO 02 
70 ►LBL 11     3.043  STO 01  SF 00  END

Registers:
R00: seed of pseudo random generator
R01: column indice
R02: row indice
R03-R43: Graphic Code for printing vertical dash lines (colum line)
R44-R63: Graphic Code for printing horizontal dash lines (row lines)
Flag 00: Toggle for row line
Flag 21: Suspend printing during initialisation.

Usage :
SIZE 64
randomized seed STO 00
XEQ [ALPHA]HITO[ALPHA]

   

Time: ~12'05" (~725") the printing start after 1'25" of initialisation.

Screen: 164x160
Size of print adjustable through row and register range (see instruction 068 and 071)

Performance: 36.19

The HP-41C definitively not a graphing calculator Sad


EDITED: The value 17 at step 050 was missing in the original post.
Sorry for missing this in first edition.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Calculator graphics drawing benchmark - C.Ret - 01-29-2022 07:17 PM



User(s) browsing this thread: 1 Guest(s)