Pocket calculator for the KIM-1

Siep de Vries Westvries Computing The Netherlands 1977

Simple calculator (integer 6 digits positive) + – / *

I/O via TTY or keypad/LED display, the same method as used by the KIM-1 monitor.

Two versions (scans included): a special publication from the first days of the KIM Club in a traditional 6502 assembler and a later version for the Micro ADE assembler editor.

The versions are functionally identical, the memory layout of zeropage is different.

Sources included of both versions (TASM 32), with resulting listing and papertape and Intel hex files.
As close to paper original, changes due to assembler quirks.

– Load papertape
– choose TTY or keypad/LED via switch

– Input is given by entering a decimal number followed by a function key
(only + – / * seems to work)

Functions (first KIM-1 keypad, second TTY keyboard)
A = + = add number to result
B = – = subtract number from result
C = * = multiply result by number
D = / = divide result by number
E = c = clear input number
F = A = clear result
AD = r = remainder of last division
DA = i = number stored in memory
+ = c = number from memory
PC = % = calculate percentage
GO = C = clear result

? displayed means integer arithmetic error (overflow or negative)

Hans Otten, 2021 – 2022
Tested and Screenshots made with theKIM-1 Simulator

KIM-1 Simulator Version 1.0

KIM-1 Simulator Version 1.0, out of beta, all planned functionality implemented. Console has now ANSI color mode subset implemented.

Convert hex formats and KIM-1 Simulator KIM-1 audio tape support

Both Convert 8 bit hex formats and the KIM-1 Simulator now support the emulation of KIM-1 audio tapes. All available and tested on Windows, Ubuntu and Raspberry PI OS.



KIM-1 Simulator, another update

I keep on working on this program, so much fun letting the old KIM-1 experience come alive again.

0.13.1 brings tape support in the KIM-1 way: you enter the start address, end addres and tape ID and strat the tape save at location 1800, load from 1873.

A popup appears to choose file to laod/save form, while the KIM-1 waits for the laod and save to finish. Success or failure is reported as the KIM-1 monitor does: 0000 (OK) or FFFF (not OK) as address.

Also the main screen has seen some updates, the console is bigger and one can choose fore and background colior.Many VT100 cursor control works now, more to come.
Tasting and building now on Windows, Raspberry PI OS and Ubuntu.

Work planned:
– color managing in Console to allow reverse video, coloured characters, more VT100/ANSI ESCape support.
– add tape file support to the general memory laod and save routines, also in the Convert 8 bit hex formats program.
– thinking how to add 6532 timer support

Enjoy and tell me what you think!