Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ kmc(4) — UNIX System III

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kas(1)

kun(1)

dh(4)

KMC(4)  —  UNIX 3.0

NAME

kmc − KMC11 microprocessor

DESCRIPTION

The files kmc?  are used to manipulate the KMC11-A or -B microprocessors.  The device handler provides the basic mechanism needed to load, run, and debug programs on the microprocessor. 

The open is exclusive; at most one open at a time.  The first open determines whether the microprocessor is a KMC11-A or -B. 

Addresses 0−2047 (0−8195) reference the 1024 (4096) words of instructions in the control memory of the KMC11-A (-B).  This portion is word oriented, that is, the address and byte count must be even. 

Addresses 2048-3071 (8196−12211) reference the 1024 (4096) bytes of data in the data memory of the KMC11-A (-B).  The data portion may be read or written with no restrictions on addressing. 

The stty function is used to provide access to the basic microprocessor capabilities. 

stty(kmcfd, arg)
struct{
intcode;
int∗csr;
intvalue;
} ∗arg;

The pointer csr contains the address of a 4 word buffer for the UNIBUS Control and Status Registers associated with the microprocessor.  The value of code determines the function:

1 single step and return CSRs in csr.

2 maintenance step: execute value and then return CSRs. 

3 return CSRs. 

4 stop: clear the run bit. 

5 reset: set then clear the master clear bit. 

6 run: set the run bit and set the software state to value and running. 

7 line unit maintenance: set the line unit bits from value.

FILES

/dev/kmc? 

SEE ALSO

kas(1), kun(1), dh(4). 

May 16, 1980

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026