C.4.1.2 Special 1/0 Modes To enable the application program to use special device-dependent functions, the File Management System DSR search algorithm only uses a well-defined part of the file descriptor for its search (see section C.4.1.1.1). The remainder of the descriptor may be used to indicate special device-related functions such as BAUD rate, print width, etc. It is advisable for a DSR to ignore descriptor parts it doesn't recognize, so that the same application program might be used for different devices. In the latter case it would handle specific device-dependent functions only if the device used was capable of performing them. If the descriptor dealt with a function not applicable to a particular device, Lhe DSR would not recognize the descriptor and would ignore it. An example of a special 1/0 mode descriptor could be RS232. BAUDRATE=1200 . DATABITS=7. CHECKPARITY, PARITY=ODD C.4.1.3 Default Handling Sometimes, especially if a file is opened for UPDATE, INPUT, or APPEND, it is useful to provide a default value fur Lhe record length. in the above cases, the application program will usually use the value specified on file creation. Therefore, if the application program does not provide a,value for the record length. the DSR should provide this valuc for it. In case the application program does provide a record length, the DSR should check this value against the value given on record creation. An error should be indicated in case of incompatibilities between stored and provided record lenglh. If logical record length is given as zero on OPEN, the DSR must provide a default record length. C.4.2 Memory Requirements Because of the limited amount of register memory (256 bytes of RAM), the register usage for NSRs has to be restricted to the following registers/memory to avoid interference with application programs Kegisters RO--R10 of the calling workspace. Memory locations >DA through >DF are available if the DSR is called in a non Interrupt-driven mode, i.e. through a standard DSR entry. A standard scratch area of 36 bytes, al lucations >4A through >6D, has been assigned for OSR usage. The base address for CPU memory in the TI-99/4A Home Computer is +8300. Tu allow for future changes in this base address, it will be derived from the given value of the workspace pointer. This means the loss of one of the workspace registers for this purpose.