Jump to content

Synthetic programming (HP-41)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mu301 (talk | contribs) at 20:37, 4 May 2022 (+refs | Add: year, title, authors 1-2. | Use this tool. Report bugs. | #UCB_Gadget). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Synthetic programming is an advanced technique for programming the HP-41C and Elektronika B3-34 calculators, involving creating instructions (or combinations of instructions and operands) that cannot be obtained using the standard capabilities of the calculator.[1]

Some HP-41C instructions are coded in memory using multiple bytes. Some of these sequence of bytes correspond to instructions the calculator is able to execute, but these cannot be entered in the program memory using conventional program entry methods (i.e. using the calculator as described in the user's manual.) Synthetic programming uses a bug in the calculator firmware to enter those byte sequences as a sequence of other instructions, then partially skipping halfway through the first instruction, so that the calculator believes the end of the first instruction is actually the beginning of a new one.

It is not clear if the creators behind the HP-41 were aware of all these "black holes". HP did not officially support these techniques, but probably was intrigued by the strange operations and in some cases allowed enthusiasts to practice in their offices and helped to improve it among a whole sense of curiosity.

References

  1. ^ Ristanovic, Dejan; Proti, Jelica (2012). "Once Upon a Pocket: Programmable Calculators from the Late 1970s and Early 1980s and the Social Networks Around Them". IEEE Annals of the History of Computing. 34 (3): 55–66. doi:10.1109/MAHC.2011.63. S2CID 15888694.
  • McCornack, Alan; Jarett, Keith (1987). HP-41 Advanced Programming Tips. ISBN 0-9612174-6-4.
  • Dodin, Jean-Daniel (1985). Inside the HP-41C. ISBN 0-9612174-4-8.
  • Mier-Jedrzejowicz, Wlodek (1985). Extend Your HP-41. ISBN 0-9510733-0-3.
  • Wickes, William C. (1980). Synthetic Programming on the HP-41C. ISBN 0962525804.
  • Jarett, Keith (1982). HP-41 Synthetic Programming Made Easy. United States: Synthetix.
  • Microcode-Level Calculator Simulation, by Eric Smith, presented at 2004 Hewlett-Packard Handheld Conference in San Jose, California on 26 September 2004

See also