home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
screngen
/
sfgr.lbr
/
TECHNIC.NQT
/
technic.not
Wrap
Text File
|
1986-07-26
|
2KB
|
79 lines
Technical Note:
A) For implimenting the input and output buffer the following method
may be employed for efficiency:
1) A pointer should be passed to the driver program that points
to a contiguous output buffer stream. This is a data structure
of the entire output buffer. The output buffer description is
printed when a switch is used on the SFGR. See SFGR.DOC and a
compiler listing for further information.
2) A pointer should also passed that corresponds to a contiguous
input buffer stream. This pointer points to the beginning of
the data structure and places operator input in this field as
described in the input buffer description of the SFGR listing.
3) As output is being made to the screen, whatever has input and
output attributes should be moved from the input buffer to the
corresponding place in the input buffer.
B) In order to make as little disk reading as possible, some extra
tables should be generated by the driver:
1) A single call at the start of a program should be made to the
driver to find the format file and see if it exists. All later
calls will exclude the filename. This call will also purge the
extra table area for time saving table generation.
2) As a screen format is read or bypassed for the first time
through the format member, the format name and position in the
format file should be recorded in a table for later reference.
This will make access for a screen much quicker by setting the
random record number and displacement for access and then
reading the file sequentially.