|
DataMuseum.dkPresents historical artifacts from the history of: RegneCentralen RC850 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RegneCentralen RC850 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3712 (0xe80) Types: TextFile Names: »RCEQUATE.ASM«
└─⟦9f46c4107⟧ Bits:30005988 Sources for TurboDOS ver. 1.30 device drivers └─⟦this⟧ »RCEQUATE.ASM«
.XLIST ; ; EQUATES for RC 850 / 855 ; CTC0 = 0CH ;CTC PORT ADDRESSES CTC1 = 0DH CTC2 = 0EH CTC3 = 0FH CTC4 = 10H CTC5 = 11H CTC6 = 12H CTC7 = 13H ; SIO0C = 00AH ;SIO PORT CONTROL CHANNEL A (comm. line 1) SIO1C = 00BH ;SIO PORT CONTROL CHANNEL B (printer line 2) SIO2C = 032H ;SIO PORT CONTROL CHANNEL A (rc circuit) SIO3C = 033H ;SIO PORT CONTROL CHANNEL B (keyboard) ; SIO0D = 08H ;communication line SIO1D = 09H ;SIO DATA CHANNEL (printer) SIO2D = 30H ;SIO1 CH-A DATA RC-CIRCUIT SIO3D = 31H ;keyboard SIO channel ; ; sio (keyboard) channel b ; KBDATA = 31H ; data port KBCOMM = 33H ; command port ; ; sio (printer) channel b / line 2 ; PRCOMM = 0BH ; command port ; ; ; double keys on keyboard (octal value) ; SHRE = 263Q ; release shift key SHPR1 = 306Q ; press 1st shift key SHPR2 = 240Q ; press 2nd shift key CTRLRE = 264Q ; release ctrl key CTRLPR = 200Q ; press ctrl key ; ; lamp keys - press value ; ALPLCK = 201Q ; lamp no. 12 - alpha lock key ; ; display constants ; DMARD = 00011000B ; dma-read-mode, autoinit. enable DMASET = 00000100B ; dma-set-mask DMACLR = 00000000B ; dma-clear-mask DMAMSK = 0FAH ; dma-mask-addr DMAMDE = 0FBH ; dma-mode-addr DMAFFA = 0FCH ; dma-ff-addr DMADDR = 0F0H ; dma-addr-addr DMACNT = 0F1H ; dma-count-addr DMACMD = 0F8H ; dma-command-register DMAKCK = 20H ; dma-kick-addr DMARES = 0FDH ; dma-reset-addr DSPLSE = 24H ; displ-sel DSPLDA = 25H ; displ-data DSPLBL = 2Ch ; displ-blocade DSPLCL = 00000000B ; displ-cl-blcde DSPLST = 00000100B ; displ-st-blcde CRFCNT = 4096 ; refresh-count BLANK = 32 ; blank LINE25 = 0FF00H ; start address of line 25 NOATRB = 0 COPLN = 80 ;number of columns per line LNPSC = 25 ;number of lines per screen SELDSP = 8EH ;display memory port DESDSP = 8FH ; " ; ; SIOR1T = 11000000B ;WR1: Tx only, ready enable SIORG1 = 01101000B ;WR1: not ready mode, int. on first ch. SIORG3 = 11011101B ;WR3: Rx 8 bits,hunt,Rx CRC SIORG5 = 01100001B ;WR5: Tx 8 bits, Tx CRC SIOERT = 30H ;SIO ERROR RESET ; NORXER = 80H ;Rx status test ENQ = 05H ;enquary character TOKID = 0FFH ;token identifier ACKID = TOKID ;ack indentifier ACK = 06H ;ack MAXTRY = 3 ;number of max retrys TOKEN = 04H ;token character MTCCNT = 200 ;count value for circuit reconfig. CTOUVM = 100 ;circuit watch timer value for master MMSGL = 0B8H ;maximum MSG length for RX and TX RXLMP = 1 ;set command for select lamp Rx RXDLMP = 0 ;deselect command for lamp Rx RSTREQ = 01 ;slave reset request OSLADR = 0010H ;OS link address (page zero) TBUF = 80H ;default buffer ; ; DMA commands ; DISDMA = 06H ;disable DMA command ENADMA = 02H ;enable DMA transfer TXDMA = 4AH ;transfer to SIO command RXDMA = 46H ;receive from SIO command ; DRQRST = 34H ;address to clear the DMA DRQ-FF ; ; timer constant value equates ; D250YS = 4 ;250ys D500YS = 8 ;500ys delay D1MS = 16 ;1ms D2MS = 32 ;2ms D205MS = 40 ;2,5ms D3MS = 47 ;3ms D4MS = 63 ;4ms D5MS = 78 ;5ms D6MS = 94 ;6ms D7MS = 109 ;7ms D8MS = 125 ;8ms D9MS = 141 ;9ms D10MS = 156 ;10ms D15MS = 234 ;15ms ; CTS = 5 ;clear to send bit WCTS = 1 ;waiting for CTS to set flag TXEOM = 6 ;TX EOM bit ; STAT0 = 0 ;status bit 0 address STAT1 = 1 ;status bit 1 address STAT2 = 2 ;status bit 2 address STAT3 = 3 ;status bit 3 address STAT4 = 4 ;status bit 4 address STAT5 = 5 ;status bit 5 address STAT6 = 6 ;status bit 6 address STAT7 = 7 ;status bit 7 address ; .LIST «eof»