Author: Dirk Schnorpfeil
Category: Christmas Challenge
System: TI-59 + PC-100C
Language: TI-59 keystroke
Len source code: 101
Len exe file: 101
Len code only: 101
Instructions:
Clear calculators memory, press [LRN] and type the program steps in.
Press [RST] and then [R/S] to start the program.
Description:
PC-100 can print up to 20 chars. This must be done by giving the chars in group of 5 as value in the display register. Any char is coded as 2 decimals with e.g. " " = 00 and "-" = 20. So a line of 5 "-" is coded as 2020202020. After all 4 buffers of 5 chars are set with OP01 - OP04 the line is printed with OP05.
Comments:
Long constants consume a lot of memory as every digits is stored as a single byte. Therefore I tried to calculated the constant 2020202020 by 1/(495E-12) but as i had to turn off the exponential display with [INV][EE] this also resulted in 10 ḱeystrokes (bytes) for the constants. I left it in anyway.