.TITLE MBTAB .SBTTL MAILBOX DRIVER TABLES .IDENT /120485/ .ENABL LC ; ;+ ;***** ; * * * NOTE * * * ; ; All programs, information and copies are provided "As ; Is". American Electric Power Service Corporation and ; the contributor disclaim all warranties on the programs, ; including without limitation, all implied warranties ; of merchantibility and fitness. ; ; ; MBTAB - Defines the Device Control Block, Unit Control Block, ; Status Control Block for MB: driver. ; ; ;***** ; ; Paul Sorenson ; AEP/Engineering Computer Support Center ; Columbus, OH 43215 ; ;***** ; ; Update 1/9/85 -- PRS; Use xxx$DF MACROs to define driver data base ; Update 2/24/86 -- PRS; Change use of IO.ATT/IO.DET to the "ACP" ; functions IO.ACR/IO.ACW/IO.ACE/IO.DAC ; Update 3/10/86 -- PRS; Change IO.ACR/ACW/ACE/DAC to use driver ; specific control functions 5-8 ; ;***** ;- ; ; MACRO LIBRARY CALLS ; .MCALL DEVDF$,HWDDF$,UCBDF$ .MCALL DCB$DF,UCB$DF,SCB$DF ; DEVDF$ ; Define device control block offsets HWDDF$ ; Define hardware registers UCBDF$ ; Define UCB offsets ; ; *** DEFINE SYMBOLS FOR INSTALLATION ; LD$MB=0 ; FLAG MB DRIVER AS LOADABLE MB0CSR = 0 ; FAKE CSR MB0VEC = 0 ; FAKE VECTOR MBTMO = 2 ; INITIAL TIMEOUT MBPRI = PR0 ; DRIVER INTERRUPT PRIORITY ; .SBTTL MB Driver Device Control Block ; .LIST ME DCB$DF MB,1 $$$=. .=$MBDAT+D.MSK .WORD 160747 ; legal functions; acp + control + RLB/WLB/KIL .WORD 741 ; control functions .WORD 160000 ; no-op functions IO.ACE/ACW/ACR .WORD 0 ; ACP functions .WORD 7 ; legal functions IO.WVB/RVB/DAC .WORD 0 ; control functions .WORD 1 ; no-op functions IO.DAC .WORD 6 ; ACP functions IO.WVB/RVB .=$$$ ; .PAGE .SBTTL MB Driver Unit Control Block ; UCB$DF MB,0 $$$=. .=.MB0+U.CTL .BYTE UC.KIL!UC.PWF ; take control on powerfail and IO.KIL .=$$$ ; .PAGE .SBTTL MB Driver Status Control Block ; SCB$DF MB,0 ; .END