Known 6530 variants

6530-002 $1C00-$1FFF KIM-1 listing in KIM-1 Users manual
6530-003 $1800-$1BFF KIM-1 listing in KIM-1 Users manual
6530-004 $7000-$73FF TIM Terminal Monitor, see the TIM page
6530-005 According to this OSI appnote this is an unprogrammed version of the 6530 TIM
I have only seen ads for this part without further description of what this is.
It has the 16 I/O lines, 64 word RAM and the timer, which can generate an IRQ. One can assume the ROM is empty.

6530-006 Allied Leisure pinball version 1 (IC6)
6530-007 Allied Leisure pinball version 1 (IC3)
6530-008 Allied Leisure pinball version 1 (IC5)
6530-009 Allied Leisure pinball (IC5)
6530-010 Allied Leisure pinball (IC6)
6530-011 Allied Leisure / Fascination pinball (IC3)

6530-012 Gottlieb System 1 sound board (R3014-12)
6530-013 Gottlieb System 1 sound board (R3014-13)
6530-014 Gottlieb System 80 series sound board (R3016-11)
6530-016 Used in Gottlieb system 80/80A/80B sound boards

6530-024 Commodore Chessmate (based upon Peter Jenning’s MicroChess)

6530-241 MIOT in pinball machines
6530-243 MIOT in pinball machines

Commodore diskdrives ROM at $FC00-$FFFF

901466-01 6530-??? 2040 DOS 1.0 Shugart SA390 2040, 3040 and 4040
901466-02 6530-028 4040 DOS 1.2 Shugart SA390 2040, 3040 and 4040
901466-04 6530-034 8050 DOS 2.0 DOS 2.1 Shugart SA390
901483-02 6530-036 8050 DOS 2.5
901483-03 6530-038 8050 DOS 2.5 Micropolis 1006-II (8050)
901483-04 6530-039 8050 DOS 2.5 Tandon TM100-3M (8050)
901884-01 6530-040 8X50 DOS 2.7 Tandon TM100-3M (8050) Tandon TM100-4M (8250)
901885-01 6530-044 8X50 DOS 2.7 Micropolis ???
901885-04 6530-047 8X50 DOS 2.7 Micropolis 1006-II (8050) Micropolis 1006-IV (8250) Micropolis 1106-II (Safari, mit Garagentor, 8050) Micropolis 1106-IV (Safari, mit Garagentor, 8250)
901869-01 6530-048 DOS 2.7 M.P.I. 101SM (8050)M.P.I. 102?? (8250)
251256-02 6530-050 8250 DOS 2.7 Matsushita JU-570-2 (8250LP)
251257-02A 2716 DOS 2.7 Matsushita JU-570 (SFD-1001) Matsushita JU-570-2 (SFD-1001)
251474-01B 2716 DOS 2.7 Matsushita JU-570-2 (8250LP)

Replacing the 6530-002 and -003 in a KIM-1 has become quite easy. See this page on replacements with a 6532, some glue logic and a (E)EPROM.

The RRIOT in CBM disk drives are only different in the ROM contents The rest is as follows:

– Pin 18 is PB6 (no CS1).
– Pin 19 is CS2 (noPB5) .
– Pin 17 (PB7/IRQ) has no Pullup.
– ROM is in $FC00 bis $FFFF (RS0=0, CS1=X, CS2=1).
– RAM is in $0000 bis $003F (RS0=1, CS1=X, CS2=0, A9=,0 A8=0, A7=0, A6=0).
– I/O is on $0080 bis $00BF (RS0=1, CS1=X, CS2=0, A9=,0 A8=0, A7=1, A6=0).

Logic of addressing:

 	RS0	CS1	CS2	A9	A8	A7	A6
ROM	0	X	1	-	-	-	-
RAM	1	X	0	0	0	0	0
IO	1	X	0	0	0	1	0

Via an adapter board Commodore reused older 6530’s with new firmware by disabling the built in ROM and adding a 2716.
See Zimmers Commodore archive. Note that not just any 6530 can be used in this way, only the 6530’s from the Commodore diskdrives. A more general approach with a 6532 is described here.

Most if the information on this pages is also found on the pages of Martin Hoffman Vetter

RIOT 653X datasheets

Datasheets 6530

The 6530 was produced by most licensed 6502 manufacturers, from MOS Technology/Commodore SG to Rockwell and Synertek. All production datasheets that I have seen are identical, there are subtle differences in the CMOS versions regarding the timers. Rockwell had a 6532A type listed at 2 MHz.
The oldest one is a preliminary MOS datasheet for the MCS6530, missing the ordering pages of the production version.

MOS Technology MCS6530 Memory IO Timer Array
Preliminary Data Sheet 1975
MOS Technology MCS6530 Memory IO Timer Array
Preliminary Data Sheet 1975-08
MOS Technology MCS6530 Memory IO Timer Array
Preliminary Data Sheet 1975
Commodore 6530 6520 datasheet
Commodore 6530 datasheet
MOS 6530 datasheet
> Commodore MOS 6530 datasheet
MOS6530
Rockwell r6530 RRIOT
Synertek sy6530

6532

MOS 6532 RIOT Preliminary feb 1977
Commodore MOS 6532 RIOT
Commodore MOS 6532 RIOT
Rockwell R6532
Rockwell R6532
6532 timer interrupt precautions
6532 timer interrupt precautions
Rockwell R6532 RAM IO Internal Timer Device (RIOT)
synertek sy6532

CMOS 6532

The 6532 exists in CMOS variants, I have only seen the California Micro Devices GTE 65SC32 variant.

Synertek 65C32 preliminary
GTE G65SC32
CMD G65SC32
GTE G65SC32

Other RIOTs
In Rockwell databooks there are more RIOTs described. 6531, 6534. Never seen in the wild, a mention here and there of being used in pinball machines.
The timer/counter is a lot more capable, 16 bits etc.

R6531 ROM-RAM-I/O-Counter (RRIOC)
R6531 ROM-RAM-I/O-Counter (RRIOC)
R6531 ROM-RAM-I/O-Counter (RRIOC)
Rockwell R6534 ROM-IO-Counter (RIOC)

V1.3.7 KIM-1 Simulator

New version of the KIM-1 Simulator. Now version 1.3.5. 3 oktober, and now 9 oktober 1.3.7!

– text file upload in console also accepts UNIX style line endings and DOS type
– Debugger more visible in main form, and new menu with Search, Fill, Move/copy in memory
– added PRG Commodore binary file load and save (for the IEC users!)
– debugged and tested the VT100 codes of the console

Download at the usual place!

Patches to Microsoft Basic K-1008-2L MTU

Added to the MTU pages:Patches to Microsoft Basic K-1008-2L sources and binaries, ready to run!

post

K-1008-2L Patches to Microsoft BASIC

Patches to Microsoft Basic K-1008-2L sources, binaries and demos

This package was distributed as a manual and a cassette with some binaries. The user is supposed to type in and adapt the sources himself.

K-1008-2L Patches to Microsoft BASIC manual, cleaned up
K-1008-2L Patches to Microsoft BASIC original scan by Dave Plummer

The original sources of the Basic patches, the Basic demonstration program and the parallel keyboard routine are typed in by me in october 2023.

Assembler and binary versions of the Patches
Download here the assembler sources and binary versions of the K-1008-2L Patches to Microsoft BASIC
In this archive:
The manual: K-1008-2L Patches to Microsoft BASIC cleaned.pdf
Folders with running software typed in and assembled:
– vmbas kim1 tty lowercase: tested version of the patches to be used with the KIM-1 keyboard. Adapted for KB-9 V1.1, real lowercae characterset. see teh readme.txt how to use, KB-9 included.
– vmbas Basic demo: tested with vmbas kim1 tty lowercase

Additional:
– vmbas original: original source in modern assembler format. to be used with a parallel keyboard routine
– vmbas parallel keyboard: addon to use a parallel keyboard connected to the free RRIOT port

The running software has been tested with the K-1008 emulation in the KIM-1 Simulator.



Micro Technology Unlimited MTU pages enhanced

Dave Plummer (Dave’s Garage) received lots of documents on the MTU products with his KIM-1 in a cage system and scanned them for us.

Dave Williams (devilishdesign, vintagetech) has a MT-130, a standalone 6502 system sold by MTU with MTU cards and also scanned documents and imaged floppies.

On the internet I also found a stash of MTU products documents for the PET computer, like PET versions of the K-1008, a KIM-1 bus adapter and more.

All this made me add pages to my website, devoted to MTU. Special attention to the genius behind MTU, Hal Chamberlin. Several of his articles about music and microprocessors and a clean scan of his book Musical Applications of Microprocessors .

One of the documents is the “K-1008-2L Patches to Microsoft BASIC”. Software source of the integration of the text and graphic routines into Microsoft Basic. I already did a simple integration of the K-1008 as terminal into Basic with the Graphics Software package SDTXT and VMSUP, so I have already a lot of the code. So this source wil be typed in also!

post

K-1008-6 Visible Memory for the PET

The K-1008 Visible Memory, original for the KIM-1, was also adapted to be used on the Commodore PET.
Same specifications, 320×200 bit mapped graphics, with a PET interface.

K-1007-1-A K-1007 PET interface
K-1007 PET interface
K-1007 Circuit diagram
Supplement
K-1007 New PET Circuit diagram
K-1008-6 Integrated Visible Memory for PET and CBM Computers
K-1008-6 Visible Memory
Circuit diagram
Additional notes
K-1008-8 Keyword Graphics Package
For Commodore PET and CBM Computers
MTU Mount for Commodore PET

Disk 1 of MTU K-1008-6 software.
Disk 1 of MTU K-1008-6 software.

\






post

K-1008 Visable Memory Replica by Eduardo Casino

K-1008 Visable Memory Replica by Eduardo Casino
Eduardo Casino, see also his other work on KIM-1 projects, he is working on what aims to be a faithful replica of MTU’s K-1008 Visable Memory card for the KIM-1. He is following basically the same procedure as he did for the KIM-1 Rev. D replica: reproducing the schematics from the existing documentation and using photos of the original card to correct it and to replicate the PCB, and doing all of it just with open source tools.


As always, everything is available on his GitHub page.


The first tests are good!

KIM-1 Expansion Board for MTU cards repository.

This board follows the MTU standard for the KIM-1 expansion bus and enables to connect up to five cards, like the K-1008 replica.
Additionally, all signals of the KIM-1 are replicated on an edge connector to allow further expansions and also on a pin header for easy breadboarding.

The MTU bus connects 1 to 1 to the KIM-1 expansion connector with the exception of pins 2,3, 16, 17, 18, 19, 20 and X, because MTU boards use some of these pins for power and expanded 18 bit address bus. See page 33 of the MTU Fall 1980 6502 Peripherals and Software catalog. Two pin connectors have to be wired to pins J (K7) and K (DECODE ENABLE) of the KIM-1 application connector.

Like in the original MTU’s bus motherboard, a five screw terminal block provides power connections for both the KIM-1 (GND, +5V and +12V regulated) and the expansion boards (+7.5V and +16V unregulated). Also, as in the original, the +12V terminal is not really connected to anything.

Everything is available on his GitHub page.

post

The K-1008 and the KIM-1 Simulator

The KIM_1 Simulator and the MTU K-1008 Visible Memory

Dave Plummer asked me to add a K-1008 emulation to the KIM-1 Simulator. So I did in the spring of
2023, you can see the screenshots and video on this page made with the Simulator.

In August 2023 Eduardo Casino, who is making a K-108 replica (see below), asked me to enhance the emulator with loading binary images with images for the K-1008. That is added, load a file to memory and if that is K-1008 memory, the video display is shown.

There are several ways an image can be loaded to the K-1008 video display:

  • Load a K-1008 formatted binary file into memory. It will show on the K-1008 display if enabled via Settings.
  • The Refresh button in the debugger will also refresh the K-10008 display from memory
  • With a C header file. see below

How to make a C Header image file with threshold

  1. Choose a high contrast image
  2. Load the image in GIMP (a freeware image processing app for Windows, Linux etc)
  3. Scale the image to 320×200 exactly(have the ties between the dimension windows untied)
  4. Use the Treshold tool to convert to black and white, play with the settings until it looks good
  5. Export to, choose the C header file format, a file
  6. This file can be loaded with the File menu entries of the KIM- Simulator main window and Debugger
  7. The file is converted if you load in it into memory
  8. If you have the K-1008 display on (see Settings) it will display it too
  9. Now you can save the image if you wish with the ‘Memory to file’ menu entries

Make a C Header image file with dithered images

  1. Open image in GIMP
  2. Crop the image to 320×200 or a multiple like 960×600
  3. Image – Scale the image to 320×200
  4. Image – Mode – Indexed to black white palette Floyd-Steinberg (normal)
  5. Image – Mode – RGB
  6. File -Export As Select file type – C source header
  7. Export

Note there is a command line program in the folder K-1008 load C Header , called LoadK1008 that converts a C header image file to a K-1008 formatted binary.

D:\k1008\LoadK1008.exe h
LoadK1008 is a program to convert a 320x200 C header file from GIMP to
MTU Visable memory K-1008 image
LoadK1008 <C header filename> <K-1008 binary filename>

Prepare the C header file in GIMP as follows:

  1. Load an image in GIMP
  2. Scale to 320×200 (detach the link between the sizes)
  3. Threshold or dither to black and white, play to get a nice result
  4. Export as C header file
  5. Feed the C header file to this program
  6. Convert the result, a binary file into a program like my Convert 8 bit hex formats (included with the KIM-1 Simulator) to a papertape format with the start address of the K-1008 (2000-C000)
  7. Load the papertape into the KIM-1 or KIM-1 Simulator

Screenshots of images imported:

Images done by Eduardo Casino with dithering.

post

Dave Plummer has a K-1008

Dave Plummer has a K-1008

Dave Plummer bought a KIM-1 in a cage with many MTU cards. See his videos on youtube.





Memory test on a K-1008 by The Glitchworks

In the last video Dave shows the little disaster that made his KIM-1 not so happy. Dave asked the help of The Glitchworks to repair and the KIM-1 system was restored. One of the victims was the K-1008 card, Glitchwrks made a memory test program to test it.

In the next video I show the memory test program at work in the KIM-1 Simulator in the video memory.
Here the archive with the test program I compiled for the video.

Dave Plummer test programs

Dave used the CC65 C compiler/assembler package to write programs to test the KIM and the K-1008.
Here the archive with sources and binaries (runs at $2000).

The Demo programs running in the KIM-1 Simulator: