Post Reply 
CLASSIC KEYSTROKES
03-09-2014, 04:43 AM (This post was last modified: 09-22-2020 10:00 PM by Mike T..)
Post: #1
CLASSIC KEYSTROKES
I was trying to remember if any of the clasic, woodstock, spice, topcat or voyager series machines used any merged keystroke commands with more than four keystrokes - I couldn't think of any one the machines I have, but have I missed any?

(It would be nice if I could store up to all the valid keystrokes, using two bcd nibbles each, in an unsigned long int..)

Thanks

Mike T.

HP21, HP25, HP32E, HP33C, HP34C, HP10C, HP11C, HP12C, HP32S, HP22S
Find all posts by this user
Quote this message in a reply
03-09-2014, 11:21 AM
Post: #2
RE: CLASSIC KEYSTROKES
(03-09-2014 04:43 AM)Mike T. Wrote:  (Reason for queston - For storage up to four keystrokes, two bcd nibbles each, will fit into an unsigned long int..)

If I'm not mistaken, the merged commands are stored as a single op-code entity (in most cases a single byte). The assembly of the instruction from the key code sequence as well as the disassembly into keystrokes for display are separate steps. That is the reason why a 97 can execute programs from the 67 read in from cards. The op-codes are not related to the keystrokes required to enter them.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
03-09-2014, 06:23 PM
Post: #3
RE: CLASSIC KEYSTROKES
Finally decided it is time to rewrite my simulator in C using X windows and I'm planning on using a long int to store the key strokes as they are entered. (I can't be bothered with the hassle of managing string storage and the swtich statement doesn't allow use of strings anyway).

As I'm learning C at the same time it should be an 'interesting' experence.

Mike T.

HP21, HP25, HP32E, HP33C, HP34C, HP10C, HP11C, HP12C, HP32S, HP22S
Find all posts by this user
Quote this message in a reply
Post Reply 




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