Google
 

Trailing-Edge - PDP-10 Archives - ks10_8080_microcode - ks10.cmd
There are 2 other files named ks10.cmd in the archive. Click here to see a list.
                     COPYRIGHT (C) 1978
       DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
THIS SOFTWARE IS FURNISHED UNDER A LICENSE FOR USE ONLY ON A
SINGLE  COMPUTER  SYSTEM  AND  MAY  BE  COPIED ONLY WITH THE
INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE,  OR
ANY  OTHER  COPIES THEREOF, MAY NOT BE PROVIDED OR OTHERWISE
MADE AVAILABLE TO ANY OTHER PERSON EXCEPT FOR  USE  ON  SUCH
SYSTEM  AND TO ONE WHO AGREES TO THESE LICENSE TERMS.  TITLE
TO AND OWNERSHIP OF THE SOFTWARE SHALL AT ALL  TIMES  REMAIN
IN DEC.
THE INFORMATION  IN  THIS  DOCUMENT  IS  SUBJECT  TO  CHANGE
WITHOUT  NOTICE  AND SHOULD NOT BE CONSTRUED AS A COMMITMENT
BY DIGITAL EQUIPMENT CORPORATION.
DEC ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY  OF
ITS SOFTWARE IN EQUIPMENT WHICH IS NOT SUPPLIED BY DEC.


;COMMANDS CURRENTLY IMPLEMENTED
;***** KS10 CSL V4.2  *****
^Z	;ENTER USER MODE
^\	;ENTER CONSOLE MODE
LA XX	;SET MEMORY ADDRESS (IN 8080 BUFFER ONLY)
LI XX	;SET I/O ADDRESS (IN 8080 BUFFER ONLY)
LK XX	;SET 8080 ADDRESS (IN 8080 BUFFER ONLY)
LC XX	;SET C-RAM ADDRESS TO BE WRITTEN (IN 8080 BUFFER ONLY)
EM	;EXAMINE MEMORY (AT LOCATION IN 8080 BUFFER)
EM XX	;  EXAMINE KS10 MEMORY LOCATION XX
EN	;EXAMINE NEXT, SAME AS LAST(EK,EM,EI)
EB	;EXAMINE BUS & 8080 CNTRL REGS
EI	;EXAMINE I/O (AT LOCATION IN 8080 BUFFER)
EI XX	;  EXAMINE I/O ADDRESS XX
EK	;EXAMINE 8080 LOC (AT LOCATION IN 8080 BUFFER)
EK XX	;  EXAMINE 8080 LOCATION XX
DM XX	;DEPOSIT MEMORY, XX DATA (AT LOCATION SPECIFIED IN THE 8080 BUFFER)
DN XX	;DEPOSIT NEXT SAME AS LAST,XX DATA(DK,DM,DI)
DB XX	;DEPOSIT BUS, XX DATA
DI XX	;DEPOSIT I/O, XX DATA
DK XX	;DEPOSIT 8080 LOC(ONLY RAM LOCATIONS STICK)
MR	;MASTER RESET
CS	;CPU CLK START
CH	;CPU CLK HALT
CP XX	;CPU CLK PULSE. XX IS HOW MANY CLOCK PULSES. NO ARG GIVES 1 CP
SI	;SINGLE INSTRUCT
LF XX	;SET DIAG FUNCTION TO WRITE
DF XX	;WRITE DATA XX WITH DIAG FUNC FROM "LF" CMD
EC XX	;EXAMINE C-RAM AT ADDR XX
EC	;EXAMINE C-RAM..CURRENT CNTRL REG, NO CLKS
DC XX	;DEPOSIT C-RAM, XX IS 32 OCTAL CHARS
EX XX	;EXECUTE KS10 INSTRUCTION XX
ST XX	;START KS10 AT ADDRESS XX
SM XX	;START MICRO-CODE AT XX. NOTE: SM 1 CAUSES MICRO-CODE TO DUMP HALT STAT BLK
HA	;HALT THE PROCESSOR(EXECUTE HALT INSTR)
SH	;SHUTDOWN. DEPOSITS NON-ZERO DATA INTO LOCATION 30, WHICH CAUSES A 
	;RUNNING 2020 MONITOR TO EXECUTE AN ORDERLY SYSTEM SHUTDOWN
CO	;CONTINUE THE KS10
PE X	;PARITY ENABLE 00=DISABLE ALL,,7=ENABLE ALL,1=EN "DP" PAR,2=EN "CRM" PAR,4=EN "CLK PAR ERR STOP"
CE X	;CACHE ENABLE. 0= DISABLE CACHE,1=ENABLE CACHE,<CR> CURRENT STATE?
SC X	;CRAM RECOVERY ENABLE. 0= DISABLE SCE,1=ENABLE SCE,<CR> CURRENT STATE?
TE X	;1 MSEC ENABLE. 0= DISABLE 1 MSEC,1=ENABLE 1 MSEC,<CR> CURRENT STATE?
TP X	;TRAPS ENABLE. 0=DISABLE TRAPS,1=ENABLE TRAPS,<CR> CURRENT STATE
LT	;LAMP TEST. LIGHT THE THREE LAMPS ON THE FRONT PANEL.
RC	;READ CRAM DIRECT,FUNCTIONS 0-17(NO RESETS,NO LOAD DIAG ADDR,NO CPU CLK)
EJ	;EXAMINE CRAM JUMP FIELDS. PRINT CRAM ADDR SIGNALS(CUR,NXT,J,SUB)
TR XX	;TRACE - REPEATEDLY ISSUE "CP"& "EJ" CMDS TILL ANY CHAR TYPED
	;XX(IF TYPED) WILL BE A CRAM ADDRESS AND THE TRACE COMMAND WILL
	;TRACE UNTIL IT GETS TO ADDRESS XX, WHEREUPON IT WILL STOP
PM	;PULSE MICRO-CODE - ISSUE SINGLE "CP",EJ"
KL X	;KLINIK COMMAND. IF X=0, DISABLE KLINIK AS DUAL CTY. X=1, ENABLE KLINIK
	; AS A DUAL CTY. IF NOT X TYPED, GIVE THE CURRENT STATE OF KLINIK CMD
TT	;FORCE THE KLINIK LINE FROM DUAL CTY STATE, TO A TOPS20 USER LINE
	; ALSO PUT KS10 INTO USER MODE
PW XX	;SET KLINIK PASSWORD TO "XX". "XX" MAY BE UP TO 6 CHARACTERS IN LENGTH
	; IF NO XX IS TYPED, THEN CLEAR THE KLINIK PASSWORD,
	;  I.E DISABLE KLINIK IF "FRONT PANEL REMOTE SWITCH WAS IN PROTECT" POS.
MK XX	;SET THE MARK BIT IN MICROWORD XX
UM XX	;CLR THE MARK BIT IN MICROWORD XX
ZM	;ZERO KS10 MOS MEMORY
RP	;REPEAT. REPEATS LAST LEGITIMATE COMMAND UNTIL  ANY CHAR IS TYPED.
	;CAN ALSO BE LAST COMMAND ON A LINE, AND WILL REPEAT THAT LINE, IE.
	;EM 0,EK 0,EC 0,RP   WILL REPEATEDLY PRINT AN EM0,EK0 AND EC0..
	;TO STOP OUTPUT ON THE TTY TYPE "CONTROL-O"..TO RESUME OUTPUT TO
	;THE TTY TYPE "CONTROL-O" AGAIN
BC	;BOOT CHECK COMMAND
B2	;BOOT CHECK II COMMAND
MM	;COMMAND TO ENTER MANUFACTURING MODE
BT X	;BOOT SYSTEM..MICRO-CODE IS READ FROM DISK AND LOADED INTO THE
	;CONTROL STORE,THEN THE MONITOR BOOT IN BLOCK/TRACK/SECTOR 0
	;IS LOADED INTO MEMORY AT LOCATION 1000 AND STARTED
	;IF U TYPE "1" IN THE PLACE OF X, YOU GET THE DIAGNOSTIC BOOT PROGRAM
LB X	;LOAD BOOTSTRAP.. LOADS ONLY THE BOOTSTRAP 10 CODE FROM BLOCK 0
	;TRACK AND SECTOR 0 OF THE SELECTED DISK
	;IF U TYPE "1" IN THE PLACE OF X, YOU GET THE DIAGNOSTIC BOOT PROGRAM
DS	;DISK SELECT. COMMAND TO SPECIFY UNIT NUMBER AND UNIBUS ADAPTER TO
	;LOAD FROM WHEN BOOTING
MS	;MAGTAPE SELECT. COMMAND TO SPECIFY UNIT NUMBER, UNIBUS ADAPTER,
	;SLAVE NUMBER AND DENSITY OF MAGTAPE YOU WOULD LIKE TO BOOT FROM
MT	;BOOT SYSTEM FROM SELECTED MAGTAPE
MB	;LOAD THE "PRE-BOOT" PROGRAM THAT RESIDES ON THE CURRENTLY SELECTED
	;MAGTAPE
VT	;VERIFY THE CURRENT CONTENTS OF THE KS10 MICRO-STORE, AGAINST THE
	;MICRO-CODE THAT RESIDES ON THE CURRENTLY SELECTED MAGTAPE.
VD	;VERIFY THE CURRENT CONTENTS OF THE KS10 MICRO-STORE, AGAINST THE
	;MICRO-CODE THAT RESIDES ON THE CURRENTLY SELECTED DISK.

	;ERROR TYPEOUT FOR BOTH VERIFY COMMANDS LOOKS LIKE:
	;?OOOOOO/RRR: A XXXXXX E YYYYYY
	;WHERE "OOOOOO" IS THE C-RAM LOCATION THAT DID NOT VERIFY
	;WHERE "RRR" IS THE CRAM READ FUNCTION THAT DID NOT VERIFY
	;    NOTE: AN "RC" COMMAND GIVES ALL THE TYPEOUT FOR ALL 16 READ FUNCS.
	;WHERE "A" STANDS FOR ACTUAL AND "XXXXXX" IS THE CRAM ACTUAL DATA
	;WHERE "E" STANDS FOR EXPECTED AND "YYYYYY" IS THE DATA EXPECTED.
	;ALSO NOTE: EXPECTED VERIFY ERRORS ARE CRAM LOCATION 137
	;  WHICH CONTAINS THE MICRO-CODE VERSION NUMBERS
	;  AND CRAM LOCATION 1700, WHICH CONTAINS THE SERIAL NUMBER OF THE
	;  OF THE MACHINE EXECUTING THAT MICRO-CODE.

^U	;RUB-OUT CURRENT LINE
^O	;STOP TYPE-OUT TO THE TTY
^S	;STOPS TTY OUTPUT & HANGS 8080 WAITING FOR CNTRL-Q
^Q	;RESUMES TTY OUTPUT
^C	;STOPS WHATEVER THE 8080 IS DOING
RUB-OUT ;RUB OUT THE PREVIOUS CHARACTER TYPED

;NOTE::
	SEVERAL COMMANDS MAY BE PUT ON A SINGLE LINE, WITH COMMANDS
	SEPARATED BY COMMAS