.; Magtape operations. .; Adapted from Ira A Caplan, "The Multi-tasker", V15 No7 pp44-54 (Feb 1982). .; .GOSUB INIT ; ; If you wish to delete or replace files on the tape, your scratch scratch ; directory on SP: must be empty, or contain only files to be copied to tape. ; ; Answer the next question with ctrl/Z to exit if not. ; .2: .ASKS [::"ANSI"] P1 ANSI or DOS .SETS P1 P1[1:1] .IF P1 <> A .AND .IF P1 <> D .GOTO 2 .IF P1 = A .SETT ANSI .IF P1 = D .SETF ANSI .; Get tape number and allocate tape. .IFF ANSI .GOTO 5 .GOSUB ANSTAP .GOTO 7 .5: ; ; WARNING: It is assumed that filetypes determine DOS copy mode. ; .ASK YN Load tape, set online, press enter .7: 'MCR'ALL MM: .IF <> 1 .EXIT 2 ; ; Start operations entry. ; .10: .ASK NUTAPE Creating new tape only .SETN OPNO 1. .GOSUB OPRGET .20: .GOSUB OPRSHO .GOSUB VERIFY .IFF SOPOK .GOTO 20 .IFF AOPOK .GOTO 10 ; ; End operations entry. ; .ASK DIREC Do you want a magtape directory listing ; ; Start operations at '