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
To test my new HDMI 4K USB Video Capture I made two videos. Simulator running on one notebook, the other notebook with t...
With the help of users on the German Classic Computing forum I have added many manuals and magazines in German about tho...
Another article from the Dutch KIM Kenner magazine: RECORDING PROGRAMS WITH THE KIM-1 AND THE CASSETTE RECORDEROrigin...
Stephen Crozier made a clone of the Unilab Three Chips main board.