split a basic program into two different areas of RAM?



I assume you could poke 103, 104 with new values, and jmp back to the
basic
interpreter to split a basic program?

IE, program first half at $800 to $1FFF. second half at $4000 to
$6000.

any time you need to get to the second half of the program, call a ML
program that modifies 103 and 104, then call the interpreter. you
would
need to restore them when program flows back to the first half.

Are there instructions on how to do this anywhere?

Rich
.



Relevant Pages

  • Re: split a basic program into two different areas of RAM?
    ... asdf wrote: ... interpreter to split a basic program? ... program first half at $800 to $1FFF. ... program that modifies 103 and 104, then call the interpreter. ...
    (comp.sys.apple2.programmer)
  • Re: Scriptbasic - Compiling the generated C code
    ... When you compile a ScriptBasic program to C you actually do nothing ... but create a C program that contains the bytecode of the BASIC program ... BASIC interpreter creates in memory or saves to an output file when it ...
    (comp.os.linux.development.system)
  • Re: Shorter Output - Decimal and Hex Integers
    ... environment, so what you're seeing here might be down to BB4W actually ... copy of the interpreter itself, along with the BASIC program. ...
    (comp.sys.acorn.programmer)