BASIC FUNCTIONS
SECTION 5.5
5.5.4
DEFSEG
Function DEFSEG defines the page of RAM addressed by subsequent
CALI.., PEEK or POKE commands.
Syntax DEFSEG = page no.
Example DEFSEG:1
sets RAM page to
DEFSEG may also be used as part of an expression
PRINT DEFSEG*3
Remarks Page no. is an expression from Oto the last page in the
system. When HUNTER is powered up, DEFSEG is set to O.
This is the TPA or workspace, most often used for machine
code programs called from Basic.
After a program error, DEFSEG is set back to O.
VER.V09F
PAGE 5 - 25