.TITLE DSKVM RAM disk driver .NLIST BEX .ENABL LC ; ; Pdp11/dcn RAM disk driver ; ; This module is an extension of the disk driver process. It provides a ; simulated disk using RAM space between the last user process loaded and ; the end of physical memory. Note: this code provides only the linkage ; necessary; the actual block-transfer code is in the bas process. ; ; Max blocks: (varies), rt-11 directory segments: (varies), rt-11 id: 47 ; ; External symbols ; .GLOBL DSKINI ; ; Entry symbols ; .GLOBL VMDPAT ;process control vector ; ; System definitions ; .ASECT .MCALL .COM,.PSA,.DFBLK,.DSK,.PAT ;dcnlib definitions .COM ;define common data .PSA ;define process save area .DFBLK ;define message codes .DSK ;define disk parameters ; ; Module definitions ; ; Process save area extension (vda) ; . = DASEND .BLKW REGEND/2+DSKSTK ;process stack VMDEND = . ;end of psa extension ; ; Data segment ; .PSECT $KERD,RO,D ; ; Process header ; VMDPAT: .PAT VMDEND,DSKINI,PRI1,<0,0,0,0> ; .END