Speed of HP-49G Routine for Tektronix Vector Graphics Terminal
|
08-06-2020, 12:30 AM
Post: #16
|
|||
|
|||
RE: Speed of HP-49G Routine for Tektronix Vector Graphics Terminal
(08-04-2020 09:45 AM)Martin Hepperle Wrote: The background with the scaling factors is this: Since you are scaling, you could run your Tektronic in its 'backwards compatible' mode by sending the 4-character codes used by the previous 1024x1024 resolution model (which it should auto-detect). These are much simpler to calculate. The following code expects X,Y on the stack in the range 0..1023 and uses list processing to speed up ordinary userRPL. Code: << DUP ROT DUP 4 ->LIST R->B The other option to consider would be to generate your coordinates as an N x 2 matrix or list and use list processing to calculate a string of N codes all at once. I'll see if I can adapt the above when I have a spare moment. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)