KIM-1
1976, MOS Technology, 6502, 1 MHz.
Acceptance test Kim1AcceptanceTests: 6 passing.
It models the keypad, the six LED digits, the RS and ST keys, the SST switch, the teletype on its 20 mA loops with the TTY/KB switch, and both 6530s, with the original monitor ROM.

The machine
Teletype
Off, the monitor uses the keypad and the digits. On, it uses the teletype: press RS, then RUB OUT, and it prints KIM.
The KIM-1 runs in your browser and needs JavaScript. Without it, the keypad, the teletype and the programs below are shown, but nothing runs.
The monitor ROM is MOS Technology's. Who holds it now was not established. No licence or permission from any holder was found. Full rights: Whose ROM this is.
Try it
Type these keys in order, on the keypad or on your keyboard: with focus on the machine, 0 to 9 and A to F press the same keys. After each line the digits should show what is beside it: x is any digit, and blank means dark. The acceptance test types the same program, from the same file, so the two cannot disagree.
RS
Reset. The monitor starts and shows an address and the byte there.
Shows
xxxx xxAD17FADA00+1C
Point the NMI vector at the monitor, at $1C00, so ST can stop a program. The manual's section 4.6 asks for this before ST is used.
Shows
17FB 1CAD0200DAAD+10+02+18+6D+11+02+8D+12+02+4C+0A+02
Enter the program at $0200: LDA $0210, CLC, ADC $0211, STA $0212, then JMP $020A, which loops for ever.
Shows
020C 02AD0210DA27+15
Enter the two numbers it adds, $27 at $0210 and $15 at $0211.
Shows
0211 15AD0200GO
Run it from $0200. The digits go dark, because a running program does not scan the display.
Shows
nothing: darkST
Stop it. The monitor shows where it stopped: the JMP at $020A.
Shows
020A 4CAD0212
Read the result at $0212: $27 plus $15 is $3C.
Shows
0212 3C
The teletype
Most KIM-1s were used from a teletype, a Teletype Model 33 or a terminal like one, on the board's 20 mA current loops. The monitor prints and reads at ten characters a second, sending and timing every bit itself on two pins of the 6530. To use it, turn the TTY switch on, press RS, then RUB OUT: the monitor times the RUB OUT to learn the line's speed, and prints KIM.
Type in the field under the paper. It types in capitals, as the Teletype did. Enter is RETURN, Backspace is RUB OUT, and LF has its own button. Keys typed while the monitor prints wait their turn, so none is lost.
The commands are the User Manual's: four hex digits and SPACE open an address, two hex digits and a full stop store a byte and move on, RETURN moves on without storing, LF moves back, G runs from the open address, and RUB OUT starts again.
The paper, and the speed of the line
The paper shows what the machine printed, decoded from the bits it sent, and what you type, which the board's wiring echoes back to the printer as a real one does. The speed can be raised to 300 or 1200 baud. Press RS and RUB OUT after changing it, so the monitor measures it again.
The try-it program at the teletype, step by step
This session enters the try-it program through the teletype, runs it and reads the result back. After each line the paper should end with what is beside it: x is any hex digit. Kim1TeletypeTests types the same session, from the same file, so the two cannot disagree; that suite has 18 tests passing.
On the keypad: RS
At the teletype: RUB OUT
With the TTY switch on, press RS, then RUB OUT. The monitor times RUB OUT to learn the speed of the line, then prints KIM, an address and the byte stored there.
KIM xxxx xxAt the teletype: 17FASPACE
Open the NMI vector at $17FA: type the address, then a space. The monitor prints the address on a new line, with the byte there.
xxxx xx 17FA 17FA xxAt the teletype: 00.1C.
Point it at the monitor, at $1C00, so that ST can stop a program: type each byte, then a full stop to store it and move on.
17FA xx 00. 17FB xx 1C. 17FC xxAt the teletype: 0200SPACEAD.10.02.18.6D.11.02.8D.12.02.4C.0A.02.
Enter the program at $0200: LDA $0210, CLC, ADC $0211, STA $0212, then JMP $020A, which loops for ever. It is the program the keypad's try-it types.
020B xx 0A. 020C xx 02. 020D xxAt the teletype: 0210SPACE27.15.
Enter the two numbers it adds, $27 at $0210 and $15 at $0211.
0210 xx 27. 0211 xx 15. 0212 xxAt the teletype: 0200SPACEG
Open $0200 and type G to run the program from there. The monitor stops listening while it runs.
0212 xx 0200 0200 AD GOn the keypad: ST
Stop it with ST on the keypad. The monitor prints KIM and where the program stopped: the JMP at $020A.
KIM 020A 4CAt the teletype: 0212SPACE
Read the result at $0212: $27 plus $15 is $3C.
020A 4C 0212 0212 3C
A model of the board
The 3D model loads when you scroll to it.
Drag to turn it, and right-drag or Shift-drag to pan. Click the model, then scroll to zoom, or hold Ctrl or Cmd and scroll. Double-click empty space to reset the view. On a touch screen, tap the model first: then one finger turns it, and two fingers pinch to zoom and pan. With the model focused, the arrow keys turn it, Shift and the arrow keys pan, plus and minus zoom, Home resets the view, and Escape lets go of it. Show tracks puts the copper tracks on the board or takes them off, and Show tracks only fades the parts out so the tracks can be followed.
Model, not a photograph. A drawing of the KIM-1 board in three.js, measured from the photographs below: the green board, 27.3 by 20.0 cm, with the copper tracks of both faces traced from photographs of two Rev B boards, and, under the parts, where no photograph shows the board, taken from a replica of its layout; 22 gold contacts on each of its two edge-connector tabs; the 6502 and the two 6530s, eight memory chips and 11 logic chips; 52 resistors, 18 capacitors, eight diodes, seven transistors, the trimmer, the crystal and the loose red wire this board carries; the six red LED digits, which light with what the running machine's display shows; and the 23 keys and the SST switch, which press the machine's own keys when clicked, and go down when a key is pressed on the keypad above. The parts' places come from the replica's pads and the photographs, and most of their heights were measured by triangulation between two photographs; the rest are the parts' own sizes.
How the model was made
What the board was measured from, its sources and its limits
It is cross-referenced from five photographs of two original Rev B boards, the Musée Bolo's and another on Hans Otten's site, and from a replica of the board's layout in KiCad, traced by its author from another photograph, scaled by its chips' 0.1 inch pin pitch, and built and run. Every photograph was registered to the replica: four corners marked by hand, refined by matching the photograph's copper to the replica's, then a smooth correction for the lens. On parts of the board held out of that fit, the median error is 0.1 to 0.21 mm.
The top face's tracks are a vote between three photographs: the Musée Bolo's board from each end, and the other board, so a track one of them hides is usually seen by another. Checked against each of the three in turn, left out of the vote, the tracks and that photograph's own tracing agree on 66% to 81% of their copper (intersection over union); the map traced from the one photograph this model had before agreed on 38% to 43%, even against the photograph it came from, because it traced the tracks wider and sat a little off where the registration puts them. Against the replica, which is of a later revision and so cannot match everywhere, the match went from 42% to 57%. Under the chips, the display and the keypad, where no photograph shows the board, 8% of the top face, the copper is the replica's.
The underside's tracks are traced from one photograph, of the other board's solder side, which shows 87% of it; they match the replica's underside on 54%. Before, the underside was plain.
Heights were triangulated between two photographs of the Musée Bolo's board taken from different places, with one camera fitted to both. A point on the board itself comes out 0.14 mm above it. The typical heights the model used before were off by 2.33 mm on average, and by 4.16 mm for the socketed 6530.
The parts soldered through the board stand on the replica's pads. Checked against two photographs, a chip's body is found 0.84 mm from where the replica puts it at the median, 1.38 mm at the 90th percentile; that includes the parallax of a chip's top, which stands above the board the photographs are registered on. The keys sit on a grid found from their legends, 0.26 mm from it at the median.
What it was traced and measured from:
- The tracks on the top face, as one of three photographs of it; the keypad's size and its keys' places, the display window, the crystal, the name and the red wire; and a check on where the chips sit: from the photograph of an original MOS Technology KIM-1, on display at the Musée Bolo, EPFL, Lausanne, by Rama & Musée Bolo, cropped by Tomer T, CC BY-SA 2.0 fr.
- The tracks on the top face, as one of three photographs of it, and the heights of the parts, by triangulation with the next photograph: from the photograph of the same board at the Musée Bolo, from its other end, by Rama & Musée Bolo, CC BY-SA 2.0 fr.
- The heights of the parts, by triangulation with the photograph before: from the photograph of the same board at the Musée Bolo, from a low corner, by Rama & Musée Bolo, CC BY-SA 2.0 fr.
- The tracks on the top face, as one of three photographs of it: a different board, so where a part or the red wire hides a track on the Musée Bolo's, this one often shows it; and a check on where the chips sit: from the photograph of another MOS Rev B KIM-1, its component side, on a white ground, by Hans Otten's Retro Computing site, which does not name the photographer, no licence stated.
- The tracks on the underside: the only photograph of it: from the photograph of the same Rev B board turned over: its solder side, by Hans Otten's Retro Computing site, which does not name the photographer, no licence stated.
- What every photograph is registered to; the places of the parts soldered through the board; the tracks under the chips, the display and the keypad, which no photograph shows; and the reference the tracks are measured against: from a replica of the KIM-1's Rev D board, in KiCad, by Eduardo Casino, CC BY-NC 4.0.
What it does not show, or shows less well:
- The underside is one photograph of a different board from the one the rest of the model follows, and only the replica checks it.
- Under the chips, the display and the keypad the copper is the replica's, which is of Rev D, not the photographed Rev B.
- Where the photographs disagree, 10% of what two or more of them see, the vote decides, and the photograph outvoted may be the one that is right.
- One part of each kind was measured for height, and the others of its kind take that height. Of the resistors, capacitors and diodes, two capacitors were measured; the rest take their sizes from their footprints, not from a photograph.
- Resistors, capacitors and diodes are plain cylinders without their bands or printing, and the transistors are round where the real ones are flat on one side.
- The red wire follows the path one photograph shows, drawn lying just above the board.
- The track map has 8 pixels to the millimetre, so close up a track's edge is soft.
About the KIM-1
What is modelled, and what is not
Not modelled: the cassette interface and the expansion bus.
The five photographs of the original, and their credits
Each is credited as its source gives it. Under each is what the 3D model took from it.





Whose ROM this is
The monitor ROM is MOS Technology's, copyright 1975, and MOS was bought by Commodore in 1976; who holds it now was not established, and no licence or permission from any holder was found. Our copy is Hans Otten's dump of real 6530-002 and 6530-003 chips, kept in this repository under roms/ with where it came from, and checked by SHA-256 each time it is read.
- 6530-002: the copy in the repository, SHA-256
e9e5245854603cdbc0208235310db1bf6e6a75904960385baaddd38fe60ef750 - 6530-003: the copy in the repository, SHA-256
f112a707188a82b87de5be78b7ffa014e18240aa08825055c90d2e6626092fd7
The ROM is kept in the repository, in roms/, with where it came from. The site checks it against its hash when it is built, and serves it beside the emulator.