Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text


Download 70.82 Kb.
NameSr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text
page2/2
A typeDocumentation
manual-guide.com > manual > Documentation
1   2
2 Means I/O error occurred - value is hardware error status of device. -1 Means invalid directory on device. If both OS8F and the OS/8 Support Task are present in a system, an interlock is set up to prevent simultaneous updating of directory blocks by both systems. Because OS/8 tends to leave directory blocks in core for long periods of time, this interlock scheme is very restrictive. Before a Delete or Enter operation is performed, OS8F waits until OS/8 is in a state in which: a) There is no active temporary file on the OS/8 device corresponding to DEVHND and UNIT. b) OS/8 has just loaded the Keyboard Monitor, Command Decoder or USR into core. Lookup operations are not interlocked since they do not modify the directory. SRT-8 User's Manual page 30 SYSTEM TASKS 6. Power Fail Task The Power Fail Task provides the mechanism by which the system recovers from power failure if the power-fail/auto-restart option is present and if the system parameter PWRFAL was equated to a non-zero value, the SPL (skip on power low) instruction is included in the interrupt skip chain. If a power low condition occurs, the processor state is saved and the processor is halted. When power comes back, the processor state is restored and an Event Flag is POSTed which wakes up the Power Fail Task. The Power Fail Task restores the clock, console Teletype and OS/8 Teletype if they are present and also performs an action for each task in the system based on the contents of an internal table. Each task has a one word entry in this table, which contains: 0 if nothing should be done for this task (default value) -1 if the EFWT (Event Flag wait) bit should be cleared in the Task Flags Table entry for this task (i.e. this task should be taken out of Event Flag wait) ADDR if the task should be DERAILed to location ADDR in addition to having its EFWT bit cleared. Each task in the system may alter its entry in the Power Fail Task's table by sending a message to the Power Fail Task. The format of the message is: PWRMSG, ZBLOCK 3 /SRT-8 OVERHEAD WORD Where WORD is the new contents of the Power Fail Task's table entry for the sending task. SRT-8 User's Manual page 31 SYSTEM TASKS 7. OS/8 Support Task This task supports the execution of the OS/8 operating system as a task under SRT-8. OS/8 is run in the top two (or more) memory fields under control of the KT8/E or TSS-8 time sharing hardware option. The OS/8 Support task is configured at system Startup time to establish a correspondence between OS/8 devices and SRT-8 handler tasks. Teletype input and output from OS/8 is ring-buffered by several characters to minimize input loss due to usurpation of the CPU by higher-priority tasks. Because of the large number of trapped CDF instructions in OS/8 and its CUSPS, response time is slower than a stand-alone OS/8 system but still quite reasonable. Several parameters in the system parameter file control the assembly of the OS/8 support task. They are: OSFLDS Should be defined to be the number of fields to be dedicated to OS/8, OSFLDS=2 specifies 8K for OS/8. OSKBDV Should be set equal to the keyboard IOT code of the OS/8 Teletype (OS/8 requires its own dedicated teletype). Example: OSKBDV=03 will use the console Teletype keyboard for OS/8. OSTTDV Should be set equal to the teleprinter IOT code of the OS/8 Teletype. Example: OSTTDV=04 would use the console Teleprinter for OS/8. OSNULL specifies how many null characters must follow a line-feed character on the OS/8 teletype. This allows high-speed VT05 terminals to be used as OS/8 Teletypes. For standard Teletypes and parallel LA30 terminals this parameter should be set to zero. OSSYSD should be equated to the task number of the OS/8 system device handler. Example: OSSYSD=DTA would specify DTA0 as the OS/8 system device. SRT-8 User's Manual page 32 SYSTEM TASKS The OS/8 system which runs under the OS/8 Support Task may run all OS/8 CUSPs except BUILD and FRTS, the Fortran IV run-time system. All references to the keyboard and teleprinter are diverted to the specified OS/8 keyboard and teleprinter. References in OS/8 to the LE8, LS8E or LV8 line printers are diverted to the SRT-8 line printer handler if the system parameter LPT is defined; otherwise they are executed directly by the Support Task. References to the following OS/8 device names will be diverted to the corresponding SRT-8 handler if one is defined: DTA0-DTA7 RKA0-RKA3 RKB0-RKB3 In addition, the OS/8 handlers SYS and DSK are diverted to the handler specified by the parameter OSSYSD. Other references to I/O under the supported OS/8 system may cause the OS/8 support task to hang in a loop. SRT-8 User's Manual page 33 SYSTEM TASKS Monitor Console Routine The Monitor Console Routine (MCR) provides functions which the user can request from the console Teletype in order to control, Inspect. and (to some extent) debug his system. The MCR indicates that it is ready to accept input by printing the prompting character ">" on the Teletype. An MCR command consists of a command word (of which only the first 2 characters are significant) followed by arguments, and terminated with either a Carriage return or an altmode. Commands may be a maximum of 40 characters long. If the command is terminated by a carriage return, the MCR will return to the Teletype for another command when it is finished processing this one; if an altmode terminates the command line the MCR will put itself in a wait state when it finishes processing the command - it can be brought out of this wait state by typing ^C (Control/C) on the console Teletype. When the MCR has prompted with its ">" and is waiting for input no other SRT-8 tasks can use the Teletype; therefore if the Teletype is used for something other than an exclusive MCR terminal (for instance for error logging) the operator should type ^C, type his MCR command, and terminate it with an altmode character. This way the MCR will not tie up the Teletype. SRT-8 User's Manual page 34 SYSTEM TASKS Certain syntactic constructions are used as arguments to several MCR commands; these are defined below to avoid needless repetition: , A single comma or a single space may be used interchangeably to separate arguments to MCR commands. Task-ID A Task-ID is either a number or a name. If it is a number it represents the internal SRT-8 Task Number which is also the task priority of a task. If it is a name, the first 4 characters of the name are looked up in the MCR'S Task Name table to produce a Task Number. Time-of-day A Time-of-day is of the form hh:mm, where hh represents hours past midnight and mm represents minutes past hh:00. Address An Address is an octal number from 1 to 5 digits in length which represents a PDP-8 memory address. If the address is less than 5 digits long the high order digits are assumed to be 0. Word A word is an octal number from 1 to 4 digits long. Starting on the next page is a list of the MCR commands. In the header line of the description, the significant portion of the command word is capitalized. Optional arguments are enclosed in square brackets ([]) and choices will be embedded in parentheses and separated by exclamation points (!). Following the header line will be a description of the action which the command causes and possibly an example. Commands which are starred are not present if the symbol CLOCK is not defined in the SRT-8 parameter file (indicating that there is no clock in the system). SRT-8 User's Manual page 35 SYSTEM TASKS 1. REquest Task-ID [,( @Time-of-day ! Interval ) [,interval] ] Where "Interval" is of the form: nH Meaning n hours. nM Meaning n minutes. nS Meaning n seconds. nT Meaning n system ticks. Requests a task to run immediately (if only Task-ID is specified), at a given time-of-day, or after a given interval. Requesting a task clears the RUNWT bit in the Task Flag Table entry for that task. If the third argument is specified the task is rerun periodically with the interval given in the third argument as the period. If the parameter CLOCK in the SRT-8 parameter file is not defined, the second and third arguments of this command are ignored and the given task is always run immediately. Examples: >REQUEST X Will run task X immediately. >RE FOO,@2:00 Will run task FOO at 2:00 A.M. (if it is after 2AM, FOO Will be run tomorrow at 2AM). >RE 5,10M,5M Will run task number 5 10 minutes from now and every 5 minutes thereafter. >REQ HIPR,1T,6T On a machine with a 60 Hz clock, this command Will run the task HIPR immediately (well, almost immediately - .016 seconds from now) and 10 times per second thereafter. Note: If at the time the REQUEST command is executed, (which may be several hours after it is typed in) the task specified by Task-ID does not have the RUNWT bit set in its Task Flags Table entry, then the REQUEST command is a no-op. Similarly, if the task had other bits set besides RUNWT it will not be run upon execution of the REQUEST command, but will be run when the other blocking bits are cleared. 2. STop Task-ID Suspends execution of the task specified by Task-ID by turning the RUNWT bit on in the Task Flags Table entry for that task. A task which has been stopped may be resumed via the REQUEST MCR command (in this instance it is easier to think of it as the RESUME MCR command). SRT-8 User's Manual page 36 SYSTEM TASKS 3. NAme Task-ID,Newname The character string "Newname" becomes the new name of the task specified by Task-ID. The old name of that task (if any) is lost. "Newname" may be any length but only the first 4 characters are stored. "Newname" should not be the name of any other task or an error message will result. Examples: >NAME 7 REPORT Task number 7 is given the name REPO. >NAME REPORT,FOO Task number 7, which is known as REPO, is now known as FOO. Note: The MCR name table is initialized at assembly time to contain the names of any DEC-SUPPLIED tasks which are listed in the parameter file - e.g. if the symbol CLOCK is defined in the parameter file as CLOCK=2, task number 2 will get the name clock. The MCR name table may be modified by the user to include his own task names permanently by editing the file MCR.PA after the label NMTBL. 4. * DAte [mm/dd/yyyy [,Time-of-day] ] The date mm/dd/yyyy, if specified, becomes the system date. only the last digit of the year is significant - all others are ignored and "197" assumed. The SRT-8 system date is automatically bumped at midnight to the next day. but transitions between months are not handled correctly. If the second argument is specified the system Time-of-day is set equal to it. If no arguments are specified, the current system date is printed on the console Teletype in the form MM/DD/197Y. 5. * Time [Time-of-day] If a Time-of-day is specified, it becomes the system Time-of-day. If no argument is specified the current system Time-of-day is printed out on the console Teletype in the form HH:MM. 6. Disable Task-ID Disables future execution of the specified task by setting the ENABWT bit on in the Task Flags Table entry for that task. SRT-8 User's Manual page 37 SYSTEM TASKS 7. ENable Task-ID Clears the ENABWT bit in the Task Flags Table entry for the specified task, thus enabling it to run. If the ENABWT bit was not set, the command is a no-op. 8. * CAncel Task-ID Cancels any clock queue entries involving the task specified by Task-ID. This includes any entries made by the MCR (from previous timed REQUEST commands), entries involving the specified task made by other tasks (e.g. a timed DERAIL) and entries made by the specified task involving itself (e.g. a timed POST). Note that in the case of the timed POST the event flag will not be posted and the task may hang up forever waiting for it. 9. SYstat [Task-ID] If no argument is specified, the SYSTAT command prints a system status report. Each line of the report describes an existent task in the system. The data printed for each task are its Task Number/priority, its name, (if it has one), and what blocking bits are on in its Task Flags Table entry. Each blocking bit is printed as a one-letter code, preceded by a space. The possible one letter codes and their meanings are: E Waiting for event flag M Waiting for a message O Waiting for an event flag or a message R Waiting to be REQUESTed or RUN S Waiting to be swapped in (not in Phase 1) D Disabled U USERWT bit set In addition, an asterisk is printed at the end of the line if the task has any messages waiting in its input queue. A more detailed status report on a single task may be obtained by specifying the Task-ID of that task as an argument to the SYSTAT command. The detailed report contains all the information in the general report, followed by five octal words: WORD 1 The location of the TASK state Table entry containing words 2-5. This word is followed by a colon. WORD 2 task Link in sign bit, IF in bits 6-8, DF in bits 9-11. WORD 3 Task PC WORD 4 Task AC WORD 5 Task MQ SRT-8 User's Manual page 38 SYSTEM TASKS Examples: A general SYSTAT command might produce the following sample output line: 13 CARD E * meaning task number 13, named "CARD", is in event flag wait and has input messages pending, The command: >SYSTAT CARD might produce the single line: 13 CARD E * 1320: 0022 1741 0000 2525 indicating that CARD is stopped at location 21741 with its AC and Link zero and 2525 in its MQ. The SYSTAT command may be left out of the MCR assembly by setting the system parameter MCRSYS equal to zero in the SRT-8 parameter file saving one page of code. SRT-8 User's Manual page 39 SYSTEM TASKS 10. OPen Address [,Count] If "Count" is not specified it is assumed to be 1, "Count" locations starting at Address are displayed in octal on the console Teletype in the form: lllll/ cccc The range of locations displayed may cross a field boundary. 11. EXamine Address, [Count} The EXAMINE command is identical to the OPEN command. 12. DEposit Address,word [,word] [,word],... The Second through Nth arguments are deposited into core at consecutive locations starting at Address. As in OPEN, field boundaries may be crossed. Example: >DEPOSIT 26132,7700,7200,50 Deposits 7700 into location 26132, 7220 into location 26133, and 0050 into location 26134. 13. POst Address POSTs the Event Flag at the specified address. This command is useful when debugging a system for simulating the effects of non--existent tasks or devices. 14. EXIT The EXIT command causes the MCR to terminate SRT-8 execution (after pausing approximately 1 second for pending I/O to complete) and return to the OS/8 monitor at location 07600. This command must be spelled out completely or it will be regarded as an EXAMINE command. The MCR checks each command line for errors and, if it finds one, issues one of the following messages and reprompts on the Teletype for a corrected command: BAD CHAR Character was not expected where it occurred BAD NUMBER Number out of legal range or missing BAD DELIM No space or comma where one was expected BAD NAME Task name not in name table or duplicate SRT-8 User's Manual page 40 SYSTEM TASKS SRT-8 Distributed Source Files The SRT-8 source files included on the distribution tape are; FILE TASK(S) COMMENTS PARAM.PA - System parameter file with all equates blank. Should never be altered, but should be edited to create specific parameter files. SRT8,PA - (null task) SRT-8 Executive. MCR.PA MCR Monitor Console Routine OS8SUP.PA OS8 OS/8 Support Task OS8F OS/8 File Support Task PWRF.PA PWRF Power Fail Task CLOCK.PA CLOCK Clock handler TTY.PA TTY Teletype driver Task LPT PA LPT Line Printer driver Task DTA.PA DTA TC08 Dectape driver Task RK8.PA RK8 RK8 disk driver Task RK8E.PA RK8 RK8E disk driver TASK RF08.PA RF08/DF32 RF08/DF32 fixed-head disk driver Task CSA.PA CSA Cassette driver Task CSAF.PA CSAF Cassette File Support Task UDC.PA UDC Universal Digital Controller handler SRT-8 User's Manual page 41 SYSTEM TASKS SRT-8 Component sizes The following table gives the appropriate size (or projected size) of each component of the SRT-8 system as of January 11, 1974: NTASKS = Number of tasks in system CLKQLN = Number of entries in clock queue MCRSYS = 1 if MCR SYSTAT function desired, else 0 Any fractions from divides should be dropped. Number of Pages Software Component required (1 page = 128 Comments words) ---------------------------------------------------------------------- SRT-8 Executive 5 + NTASKS/18 Must be in locations 00200-01200. Requires about 16 page 0 locations and an auto-index register. Clock handler 3 + CLKQLN/22 must be in field 0. Uses an auto-index register. Console Teletype 2 handler Non-Console 2 Teletype handler Line Printer handler 1 TC08 DECtape handler 2 RK8E Disk handler 2 DF32/RF08 handler 1 RK8 Disk handler 1 SRT-8 User's Manual page 42 SYSTEM TASKS Number of Pages Software Component required (1 page = 128 Comments words) ---------------------------------------------------------------------- UDC handler 7-9 depending on uses 16 page 0 locations table space desired. Cassette handler 3 Cassette label 3 Requires cassette support handler handler. OS/8 file 6 Requires a mass storage support handler handler. Must run in field 0. OS/8 Support task 6 Must run in field 0 - requires 8K for OS/8 plus a mass-storage handler. Uses 12 page 0 locations. Monitor Console 5 + 3 (if Clock fns Requires "console" Routine task desired) + MCRSYS teletype handler and + (NTASKS+40)/64. 16 page 0 locations.
1   2

Related:

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconOS8cktig. Doc os/8 Combined Kit Information Guide disclaimer this...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconMaclnkum. Doc macrel/link user's Manual Order No. Aa-5664b-ta disclaimer...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Microsoft Word document was converted from an original Adobe Acrobat pdf document

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis document can and should be edited to suit project requirements....

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconGuidelines for the preparation and submission of full text papers...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...

Sr doc disclaimer this document file was created by scanning the original document and then editing the scanned text. As much as possible, the original text iconThis Product MasterSpec Section modifies the original MasterSpec...




manual


When copying material provide a link © 2017
contacts
manual-guide.com
search