
B. ERROR SUMMARY
1 = illegal function
2 = variable not found
3 = memory block already in use
4 = memory block not found
5 = illegal block selection parameter
6 = memory block is not RAM
7 = segment name already in use
8 = segment not found
9 = illegal segment name
10 = no program is specified (ending line number precedes
starting line number)
11 = no array specified
12 = not enough room in extended RAM to store data
13 = not enough room in normal (low) RAM to recall program
14 = not enough room in normal (low) RAM to load string
V. CURRENT LIMITATIONS
A. The Fetch and Run function (#2) always uses the same BASIC as
the calling program used.
B. Overlays must not be larger than the original space, i.e. the
space where these overlays will be loaded in the program.
As a result, some care must be exercised when overlaying;
RAMEXPAND does not currently change “end of program” pointers
or move variable tables.
C. The Store array (#5, #15) and Fetch array (#5, #16) functions
pass one array at a time, and use the whole array.
1. For the Fetch function, if the saved segment is
smaller than the target array, the end of the target
array is unchanged, and the data in the segment will
overlay the existing data in the array only up to the
point where the source data ends.
2. If the the saved segment is larger than the target
array, not all of the segment is retrieved. Only
data up to the end of the target array is transferred.
VI. EXAMPLE PROGRAM
An Applesoft demonstration program has been provided to
illustrate some of the RAMEXPAND functions. This program
consists of the following files.
DEMO DEMO2 APPEND1 APPEND2 APPEND3 DEMOUTPUT
35
Comentarios a estos manuales