29.12.2012 Views

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.11 SYSTEM OVERLAY CONTENTS<br />

A system as complex and flexible as LDOS would occupy considerable memory space <strong>to</strong> be<br />

able <strong>to</strong> provide all of its features. <strong>The</strong> DOS, however, makes extensive use of overlay<br />

segments in order <strong>to</strong> minimize the amount of memory reserved for system use. <strong>The</strong><br />

compromize in using an overlay driven system, is that while a user's application is in<br />

progress, certain disk file activities requested of the system may require the operating<br />

system <strong>to</strong> load different overlays <strong>to</strong> satisfy the request. This could cause the system <strong>to</strong><br />

run slightly slower than a less sophisticated system which has more of its file access<br />

routines always resident in memory. <strong>The</strong> system provides a procedure <strong>to</strong> permanently place<br />

specified overlays in<strong>to</strong> memory <strong>to</strong> enhance the overall speed of operation (see the SYSTEM<br />

command).<br />

<strong>The</strong> following will describe the functions performed by each system overlay. Numbers in<br />

angle brackets represent the system SVC entry.<br />

8.11.1 SYS0/SYS<br />

This is not an overlay. It contains the resident part of the operating system (SYSRES ).<br />

8.11.2 SYS1/SYS<br />

This overlay contains the command interpreter. This processes @CMNDI and @CMNDR<br />

. It contains the routines for processing the @FEXT SVC , the routines for<br />

processing the @FSPEC SVC , and the routines for processing the @PARAM SVC<br />

. It also contains the @EXIT processor .<br />

8.11.3 SYS2/SYS<br />

This overlay is used for opening or initializing disk files and logical<br />

devices. It contains the functions for @RENAM and @GTDCB . It also<br />

contains the @CKDRV routines , and routines for hashing file specifications<br />

and passwords .<br />

8.11.4 SYS3/SYS<br />

This overlay contains all of the system routines needed <strong>to</strong> close files and devices<br />

. It also contains the routines needed <strong>to</strong> service the @FNAME SVC .<br />

8.11.5 SYS4/SYS<br />

This system overlay contains the system error dictionary and @ERROR SVC processing<br />

routines.<br />

8.11.6 SYS5/SYS<br />

This overlay contains the system debugger.<br />

8.11.7 SYS6/SYS<br />

This overlay contains all of the algorithms and routines necessary <strong>to</strong> service the LIBrary<br />

commands identified as "Library A" by the LIB command. <strong>The</strong> following list identifies the<br />

commands and their ISAM entry number.<br />

21 DIR 63 RESET 53 RENAME<br />

61 DEVICE 65 SET 1E MEMORY<br />

32 COPY 66 FILTER 91 DO<br />

31 APPEND 41 LIST 81 LOAD<br />

64 ROUTE 18 REMOVE 82 RUN<br />

62 LINK 19 LIB<br />

8.11.8 SYS7/SYS<br />

This overlay contains all of the algorithms and routines necessary <strong>to</strong> service the LIBrary<br />

commands identified as "Library B" by the LIB command. <strong>The</strong> following list identifies the<br />

commands and their ISAM entry number.<br />

8-27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!