Corsham Technologies KIM Clone Bedienungsanleitung

1
Corsham Technologies, LLC
www.corshamtech.com
617 Stokes Road, Suite 4-299
Medford, NJ 0 055
KIM Clone User Manual
Revision 5 and later Boards
Introduction
Thank you for buying our KIM Clone board, which provides an almost identical look-
and-feel to the original M S Technologies KIM-1 computer.
This board should be very compatible with the original KIM-1 but is not exactly the
same, so there might be a few programs that won’t work on it. However, we’re kept
the hardware very similar and preserved the entry points to all the major
subroutines in the KIM monitor. Some functionality has been removed, such as the
cassette interface, so any code that makes direct calls to cassette storage/retrieval
functions will not work.
Overview
The KIM Clone has a lot of features packed into it while still employing a fairly
standard design with commonly available parts.
•RAM from 0000 to 13FF. The original KIM-1 had only 0000 to 03FF.
•EEPR M from 1800 to 1FFF containing a modified KIM monitor.
•6530-like I/ , timer and RAM like the original KIM.
•RAM from 2000 to DFFF.
•Either RAM or EEPR M from E000 to FFFF.
•Vectors can point to either the original KIM monitor or your own code.
•No cassette interface for program storage.
•The spare 6532 has a header for connection to a Corsham Tech SD Card
System.

2
•The teletype interface is now a USB device that appears as a C M port on a
personal computer.
•Bigger buttons on the keyboard.
•A standard power connector taking 7.5 to 9 volts DC input.
•A power switch.
•Expansion connectors.
Power-on reset.
It’s Out of the Box. Now What?
Let’s make sure a few switches are set to the right positions. These should have all
been set by us when we did final testing, but a quick check is always a good idea.
Before plugging anything in, make sure these switches are set to the proper
position:
•Set S1 (P WER) to FF.
•Set SW2 to KBD.
•Set SW3 (VECT RS) to KIM.
•Set SW4 (SST) to FF.
Plug in the power supply to the AC power and then J1 (8 VDC).
Are you ready? Turn on the Power switch and you should see LED1 (P WER) come
on and the 7 segment displays all come on with a random pattern.
Congratulations! Your KIM Clone is up and running!
Where to Get More KIM Information
Or, where to go from here
There are two reference books you’ll want to get, either via the many sites that host
these documents or acquiring paper copies.
he KIM User Manual
This was one of three books that came with the original KIM-1 and was the most
useful. It contains instructions on how to use the monitor program, how to expand,
etc. There are many copies on-line but some of them are missing pages (as did some
versions of the original paper version). This one is one of my favorites as it has all
the pages and is nicely indexed:

3
http://www.kim-1.com/usrman.htm
he First Book of KIM (otherwise known as FBOK)
The User Manual was great, but lacked any useful programs, so a bunch of early KIM
users gathered dozens of good programs and bundled them as the First Book of KIM.
If you owned a KIM, you owned a FB K.
Again, many copies are on-line, such as:
http://www.classiccmp.org/cini/pdf/Commodore/The%20First%20Book%20of%
20KIM.pdf
Both of these appear on eBay and Amazon, usually at crazy prices, but sometimes
you’ll find them at reasonable prices.
FBOK in the KIM Clone
If you’ve looked through FB K, you might have noticed a couple fun programs that
we put into the KIM Clone EEPR Ms. At address 1800 is Lunar Lander, and at 1803
is Farmer Brown. Read the instructions first, then run them with these sequences of
key strokes:
Lunar Lander
[AD] [1] [8] [0] [0] [G ]
This was always a hit when family came over to visit and see what my computer
could do. Remember that very, very few people had computers back then so being
able to play a game was typically the first experience most people had back then
with a computer they could see and touch.
As Lunar Lander is running, the leftmost four digits are the altitude while the two
right digits are the current speed. The goal is to land with a speed of 5 or less, while
not using all your fuel. You can see your fuel by pressing the F key, then switch back
to altitude with the A key.
My late brother-in-law Glenn used to work on landing with the fewest number of
keystrokes, the ultimate goal being able to land with one or two. I can’t remember
whether he ever achieved his goal, but here is a three-key sequence that works
nicely for me:

4
When the lander hits a speed of 75, press 5. This applies enough thrust to maintain
the current speed. Now just coast down towards the plant’s surface. When the
altitude reaches 1000 (feet? Meters?), press 8. You’ll be dropping fast, but the rate
of descent will slow down. nce your speed reaches 5, press the 5 bottom and just
wait for a safe landing.
Short version:
•When speed reaches 75, press 5.
•When altitude reaches 1000, press 8.
•When speed reaches 5, press 5.
After Glenn passed away, I spent many hours trying to perfect various two-button
solutions, but never got a one button solution that worked reliably. So here it is, but
it requires careful attention when doing the first button press. If the speed reaches
83 then you’ll almost certainly die:
•When speed reaches exactly 82, press 6.
•When speed reaches 5, press 5.
Farmer Brown
This was another favorite of family and friends. When this was loaded into RAM, the
fun part was changing the table of the six animal patterns. Since this version is in
EPR M you can’t do that, but it’s still a fun game. I like running this at vintage
computer shows and demonstrate the “graphics” capabilities of a computer with six
7-segment LEDs (not much) to kids.
[AD] [1] [8] [0] [3] [G ]
Press RS (reset) to end either game.
Using the Y Mode
Back when the KIM-1 was popular, teletypes were the most common terminal, as
they were readily available used for a decent price. A lot has changed in 40 years.
Now we use our PCs/Macs/whatever and run a terminal emulator.
The KIM Clone has a type B USB connector on the back edge. When this is plugged
into your PC, it might take a minute for the proper device driver to be loaded, but
you should get a new C M port corresponding to your KIM.

5
Suggested parameters are:
•2400 baud
•8 bits
•No parity
•Two stop bits
Set S2 to TTY, press RS (reset), then hit ENTER/RETURN on your keyboard and the
KIM Clone should respond with a prompt like KIM Clone v1.0. Please reference the
KIM User Manual for what to do at this point.
Known Issues
Despite our best efforts, there are some issues you should be aware of.
Rev 3 and older boards did not have expansion capability.
Some rev 1B boards do not support single step properly. All boards shipped since
12/3/2017 have a modification done to allow single step to work properly. For
those with a rev 1B board who want to see if their board has been modified or not,
look on the bottom of the board to see if there is a .001 uf capacitor between pins 7
and 8. If the capacitor is present, then the board supports single step.
For the 6502 in single step mode, it single steps everywhere except in the monitor
EPR M, so any calls to functions in the extended monitor also single step.
While using single step, the NMI line is driven directly and is not using an open
collector. Ie, single step and an external NMI won’t work together.
Changes between Revision 2 and Revision 3 Boards
Revision 3 boards had a number of minor changes to fix know issues on Revision 2
boards. No new features or capabilities were added.
•IC19 was removed
•IC18 changed from 74AVC1T45 to 74LVC1T45
•IC16 changed to 74LS00
•IC7 and IC8 changed to 74LS145
•R37 and R38 changed to 470 ohms
•C18 was added
•IC17 had power routing fixed

6
Changes between Revision 3 and Revision 4 Boards
•Addition of expansion connectors
•Removal of reverse current protection diode
•Reset circuit was replaced by a single part which also does power-on reset
•Larger circuit board with many parts moved around
Connectors and Switches
There aren’t a whole lot of switches and connectors, but the few deserve some
explanation.
J1 – POWER
This is the power input jack. This feeds the 5 volt regulator so while supplies as
high as 12 volts could be used, we really recommend 7.5 to 9 volts maximum so as
not to overheat the regulator. The center pin is positive, outer sleeve is negative.
There is a diode to protect the board from incorrect polarity.
S1 – Power
This is the main power on/off switch. No further explanation is necessary. Note
that the USB interface chip derives power from the main PC, so the power switch
does not turn off the USB interface.
SW2
This selects the input/output device. Normal KIM mode is to have it in the KBD
position which means the LEDs and the keyboard are the “console” for the KIM.
This is the normal mode for a KIM-1.
When the switch is set to TTY then the monitor will use the external terminal (USB)
as the console. Remember when you first choose TTY that you’ll need to press RS
(the red button) and then hit RETURN on your terminal so the monitor can measure
the baud rate. Typically baud rates of 4800 or less work best.
SW3 – VEC ORS
The 6502 has three interrupt vectors: RESET, NMI and IRQ. n the KIM they all
default to pointing to code in the KIM monitor, but our board allows you to use
vectors in the KIM EPR M or the expansion EEPR M.
This switch is normally set to the KIM position.

7
SW1 – SS
This enables the single-step option for the 6502 processor, but it requires a
capacitor be added to the bottom side of the board on U16 between pins 7 and 8.
Please reference the KIM User Manual for details.
JP1
This selects whether E000-FFFF are connected to RAM or EEPR M. If you wish to
use the extended KIM monitor in the Expansion EEPR M socket, this must be set to
the EEPR M position.
JP2 – AUX IRQ
Installing this jumper connects the interrupt line from IC9 to IRQ. This is normally
not installed.
JP3 – MAIN IRQ
Installing this jumper connects the interrupt line from IC9 to IRQ. This is normally
not installed.
JP4 – 6502
If you are using a 6502 processor then this must be installed. If you are using a
65C02, this must be removed. If installed, pin 1 of IC1 (the processor) is grounded.
SV1
This connector is used to access the I/ pins on the 6532 chip at IC9. It is meant to
be used along with our SD Card System to provide mass storage for the KIM Clone,
but can also be used for general purpose I/ . Be aware, though, that there is no
buffering between these pins and the 6532 pins so care must be taken not to draw
too much power or exceed 5 volts on these pins.
Pin 1 and 2 can be located from this photo of the board; the pin numbers are no
longer visible once the connector is installed:

8
All of the even numbered pins are on row closest to the top edge of the circuit board
while all the odd numbered pins are on the other row.
Pin Use Pin Use
1 PA0 2 PB0
3 PA1 4 PB1
5 PA2 6 PB2
7 PA3 8 PB3
9 PA4 10 PB4
11 PA5 12 PB5
13 PA6
15 PA7
17 PB6 18 PB7
23 +8 volts 24 +8 volts
25 Ground 26 Ground
Any pins not in the chart above are not connected to any signals on the KIM Clone
board. The +8 supply lines are most likely 8 volts, but whatever power level is
applied to J1 and then run through the 1N4001 diode at D2. While we haven’t rated
exactly how much power can be drawn from these pins, it is meant to be enough to
power a typical microcontroller such as an Arduino.
The pin usage might seem odd but they were arranged this way to agree with the SD
Card System, which was based on pin mappings used on the Corsham Technologies
SS-30 parallel card.
JP5 – 8K ENABLE
These jumpers control whether an address in that particular 8K address space will
be mapped to the on-board RAM The four jumpers and their corresponding address
rages are:

9
Label Address Range
K1 0400-07FF
K2 0800-0BFF
K3 0C00-0FFF
K4 1000-13FF
JP6 – 1K ENABLE
These jumpers are normally installed. They control whether an address in that
particular address space will be mapped to the on-board RAM The four jumpers
and their corresponding address rages are:
Label/Address Range Normally Installed
0000-1FFF No
2000-3FFF Yes
4000-5FFF Yes
6000-7FFF Yes
8000-9FFF Yes
A000-BFFF Yes
C000-DFFF Yes
E000-FFFF Yes
Addresses 000-1FFF are part of the KIM’s lower 8K which are always mapped to on-
board RAM, R M, timers and I/ devices. Putting in the jumper for 0000-1FFF will
cause a lot of confusion as multiple devices will respond to the same address.
Addresses E000-FFFF are also affected by JP1, so if the jumper is installed for that
block, then JP1 determines if the space is mapped to RAM or EEPR M.
Expansion Connectors
The primary improvement in the Rev 4 design is the addition of many bus signals on
two edge connectors to make it possible to add custom designed add-on boards.
Please note that none of the signals are buffered so it is highly recommended that
any external board provide its own buffer so as not to load down the bus too much.
Any pin marked as reserved is not connected to any signals on the KIM Clone, but
are meant for specific uses on motherboards. Please do not use them for custom
boards.

10
Both connectors are female on the KIM Clone. EXPA has 30 connections while EXPB
has 40. The connectors are standard 2x15 or 2x20 pins with .1” (2.54mm) spacing
between pins.
EXPA is located above EXPB. The lower pins on EXPB (39 and 40) are centered 1.5”
from the bottom edge of the board. The top pins (1 and 2) are located 3.4” from the
bottom of the board. EXPA pins 29 and 30 are located 4.4” from the bottom of the
board, and pins 1 and 2 are 5.8” from the bottom. These distances will remain the
same in future versions unless there is major problem that requires changes.
EXPA Connector
Pin KIM Clone Use
1 & 2 Ground
3 & 4 +8 VDC
5 & 6 Reserved Reserved for +5 on motherboards
7 /RESET 6502 RESET line, active low
8 PH2 6502 phase 2 clock
9 PH0 6502 phase 0 clock
10 S 6502 S signal
11 R/W High = read, low = write
12 PH1 6502 phase 1 clock
13 /RDY
14 /IRQ
15 SYNC
16 /NMI
17 /RAM_SELECT Pull low to select RAM on KIM Clone, or pulled
low when KIM Clone RAM is
selected.
18 Reserved Reserved for motherboard use.
19 & 20 Reserved
21 – 30 Not used User-defined functionality
EXPB Connector
Pin KIM Clone Use
1 & 2 Ground
3 A15
4 A14
5 A13
6 A12
7 A11
Inhaltsverzeichnis
Beliebte Computerhardware Handbücher anderer Marken

EMC2
EMC2 VNX Series Betriebsanleitung

Panasonic
Panasonic DV0PM20105 Bedienungsanleitung

Mitsubishi Electric
Mitsubishi Electric Q81BD-J61BT11 Bedienungsanleitung

Gigabyte
Gigabyte B660M DS3H AX DDR4 Bedienungsanleitung

Raidon
Raidon iT2300 Bedienungsanleitung

National Instruments
National Instruments PXI-8186 Bedienungsanleitung











