[Coco] Suggested RAM area for ML program to be used from BASIC?

Arthur Flexser flexser at fiu.edu
Sat Jun 7 19:48:50 EDT 2008


On Sat, 7 Jun 2008, Frank Pittel wrote:

> I don't remember where I got this from but I seem to remember a way
> to reserve memory for machine language programs from within a basic
> program. Seems like the best way to do it to me.
> 
> Frank

You're thinking of the CLEAR statement:  if the ML program is at $7F00, do a
CLEAR 200,&H7F00 to protect the program from Basic and reserve the usual 200
bytes of string space just below it.  This would generally be in the first line
of any Basic program that has to coexist with the ML.

Art




More information about the Coco mailing list