Speed of HP-49G Routine for Tektronix Vector Graphics Terminal
|
08-05-2020, 09:45 AM
(This post was last modified: 08-05-2020 09:47 AM by Martin Hepperle.)
Post: #14
|
|||
|
|||
RE: Speed of HP-49G Routine for Tektronix Vector Graphics Terminal
With the SysRPL varsion I achieve a speedup of about 2.5 compared to the UserRPL version.
This is fine for me and avoids that I fall asleep whily watching a plot appear on the screen. My demo program now uses the functions Y1(X) and Y2(X) and the scaling as set up in the HP 49G plot application. Therefore I replaced the hardwired scaling factors by data derived from the plot parameter list PPAR. An initializing program calculates the translation values and the scale factors and places them on the stack. In my routines I now pick the scaling parameters from the stack and perform the Real transformations (x-X0)*sx and (y-y0)*sy before COERCing them into BINTS and composing the bytes in Tektronix format. This seems to be the most efficient way to perform these transforms (except reverting to Assembler, of course). The nice thing is that I can now reproduce the same graph on the HP 49G as well as on my Tektronix emulator. Thank you again for your help, which also triggered me to learn more about SysRPL. Martin PS: I must figure out first how the assembler version works before I climb up (or is it down?) to that level... [attachment=8664] Code: ASSEMBLE |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)