.TITLE MBIOFN - MB Driver I/O Function Codes .IDENT /050389/ ; ;+ ;***** ; ; MBIOFN.MAC - Defines the I/O function codes and sub-function ; codes recognized by the "mailbox" driver, MB:, by expanding ; the MBIO$ MACRO. When assembled on its own, this file creates ; an object module with the Mailbox Driver I/O functions declared ; as global symbols. ; ; *** ; ; Macro Invocation: ; ; MBIO$ [<=>] ; ; ;***** ; ; Paul Sorenson ; AEP/Engineering Computer Support Center ; Columbus, OH 43215 ; ;***** ; ; Update 5/3/89 -- PRS; Change this module to a MACRO rather than ; pre-assembly file. ; ;***** ;- .macro MBIO$ A ; ; *** Standard transfer I/O functions ; IO.KIL ='A' 12 ; Kill active I/O IO.WLB ='A' 1*256. ; Write logical block IO.RLB ='A' 2*256. ; Read logical block ; ; *** WLB/RLB Subfunction bits... ; SF.NOW ='A' 1 ; Read "now" function, forces read QIO ; completion with or without reading data SF.NTN ='A' 2 ; Read with "no task name", suppresses ; insertion of sender's task name in read ; data buffer SF.ETN ='A' 4 ; Write with "explicit task name", uses QIO ; parameters P5/P6 to define task name to ; return to reader ; ; *** Special control functions...NOTE: Use of ACP functions IO.ACR/ACW/ACE/DAC ; is being phased out to avoid conflicts with F11ACP. ; IO.INL ='A' 5.*256. ; Initialize access to mailbox IO.DEA ='A' 6.*256. ; Deaccess mailbox IO.ABO ='A' 7.*256. ; Selective QIO cancel/abort/kill IO.RED ='A' 8.*256. ; Diagnostic function, re-direct mailbox WLB's ; ; *** INL/DEA Subfunction bits... ; SF.AST ='A' 10 ; IO.INL Access for read with unsolicited ; input AST SF.ACR ='A' 20 ; IO.INL Access for read SF.ACW ='A' 40 ; IO.INL Access for write SF.REJ ='A' 100 ; IO.ABO reject pending QIOs SF.ALL ='A' 200 ; IO.DEA Deaccess all mailboxes ; ; *** Control function synonyms ; IO.ARD ='A' IO.INL!SF.ACR ; access for read IO.AWR ='A' IO.INL!SF.ACW ; access for write IO.ARA ='A' IO.INL!SF.AST!SF.ACR ; access for read with AST IO.REJ ='A' IO.ABO!SF.REJ ; reject pending QIOs IO.DAA ='A' IO.DEA!SF.ALL ; deaccess all mailboxes .MACRO MBIO$ Z .ENDM .ENDM ; MBIO$ <=> ; declare symbols globally if assembled .end