• Please review our updated Terms and Rules here

DOS/BATCH-11

Hunta

Experienced Member
Joined
Mar 23, 2021
Messages
459
Location
Samara, Russian Federation
In the process of adding support for tape images to ImageUtils. I came across something interesting. As the first test subject - a tape from bitsavers (http://www.bitsavers.org/bits/DEC/pdp11/magtapes/dos11). According to the attached tape catalog - the tape contains files from the directories [1,1], [5,1], [6,1] and [7,1]. My first version of the program does not agree with this - according to its data, the directories [1,1], [1,5], [1,6] and [1,7] are used. I asked the expert :) :
Code:
DOS/BATCH V9-20C
DATE: 25-FEB-99
TIME: 11:11
DIALOGUE? N

$
$LO 1,1
DATE:-25-FEB-99
TIME:-11:11:03
$RU PIP
PIP  V10-02
#MT:[*,*]/DI

DIRECTORY MT0: [*,*]

25-FEB-99

SYSLOD.CIL    30  21-JUN-74 <233> [  1,1  ]
MONLIB.LCL   135  21-JUN-74 <233> [  1,1  ]
PIP16 .LDA    31  21-JUN-74 <233> [  1,5  ]
MTBLD .BAT     9  21-JUN-74 <233> [  1,1  ]
EDIT16.LDA    13  21-JUN-74 <233> [  1,5  ]
FILCOM.LDA    14  21-JUN-74 <233> [  1,1  ]
LNK256.LDA    57  21-JUN-74 <233> [  1,5  ]
LNK64 .LDA    52  21-JUN-74 <233> [  1,5  ]
LNK512.LDA    62  21-JUN-74 <233> [  1,5  ]
LINK  .LIB   176  21-JUN-74 <233> [  1,5  ]
LINK  .ODL     2  21-JUN-74 <233> [  1,5  ]
CILUS .LIB    73  21-JUN-74 <233> [  1,5  ]
PAT920.BCH     3  21-JUN-74 <233> [  1,1  ]
CUSP  .LIB   101  21-JUN-74 <233> [  1,5  ]
PIP   .LIB   119  21-JUN-74 <233> [  1,5  ]
PIP   .ODL     1  21-JUN-74 <233> [  1,5  ]
MACRO .LIB   142  21-JUN-74 <233> [  1,5  ]
MACRO .ODL     1  21-JUN-74 <233> [  1,5  ]
VER256.LDA    67  21-JUN-74 <233> [  1,5  ]
VER64 .LDA    66  21-JUN-74 <233> [  1,5  ]
VER512.LDA    72  21-JUN-74 <233> [  1,5  ]
CL0   .SYS     1  21-JUN-74 <233> [  1,1  ]
CL1   .SYS     1  21-JUN-74 <233> [  1,1  ]
CL2   .SYS     1  21-JUN-74 <233> [  1,1  ]
CL3   .SYS     1  21-JUN-74 <233> [  1,1  ]
CL4   .SYS     1  21-JUN-74 <233> [  1,1  ]
CL5   .SYS     1  21-JUN-74 <233> [  1,1  ]
CL6   .SYS     1  21-JUN-74 <233> [  1,1  ]
CL7   .SYS     1  21-JUN-74 <233> [  1,1  ]
SYSMAC.SML    26  21-JUN-74 <233> [  1,1  ]
ODT   .OBJ    10  21-JUN-74 <233> [  1,1  ]
LDUMP .LDA    29  21-JUN-74 <233> [  1,1  ]
TEST  .MAC     2  21-JUN-74 <233> [  1,7  ]
TEST  .BAT     1  21-JUN-74 <233> [  1,7  ]
PTUTIL.LDA    11  21-JUN-74 <233> [  1,7  ]
VERIFY.LIB   146  21-JUN-74 <233> [  1,5  ]
VERIFY.ODL     1  21-JUN-74 <233> [  1,5  ]
FILCOM.BAT     1  21-JUN-74 <233> [  1,5  ]
MACNOV.BAT     1  21-JUN-74 <233> [  1,5  ]
DSKINT.BAT     1  21-JUN-74 <233> [  1,5  ]
EBASCI.BAT     1  21-JUN-74 <233> [  1,5  ]
EDIT  .BAT     1  21-JUN-74 <233> [  1,5  ]
LIBR  .BAT     1  21-JUN-74 <233> [  1,5  ]
FILDMP.BAT     1  21-JUN-74 <233> [  1,5  ]
CREF  .BAT     1  21-JUN-74 <233> [  1,5  ]
PIPNOV.BAT     1  21-JUN-74 <233> [  1,5  ]
VERNOV.BAT     1  21-JUN-74 <233> [  1,5  ]
VEROV .BAT     1  21-JUN-74 <233> [  1,5  ]
RMON  .LDA    19  21-JUN-74 <233> [  1,7  ]
RMON  .STB     3  21-JUN-74 <233> [  1,7  ]
TAILB .LDA   120  21-JUN-74 <233> [  1,7  ]
PAT920.BAT     5  21-JUN-74 <233> [  1,7  ]
SYSTEM.MAC    25  21-JUN-74 <233> [  1,7  ]
CONFIG.MAC    18  21-JUN-74 <233> [  1,7  ]
CFMAC .MAC    13  21-JUN-74 <233> [  1,7  ]
FEATSW.MAC     2  21-JUN-74 <233> [  1,7  ]
PRAMTR.MAC     7  21-JUN-74 <233> [  1,7  ]
SYSMAC.MAC    15  21-JUN-74 <233> [  1,7  ]
CMDS  .MAC     5  21-JUN-74 <233> [  1,7  ]
TMON  .OBJ    15  21-JUN-74 <233> [  1,7  ]
CCL   .OBJ     4  21-JUN-74 <233> [  1,7  ]
BATMAN.OBJ     2  21-JUN-74 <233> [  1,7  ]
LKP   .OBJ     2  21-JUN-74 <233> [  1,7  ]
ROLLIN.OBJ    27  21-JUN-74 <233> [  1,7  ]
LA30S .OBJ     1  21-JUN-74 <233> [  1,7  ]
VT05B .OBJ     1  21-JUN-74 <233> [  1,7  ]
EBASCI.DOC     7  21-JUN-74 <233> [  1,7  ]
MTBLDF.BAT     8  21-JUN-74 <233> [  1,1  ]
FORLIB.OBJ   166  21-JUN-74 <233> [  1,6  ]
FORLIB.BAT     1  21-JUN-74 <233> [  1,6  ]
FORPC .BAT     1  21-JUN-74 <233> [  1,6  ]
EAELIB.BAT     1  21-JUN-74 <233> [  1,6  ]
EAEPC .BAT     1  21-JUN-74 <233> [  1,6  ]
EISLIB.BAT     1  21-JUN-74 <233> [  1,6  ]
EISPC .BAT     1  21-JUN-74 <233> [  1,6  ]
FISLIB.BAT     1  21-JUN-74 <233> [  1,6  ]
FISPC .BAT     1  21-JUN-74 <233> [  1,6  ]
FPULIB.BAT     1  21-JUN-74 <233> [  1,6  ]
FPUPC .BAT     1  21-JUN-74 <233> [  1,6  ]
FORTRN.OBJ    71  21-JUN-74 <233> [  1,6  ]
OV0   .OBJ    71  21-JUN-74 <233> [  1,6  ]
FORCOM.DGN    20  21-JUN-74 <233> [  1,6  ]
FORRUN.DGN    15  21-JUN-74 <233> [  1,6  ]
OV1   .OBJ    82  21-JUN-74 <233> [  1,6  ]
OV2   .OBJ   101  21-JUN-74 <233> [  1,6  ]
OV3   .OBJ    94  21-JUN-74 <233> [  1,6  ]
OV4   .OBJ    46  21-JUN-74 <233> [  1,6  ]
FORPC .OBJ     3  21-JUN-74 <233> [  1,6  ]
EAEMOD.OBJ    16  21-JUN-74 <233> [  1,6  ]
EAEPC .OBJ     3  21-JUN-74 <233> [  1,6  ]
FISMOD.OBJ     2  21-JUN-74 <233> [  1,6  ]
FISPC .OBJ     3  21-JUN-74 <233> [  1,6  ]
EISMOD.OBJ    17  21-JUN-74 <233> [  1,6  ]
EISPC .OBJ     3  21-JUN-74 <233> [  1,6  ]
FPUMOD.OBJ    30  21-JUN-74 <233> [  1,6  ]
FPUPC .OBJ     3  21-JUN-74 <233> [  1,6  ]
TRCLIB.OBJ    12  21-JUN-74 <233> [  1,6  ]
RUNDGN.SRC    13  21-JUN-74 <233> [  1,6  ]
COMDGN.SRC    14  21-JUN-74 <233> [  1,6  ]
FORDGN.FTN     5  21-JUN-74 <233> [  1,6  ]
TRACEF.FTN     7  21-JUN-74 <233> [  1,6  ]
DVB   .MAC     9  21-JUN-74 <233> [  1,6  ]
EAEPC .LIB   172  21-JUN-74 <233> [  1,6  ]
EISPC .LIB   169  21-JUN-74 <233> [  1,6  ]
FISMOD.LIB   167  21-JUN-74 <233> [  1,6  ]
FISPC .LIB   167  21-JUN-74 <233> [  1,6  ]
FPUPC .LIB   158  21-JUN-74 <233> [  1,6  ]

TOTL BLKS:  3419
TOTL FILES:  107



#
So far it turns out that the information from bitsavers is incorrect. I'm digging through the documentation...
 
Code from the PIP program:

Code:
    MOVB    #'[,(R0)+
    CLR     R3
    BISB    UIC+1,R3    ;UIC TO LIME BUFFER
    MOVB    #',,(R0)+   ;COMMA
    CLR     R3
    BISB    UIC,R3
    JSR     PC,BTOA
    MOVB    #'],(R0)+

UIC is parsed in the same way as in my program :)
 
TDSCH.MAC from RSX
Code:
;+
;  If we cannot process a clock interrupt within 10 seconds, we are
;       no longer processing in real time, and we may as well become
;       a VAX ... Call an end to this ... NOW!
;-
        BGCK$A  BF.SAN,BE.IDC,<FATAL>   ;;; System massively confused
 
7$:                             ;;;REFERENCE LABEL
 
Or the comment I found in a piece of old FORTRAN code for a power station simulator:

The documentation for this code was last seen in Lord Lucan's hand luggage.

(Reference to a British politician who disappeared without a trace...).

Dave
 
the directories [1,1], [1,5], [1,6] and [1,7] are used
That is correct. The listing stored next to the tape image is wrong.
Someone who produced the listing (and it does not look like by any native tool, e.g. PIP that you used)
misinterpreted the bytes in UIC, thus showing them swapped...
 
Back
Top