BASIC, with Data in High RAM


Nov 6, 2019

I have a LOT of raw data that is crowding out my BASIC RAM. I have about 500 lines of DATA statements, and after it's all read into an array, I have less than 6K RAM for the actual program.

That's ridiculous, right? I think the obvious solution is to shove all that data into the high RAM banks.

But of course if I POKEd it in, I'd still have a lot of DATA statements taking up space.

So what's the solution? Is there a way to load files directly into banked memory? Do I need multiple programs, one to load data, one for the main program?

Thanks for your suggestions, in advance.