post

Me and my KIM-1

My first computer is a KIM-1. Still have it! A life changing experience!

This is the story of me and the KIM-1.

Philips educational kits.

As a young child, at age 12, I was introduced to electronics with the Philips electronic kits. First a Pionier crystal radio. Easy to build, good instruction manual. Lots of listening pleasure!.

Two years later I bought the Philips EE8 Electronic Engineer kit. Again nice builds (the 8 stands for 8 experiments), with a good manual. Since the manual covered the expansion to the EE20 for 20 experiments, I bought the parts myself one by one at Aurora Vijzelgracht, Amsterdam.
More on the Philips electronic kits.

Radio Bulletin

In 1978 I bought my first computer, a KIM-1. It turned out to be a Rockwell rebadged Rev F Mos Technology board.

The beginning of lots of fun, learning, member of the KIM gg Club and making and publishing in the dutch electronics magazine Radio Bulletin and the KIM Kenner.

In 2014 the big KIM-1 machine was finally taken down in parts, the following photos showed the end result as in 1985 after many years of tinkering.

The KIM-1 system ended as a real production system until 1985, mainly to write articles, all Radio Bulletin and KIM Club Magazine related work was done with this system.

My KIM-1 workplace in 1979, no video terminal, no printer, hand assembly

My workplace setup in 1982: KIM-1, dual cassette, tv monitor, H14 printer, ASCII keyboard

1984, VT100 as videoterminal, what a progress!

Then a CP/M machine took over (a Spectravideo X’Press 738) with the same VT100 as terminal.

  • KIM-1
  • 8K RAM  in system case
  • 32K RAM in expansion case
  • Two ACIA 6850 serial
  • A PIA/VIA card with two 6820 PIA’s
  • Parallel ASCII keyboard with home made logic circuit
  • Video Display 32×32 uppercase characters on an analog TV
  • Dual cassette tape system with motor control
  • MDCR digtal cassette system in second expansion case
  • Radio Grafisch Display in second expansion case
  • Heathkit H14 matrix pinter, serial with RTS handshake via bitbanging RIOT port
  • VT100 Digital Equipment Video display unit VT100
  • Boot tape to load device drivers and Micro Ade (extended to 8K)
  • MICRO ADE assembler/editor, used for program development and article authoring
  • Microsoft Basic KB9 (not used often, nice study material!)
  • Pascal-M compiler and interpreter (mainly development and experiments, not for production)

First the KIM-1, I still have it, in working condition, in my private museum. Changes still visible, are a red acryl cover over the LED displays, a capacitor moved to the back to make it flat enough to fit the case I made and some supports to have it lay stable and safe on a table.

Why a KIM-1?

In 1977 I was reading in the electronics magazines about the revolution taking place: 8 bit microprocessors!
During my study I encountered Digital Equipment machines, PDP-8 in the lab, PDP-11 in the Mathematic Computer Science department, a Minc in Medical Physics group, my major.
The electronics department where I was doing an intern not only introduced to digital electronics and I helped them to introduce the Z80 to the instruments designed for laboratory experiments.
I learned assembler quickly, PDP-11 was a dream come true, the Z80 a bit of a nightmare but you could do so much with effort.

At the same time I started to write for the magazine Radio Bulletin, simple analog and digital circuits and continued to be an editor until 1987. I met Dick de Boer who was writing his famous Microprocessor articles and introduced the KIM-1 to the Dutch electronic engineers. So a KIM-1 with the very attractive 6502 was the logical choice for my first microprocessor system.

First case: memory, connectors, power supply

A KIM-1 itself was fun to learn with, but it quickly needed more; a permanent power supply, protection, easy to access connectors and interfaces for  a bus to have  more memory.
So the case seen in the next figure was built:

Power hungry, so lots of lineair power supplies with large cooling.

The first case I built from alu profiles contained the KIM-1, a backplane for 6 memory boards, a lot of power supplies (lineair, so heat was a problem!), a patch panel to access the expansion connector, cassette I/O, serial interface and various switches.

PCBs handmade, double sided!


Memory 2K RAM Card, BEM Bus Brutech Variant made by Hans Otten
Memory boards were made myself by drawing with Edding ink on the blank PCB, etching and drilling. Filled with 2102 RAM IC’s for 1K per board, it filled lower RAM of the KIM-1 $0400 – $13FF. The bus is a 31 pin DIN connector, based upon the BEM (Brutech) bus.

I bought two of this deck from Radio Service Twenthe, Den Haag, fascinating electroncis dump store!

The next thing I built was a video display unit. All TTL 74XX logic IC’s, a 2513 character generator, a AY-5-1013 character generator, an ASCII keyboard, display on TV 32×32 characters uppercase. RS232 input/output to the KIM-1.
On top of the VDU a dual cassette deck is shown. From the famous Dutch dump shop Radio Service Twente two audio cassette decks were bought, some audio amplifiers and power supply added, and a remote control circuit via a 6532 GPIO line (standard as in Micro Ade). Served me well for many years, in 2014 the decks strings were dried out and crumbled after many years of not being used.

Next was a real expansion cabinet with a long backplane for 32K memory with 8x 4K RAM card, 2114 based, Designed by me, published in Radio Bulletin and sold by Visser Assembling Electronics. BEM bus compatible.

4K SRAM card

4K SRAM card, Radio Bulletin September 1979 part 1  part 2


Production 4K RAM card


Prototype 4K RAM card, also hand drawn on the PCB!

In the expansion cabinet three slots were added for I/O. Two cards were designed by me and published in Radio Bulletin: an ACIA card for two 6850 Motorola ICs, and a PIA card for two PIAs, 6522 or 6520 or 6820 or 6821. I never used more than one ACIA and one PIA card. Shown are the prototype cards, in the article production quality PCBs were used.

PIA and VIA card design by Hans Otten June 1984 Radio Bulletin

ACIA Motorola 6850 by Hans Otten, 1983 Radio Bulletin

On one of the ACIAs a VT100 Digital Equipment terminal was connected, taking over from the bit banged serial interface and the homebuilt video display. ON the other ACIA a Heathkit H14 matrix printer was added, a mediocre but adequate printer.

Together with Micro Ade as assembler and editor, the dual cassette deck, 40K RAM In total, this was a nice machine! Until 1987, when I bought the Spectravideo X’Press 738 MSX and CP/M system, used for all my publishing activities.

A third expansion cabinet was built around 1983. It was driven by the PIA’s, the Radio Bulletin Grafisch Display was inside the cabinet, along with two MDCR Philips Digital cassette recorders, alo published in Radio Bulletin. The speed difference between Hypertape audio cassettes and 2400 baud MDCR speed was not that impressive.

Dirk Dral

EPROM card (Dirk Dral)

The last book of KIM

On his blog Nils has posted for download ‘The last book of KIM’:

Ich habe in letzter Zeit Energie in dieses kleine (auf Deutsch geschriebene) Heftchen gelegt.

Es ist allen Enthusiasten gewidmet, denen, die es werden wollen, und denjenigen, die es waren. Es soll einen in der Computerhistorie bislang unterrepräsentierten Mikrocomputer ins rechte Licht rücken und seine Rolle bei der Entwicklung hin zum modernen Heimcomputer beschreiben.

Viel Spass

Webdoktor

Funkschau 1979 KIM-1 AIM 65 6502 articles

Funkschau 1979 KIM-1, AIM 5 and 6502 articles. German, scanned by Matthias, SBC at VzEkC e. V. forum

post

Funkschau

1979 KIM-1, AIM 5 and 6502 articles. German, scanned by Matthias, SBC at VzEkC e. V. forum

KIM als Morse-Trainer 79/19/1128
KIM als Nf Frequenzzähler 79/6/334
KIM als Siebensegment Fernschreiber 79/14/836
KIM decodiert Morsezeichen 79/15/889
KIM spielt Lotto 79/24/1420
KIM- und SYM-Monitor-Unterprogramme 79/11/652
Kapazitätsmessung mit dem KIM-1 79/12/715
Kassetten-Probleme beim KIM-1 79/5/260
Interrupt-Uhr mit dem KIM-1 79/11/657
Lernen mit KIM 79/18/1073
KIM-Monitorprogramm für Baudot-Fernschreiber 79/26/1425
Eine Morseschreibmaschine 79/14/834
< Gebrauchsanleitung für den KIM-Timer 79/8/466
Digitalvoltmeter mit KIM 79/17/1925
AIM-65 Erweiterungsplatine für Funkamateure 79/16/963
AIM-65 als Morseschreibmaschine 79/16/98
Fernschreiber als AIM-65-Drucker 79/19/1124
AIM-65 empfängt RTTY 79/15/884
AIM-65 sendet RTTY 79/16/953
Der Mikrocomputer AIM-65 79/10/581
Videoausgabe beim AIM-65 79/25/1474
Von A bis Z Sortieren 79/17/128
6502 Rechenroutinen79/17/128
Textausdruck mit Baudot-Fernschreiber 79/16/958
6502 simuliert 8080 79/25/1467
Zusätzliche Befehle beim 6502 79/2/109
Baudot-Ausgabeprogramm für den 6502 79/1/53
Binär-Dezimal-Umwandlung 79/18/1078
Druckerprogramm für den µP 6502 79/5/264
Maskenfehler im 6502 79/10/582
Operationscodes (Mikro-Poster) 79/11/657
ASCII-Eingabe – so ganz nebenbei 1979/7/102
Ein Software-Tondecoder 79/8/470
Plotter für das Speicher-Oszilloskop
So einfach ist es …

Original KIM-1 ROMs reproduced

I have two sets of KIM-1 ROMs. One set is the original KIM-1 dump by Dwight Elvey, in which the filler bytes (unused locations in the ROM) are filled with $00.
Alas the dumps by Dwight have a couple of bit errors and the NMI vector is wrong.

The other set is the result of assembling the source in which the assembler used $FF for the filler bytes. It makes sense to use $FF, since EPROMs can be programmed byte for byte ‘1’ later to ‘0’s.
Functionally the filler byte is irrelevant, so I present here the ROMs with filler byte 00 (corrected Dwight original KIM-1 dumps) and filler byte FF (assembly result).

6530-002 $1C00-$1FFF, filler bytes $FF 6530-002 ROM
6530-003 $1800-$1BFF, filler bytes $FF 6530-003 ROM

6530-002 $1C00-$1FFF, filler bytes $00 6530-002 ROM
6530-003 $1800-$1BFF, filler bytes $00 6530-003 ROM

Small update to KB-9 V1.2 and KB-6 V1.2

Small update to KB-9 V1.2 and KB-6 V1.2: the NULL command is back, to ensure binary compatible tokenized saved Basic programs.
Now the USR location is the same in KB-9 V1.1 and V1.2, 2040 and 2041 (see Nils’ blog KIM-1 Basic and the use of assembler subroutines – netzherpes).

In KB-6 V1.2 it is 8254, 8255.

If you downloaded these , please do it again

post

Replace both 6530s in KIM-1

Eduardo Casino has designed with modern tools, like Kicad and image software Inkscape a PCB for the KIM-1 which is as close as he could get to a Rev D.

This of course brought up the issue of how to get the 6530-002 and 6520-003 for this board, since those are unobtainable since a long time.
That can be solved with a FPGA. Or with a fast microcontroller like the Teensy, that is already proofed to be a good 6502 and more emulator (MCL65+).

As a first step Eduardo designed a PCB that is placed on top of the KIM-1. The 6530-002 and -003 need to be replaced with IC sockets, the PCB inserts in these sockets. It is like the Corsham 6530 replacement board, but now for both 6530s.

The style of the PCB is adapted to the syle of original KIM-1 and Eduardo’s reproduction, with curved lines.

Details, gerbers, Kicad project, at Eduardo Casino’s github page.


KIM-1, MTU Visable Memory, and Memory Tests

post

KIM-1 rev D PCB redesign Eduardo Casino

Eduardo Casino has designed with modern tools, like Kicad and image software Inkscape a PCB for the KIM-1 which is as close as he could get to a Rev D.

Based upon images on the Revisions pages on this site.

On this forum64.de thread he published the design, and made all available on his github pages.


The PCB is an exact PCB replica of the KIM-1. It therefore require s6530-002 and -003 RRIOTs, which are not available anymore.

Dual 6532 adapter board

Replacing the 6530 with a 6532 and ROM and some glue logic is a well known method nowadays.
Eduardo designed a PCB that replaces both 6530-002 and 6530-003 on a standard KIM-1 and of course his replica with a PCB that fits in the IC sockets of the 6530’s. That makes a KIM-1 completely operational!

See this github page for the design.

KIM-1 keypad replacement

See the description here

ZIPtape for KIM-1

Glen Deas sent me an article about the Ziptape cassette interface, 1978, by the late Lew Edwards. Glen made a PCB for it.

The article about the Fast Cassette Interface is part of my CW Moser Assembler/editor package. Scanned by me in 2010 to the file kimfastcassette.pdf and on my website with the CW Moser package for years now .
Glen Deas knew it was designed by Lew Edwards and entered the source in modern assembler format.