AT&T 6300 Programmer's Manual page 283

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

GWBASIC
Command
IM:[highest memory] [,maxblock size]
when present, 'highest memory' sets the maximum number of
bytes that will be used as GWBASIC workspace. GWBASIC will
attempt to allocate 64K of memory for the data and stack seg-
ment. If machine language subroutines are to be used with
GWBASIC programs use the 1M: switch to set the highest
memory location that GWBASIC can use. When omitted pr O.
GW BASOC attempts to allocate all it can up to a maximum
of 65536 bytes.
If
order to load programs above the GWBASIC workspace
you must use the optional parameter 'max blocksize' to reserve
areas for the workspace and your programs. 'Maxblocksize' must
be in Paragraphs (byte multiples of 16). When omitted, &HlOOO
(4096) is assumed. This allocates 65536 bytes (65536=4096 x 16)
for GWBASIC's Data and Stack segment. If you require 65536
bytes for GWBASIC and 512 bytes for machine language subrou-
tines, then use
IM:,&H1010
(4096 paragraphs for GWBASIC
+
16 paragraphs for your routines).
IM:,2048
says: "Allocate and
use 32768 bytes maximum for data and stack".
IM:32000,2048
allocates 32768 bytes maximum but GWBASIC will only use the
lower 32000. This leaves 768 bytes available for program space.
7-127

Advertisement

Table of Contents
loading

Table of Contents