[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using all 128 K
> How big is your BASIC program? BASIC programs are stored starting at $800
> and work their way up. Numeric variables are stored after the end of the
> program. Strings are stored at the top of free memory, normally $9600, and
> work their way down. Unfortunately BASIC has no idea if you're using any of
> that memory between $800 and $9600 and will try to use it too.
>
> To check if your program is intruding past $2000, just type HGR, then LOAD
> the program. Since hi-res page 1 uses the memory from $2000 to $3FFF, if you
> see anything appear on the graphics screen then your program is too big and
> is intruding into the same memory you're later loading data into. If the
> screen stays clear try running the program, but remove any lines that load
> in data to the hi-res buffer. If the variables the program creates are going
> past $2000 you'll be able to see them changing on the screen.
>
Uh, back to the drawing board... I think the copy of BASIC.SYSTEM I
was using may be at fault... tried a different one and things are
functioning properly.
Sorry.