Scrap Buffers

(AMOS Only) INMEMO allows two methods of setting up scrap buffers. The first method uses a single module for each job named <job>.INF which may be loaded in either system or user memory. The modules should be as long as the widest memo (80 or 132 bytes will usually do). You can create the modules with VUE (just type in the desired number of spaces and save the file). If you are only going to load them in user memory, you can use the utility MAKBUF to create and load a module on the fly as needed:

.MAKBUF

This creates a module of 132 bytes.

The second method of creating scrap buffers is probably preferable, particularly if you have a large number of users. It involves inserting a command in the AMOSL.INI file which creates a single module containing an array of buffers which can be used by jobs on a demand basis. Insert the following command somewhere in the middle of the SYSTEM commands in the INI file:

SYSTEM INMEMO:INFBUF/N <# jobs>,<size>

For example:

SYSTEM INMEMO:INFBUF/N 6,60

will allocate space for 6 buffers of 60 bytes each. If the size is omitted, 40 bytes will be assumed. If the # jobs is omitted, 10 jobs will be assumed.

These buffers will be assigned to specific jobs on a first come, first served basis. Once assigned, they can only be de-assigned using the INFBUF command from AMOS command mode:

.INFBUF

Buffer cleared (clear buffer of current job only)