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

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 the 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.



post

MTU Commodore PET products

MTU produced also a number of products for the Commodore 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-1008-6 Visible Memory board for the PET

Disk 1 of MTU K-1008-6 software.
Disk 2 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:


post

Graphics Software Package K-1008

Graphics Software package for the MTU K-1008 Visible: 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.
In this package find the following printed, assembled, and commented program listings of

  • SWIRL demonstration program
  • LIFE demonstration program
  • SDTXT Simplified text display subroutine, 22 lines 53 char.
  • VMSUP Comprehensive graphics subroutine library containing point and line plotting routines, a character drawing routine and an ASCII text display routine.
Graphics/Text Software Package manual
The manual has been OCR’ed by Eduardo Casino

The original sources are typed in by Eduardo Casino. He also OCR’ed the manual.

He created a package with OCR’ed and type in listings and manual, assembler sources for 64tass, and binaries in Intel hex and MOS papertape format. He kindly allowed it to be published here.

TASM and binary versions of the Graphics Software package
Download here the TASM and binary version of the Graphics Software package
Hans Otten has taken the original typed in sources, and changed the assembler format to a more common assembler and assembled with TASM32.
The software has been tested with the K-1008 emulation in the KIM-1 Simulator and (very limited, Eduardo did a great job!) some more proofreading and corrections.

The demos SWIRL and LIFE only require a KIM-1 without expansions.

The text and graphic subroutines SDTXT and VMSUP require more RAM. To show that they are working, versions have been made that connect to MS Basic for the KIM-1 (KB9) as examples how to use.
Several versions are available in source and binary papertape format, instructions are in the folders readme.txt and memorymap.txt files:
– SDTXT original in TASM format
– SDTXT in low or high memory as display for KB9, character input via the standard KIM-1 TTY.
– SDTXT as display for KB9 with an more standard lowercase character set.
– SDTXT as display for KB9 with (incomplete) 8 bit extended character set.
– VMSUP in original in TASM format
– VMSUP in low or high memory as display for KB9 with an more standard lowercase character set.

Demo of SWRIL and Life in the KIM-1 Simulator, on Eduardo Casino’s K-1008 and Dave Plummer’s K-1008

SDTXT connected to KB9


SDTXT with alternate lowercase character set


KB9 connected to VMSUP

post

MTU K-1008 documents

MTU K-1008 Visable Memory User Manual 
MTU K-1008 Visable Memory User Manual OCR’ed
Thanks Eduardo Casino!
MTU K-1008 user manual 
MTU K-1008 user manual (older version?)
MTU K-1008 user manual Revised September 1979
K-1008-1L Graphics/Text Software Package
with listings of demo program listings, terminal text routines, drawing primitives like line etc.
See this page for OCR’ed contents and typed in sources and binaries
Letter from Chalufour to MTU with handwritten answers by Hal Chamberlin
K-1008-2L Patches to Microsoft BASIC
SDTXT and graphics subroutines integrated in Microsoft Basic for the KIM-1 V1.1 (KB-9)
See this page for typed in sources and binaries
MTU K-1008-3 Level 1 Graphic Software
MTU K-1008-5C Visible Memory demos and AIM 65 Basic Interface
MTU K-1008-6 Visible Memory for PET and CBM
MTU K-1008-8 Keyword Graphic Package For PET and CBM
MTU Mount for Commodore PET
Visible Memory Print Dumps
Two article from Compute, printing the contents of the Visible Memory (PET version) on a matrix printer
– Visible Memory Printer Dump, Frank Covits, Issue 7
– A Fast Visible Memory Dump, Martin J. Cohen, Issue 12

k-1008 circuit part 1


k-1008 circuit part 2


k-1008 circuit part 3

From the Fall 1980 catalog of MTU:





Hires photos shown here with permission by Vernon Graner (www.kim1.com).

K-1008 Visible Memory

K-1008 Visible Memory