A complete 6502 Integrated Development Environment (IDE) for writing assembler source code, including editor, assembler, debugger and EEPROM programmer, see screenshot above.
The hardware comes with a 6502 micro-controller, 8 KByte EEPROM, 32 KByte RAM and an I/O interface based on an Intel 8255 PPI (Programmable Peripheral Interface), offering three 8-bit ports. The audio tape interface is realised by an NE565 PLL and the RS232 serial interface is based on a MAX232 IC
The built My-KIM computer has the following features:
A complete 6502 Integrated Development Environment (IDE) for writing assembler source code, including editor, assembler, debugger and EEPROM programmer, see screenshot above.
The hardware comes with a 6502 micro-controller, 8 KByte EEPROM, 32 KByte RAM and an I/O interface based on an Intel 8255 PPI (Programmable Peripheral Interface), offering three 8-bit ports. The audio tape interface is realised by an NE565 PLL and the RS232 serial interface is based on a MAX232 IC
Manfred extended a UNIX like console assembler to a window based 6502 Integrated Development Environment (IDE), offering the following features:
Loading, editing and saving 6502 assembler source code files
Assembling the source code and generating Intel Hex files as well as List files
Debugging the source code including break point definitions
Showing and editing the total 6502 memory area
Flashing the binary code to an 8 KByte EEPROM
It shall be mentioned, that the assembler can only be used for the early 6502 processors, but not for the 65C02 successor, having additional instructions not supported by this assembler.
Here the German text of the forum thread.
da Winter, Corona mit sozialen Einschränkungen und Rentnerdasein auf den gleichen Wochentag fielen, habe ich beschlossen, den KIM-1 Single-Board Computer basierend auf dem 6502 Prozessor nachzubauen. Dieses Board hatte ich 1977 gekauft und mit dynamischen RAMs, Tastatur und TV-Monitor sowie Microsoft BASIC aufgemotzt. Damit war ich der einzige an der Uni, der einen eigenen Computer besaß. Die Kommilitonen durften weiterhin mit Lochkarten die CDC-6000 bestücken. Leider ist das Unikat irgendwann auf dem Wertstoffhof gelandet.
Beim Nachbau habe ich soweit wie möglich die gleichen Bauteile verwendet, jedoch mit 32 KByte RAM und 8 KByte EEPROM aufgemöbelt. Darüber habe ich eine Integrated Development Environment (IDE) zum Editieren, Assemblieren und Debuggen von 6502 Assembler Source Code entwickelt, siehe My-KIM-IDE.exe (braucht keine Installation). Mit dieser IDE kann der KIM-1 Nachbau auch im sogenannten TTY Mode betrieben werden (RS232 mit USB Adapter). Außerdem kann Microsoft BASIC in der Version 1.1 aus dem Jahr 1977 (KB9.BIN) geladen werden und die Programme können auf dem PC gespeichert werden.
Das Projekt ist im attached ZIP File vollständig dokumentiert, siehe das 60-seitige My_KIM.pdf Dokument.
To test my new HDMI 4K USB Video Capture I made two videos. Simulator running on one notebook, the other notebook with the HDMI capture dongle recording with OBS Studio.
Simple program
0200 a9 cd LDA #$CD
0203 8D 00 03 STA $0300
0206 4C 00 1C JMP MONITOR ; KIM monitor
This page is a Work in Progress since November 2022!
The clones of the KIM-1 that appeared the last years have renewed the interest of the retro scene.
Old software is restored or typed in again and adapted to the current use of serial terminal emulators and cross assemblers instead of the hardcopy Teletype interface and native assemblers of the old days.
; THE FOLLOWING ROUTINES MAY BE ENTERED VIA THE
; "GO" KEY ON THE KEYPAD.
;
; FC00 - SUPRTP - KIM CASSETTE HIGH SPEED DUMP.
; FE3B - COMPTP - ROUTINE TO COMPARE A KIM FORMAT
; CASSETTE WITH CONTENTS OF MEMORY.
; FE46 - VIEWTP - ROUTINE TO LOOK AT A KIM FORMAT
; CASSETTE WITHOUT ALTERING MEMORY.
; FE4F - LOADTP - ROUTINE TO LOAD A BLOCK IN KIM
; AUDIO CASSETTE FORMAT.
; FCEA - LDSYS - ROUTINE TO LOAD MULTIPLE BLOCKS
; INTO MEMORY REGARDLESS OF THE ID
; NUMBERS ON THE TAPE. UPON LOADING A
; BLOCK THAT BEGINS AT $EF, THE
; ROUTINE JUMPS TO ($EF).
This source for an enhancement of the KIM-1 contains Jim Butterfield’s Supertape and some other utilities and code.
The PROM is to be placed on top of memory, it contains the RESET/NMI/IRQ vectors.
The source listing for a PROM designed to enhance the KIM-1.
Written by René Vega of Detroit in September 1976. From the archives of Peter Jennings.
; THE FOLLOWING ROUTINES MAY BE ENTERED VIA THE
; "GO" KEY ON THE KEYPAD.
;
; FC00 - SUPRTP - KIM CASSETTE HIGH SPEED DUMP.
; FE3B - COMPTP - ROUTINE TO COMPARE A KIM FORMAT
; CASSETTE WITH CONTENTS OF MEMORY.
; FE46 - VIEWTP - ROUTINE TO LOOK AT A KIM FORMAT
; CASSETTE WITHOUT ALTERING MEMORY.
; FE4F - LOADTP - ROUTINE TO LOAD A BLOCK IN KIM
; AUDIO CASSETTE FORMAT.
; FCEA - LDSYS - ROUTINE TO LOAD MULTIPLE BLOCKS
; INTO MEMORY REGARDLESS OF THE ID
; NUMBERS ON THE TAPE. UPON LOADING A
; BLOCK THAT BEGINS AT $EF, THE
; ROUTINE JUMPS TO ($EF).
For Focal V3D a setting has to be made in the Settings, to allow Focal to do its magic in the input routine.
By working on Focal I did add comments to the disassembly of what I found. You will find the original by Paul R. Santa-Marie and my partly commented version in the archive.
This article is written by Jeff M. Nay, about his experiments to restore a KIM-1 to working order, testing the 6530-002 RRIOT with his own KIM-1.
The challenge was to address the second 6530-002 in this setup at another address then the onboard 6530-002 RRIOT.
The experiment was a success, the 6530-002 is indeed in a bad state, the ROM is corrupt and it had to be replaced.
The KIM-1, from a friend, was in a bad state. The repair was a success also. He was able to get this old KIM-1 working again, after only having to replace, the 6502 CPU, the 6530-002 RRIOT Chip with a Corsham 6530 Replacement board, all 8 Memory Chips and the U17 7406 inverter.
Attach Breadboard to working KIM-1, using Expansion Port and using K4 and K2 from Application Port (Corsham Application Board)
NOTE: Turn all SW1 switches on CORSHAM Board Off (Or data will repeat at K1,K2,K3,K4)
I started by wiring the data lines on the 6530 to the expansion board pins 15-8.
Then the address lines to pins A-L.
Now it is just a matter of wiring the control lines correctly.
I have phase 2, pin 3 of the 6530 going to pin U of the Expansion board (Yellow)
I have pin 4 (RSO) of the 6530 going to (K4) of my Corsham Application Board – (Don’t forget pull up resistor) (Blue)
I have RES pin 16 of the 6530 wired to pin 7 (RST) of the Expansion board
I have pin 18, (CS1) on the 6530. Going to (K2) of my Corsham Application Board – (Don’t forget pull up resistor) (White)
I have Power going to pin 20 and Gnd going to pin 1
You should be able to read ROM at $1000
Looking below at the data sheet, where the address of the I/O and RAM are determined by A9-A6. This means it is not hard set for $1700 or $1740.
K5 ($1400) + A9-A6 determines where the IO of both 6530s will start and end.
I ended up using K2, which starts at $0800 + A9-A6 means my I/O registers should start at $0B40 for the 6530-002 or $0B00 for the 6530-003
I also use K4 for the ROM section of the 6530-002 which starts the ROM section at $1000
Onboard 6530s
6530-003
A9+A8 = 1100000000 = 300H to 1100111111 = 33FH
(K5) $1400+$300 Start the IO for 6530-003 at $1700.
(K5) $1400+$33F End the IO for 6530-003 at $173F
6530-002
A9+A8+A6 =1101000000=340H to 1101111111=37FH
(K5) $1400+$340 Start the IO for 6530-002 at $1740
(k5) $1400+$37F End the IO for 6530-002 at $177F
Bread Board 6530-002
6530-003
A9+A8=1100000000 =300H to 1100111111=33FH
(K2) $0800+$300 Start the IO for 6530-003 at $0B00.
(K2) $1400+$33F End the IO for 6530-003 at $0B3F
6530-002
A9+A8+A6=1101000000=340H to 1101111111=37FH
(K2) $1400+$340 Start the IO for 6530-002 at $0B40
(K2) $1400+$37F End the IO for 6530-002 at $0B7F
This is the ROM of 6530-002 breadboard being accessed at $1000 (85)
The brochure of KIM-5 etc is from Commodore, the KIM-2 RAM was already dropped for a higher capacity KIM-3B. The KIM-5 was still mentioned as product. Alas I have never seen or heard of a KIM-5 in the hands of a user. So the ROMS are lost alas.