Three new tasks have been added to TDV to increase the range of functions. They are all modified versions of tasks already available under MCR.
This task is exactly similar to the MCR· task called DEV. It lists the current LUN assignments on the TDV terminal. It is not possible, however, to use ↑C or ↑T to prematurely terminate the listing. DEV runs in the MCR partition.
This is similar to the MCR task called REA, and takes the form:
REA nl,n2, ... nn newlun oldlun
nl,n2 are LUN slots, all of which have the same current assignment (oldlun) and which require the same new assignment (newlun). Examples are:
REA 10 TT1 NONE REA 13 DT1 DK REA 15,16,60 TT1 NONE
However, the TDV task REA only allows LUN numbers 10-22 and 50-64 to be reassigned. Use of other numbers will lead to 'LUN OUT OF RANGE' message. REA runs in the MGR partition.
This task is based on the MCR task OPE, and allows inspection and alteration of core and disc. The format is:
ALT task adr cdu bias
The specified task identifies the partition, and no address outside this partition may be accessed, 'adr' is an address relative to the base of the partition, or is a disc block address. 'bias' (377 octal) is an offset which must be preceded by 'cdu'. If no bias is required and the address is a core address, then cdu may be omitted. 'cdu' is either C or RFO. If RFO is specified, bias is the word within the required block.
Examples are:
ALT ... DEV 32 ALT REA ... 1044 C 20 ALT ALT ·.. 10 RF0
In the first example, the MCR task ... DEV is specified, and location 32 in the MCR partition is opened. The second example specifies a core bias (limited use). The last indicates a disc address, and the task name is not used (but must be the name of an existing task). Throughout this task, numbers are normally signed octal numbers. They may be decimal if preceded by D (but after any sign).
ALT types the absolute address of the requested location, together with its contents. The contents may be changed by typing in a number, which will be placed in the location. Various possible terminators may be used to close this location and open another one. If no number is present, the contents is left unaltered. The possible terminators are:
(1) ALT MODE This causes the task to exit. TDV will be recalled if the original command line ended with <CR> (2) CARRIAGE RETURN The next location is opened, and its contents printed. Disc addresses stay within current block. (3) +<CR> The previous location is opened, and its contents printed. Disc addresses stay within current block. (4) :number <CR> The new location or disc block address is taken to be 'partition base+ number'. (5) ;number <CR> The new location or disc block address is taken to be 'number' (6) *<CR> The new location is taken to be that specified by the contents of the current location. Allowance is made for the task being in exec or normal mode. (7) /<CR> The new location is taken to be that specified by the address bits of the current location. Allowance is made for the task being in exec or normal mode, and in page or bank addressing.
The last two terminators are only valid for core addresses. The bias is added only for the first command, and for case (4) above.
Examples (machine responses emphasised) are:
ALT DEV ... 20 15020/777777><CR> 15021/601354>/<CR> 16354/042387>:3<CR> 15003/000245>;15006<CR> 15006/770000>↑<CR> 15005/016324>*<CR> 16324/050000><AM>
If, say, location 15003 above is to be changed to -563 decimal, the line would have been:
15003/000245>-D563;15006<CR>
ALT runs in a separate partition TDV2. Use of FIX and REA will therefore enable a certain amount of task debugging using ALT.