Acorn Arcade forums: Programming: BASIC2: Making some room
|
BASIC2: Making some room |
|
DiscoBurgess (09:59 31/3/2010) moss (10:23 31/3/2010) DiscoBurgess (10:35 31/3/2010) trevj (10:58 31/3/2010) DiscoBurgess (11:07 31/3/2010)
|
|
Glenn Burgess |
Message #113864, posted by DiscoBurgess at 08:59, 31/3/2010 |
Member
Posts: 22
|
So, I'm working on a useless program that doesn't do anything worthwhile. I'm using MODE2, and running out of memory. I know it only leaves me 5K on a model B, so I switched the emulator to a Master 128. I'm less familiar with the 128's memory layout, but I'm not sure I've got an appreciable amount more space, according to HIMEM-LOMEM.
I'm assuming that the extra memory is tucked away in sideways RAM, which I guess is out of reach for conventional BASIC use, if memory serves. My program is basically just an awful lot of graphics statements. I've thought of a few ways to squish the size down (use DATA statements, for example), but I was wondering if anyone knew a way to increase that HIMEM-LOMEM value without breaking anything? |
|
[ Log in to reply ] |
|
John Hoare |
Message #113865, posted by moss at 09:23, 31/3/2010, in reply to message #113864 |
Posts: 9348
|
MODE130. |
|
[ Log in to reply ] |
|
Glenn Burgess |
Message #113866, posted by DiscoBurgess at 09:35, 31/3/2010, in reply to message #113865 |
Member
Posts: 22
|
Short and to the point. I tried it, and it gave me more memory alright. I think I remember reading about this somewhere. Those modes put screen memory into sideways RAM, don't they? |
|
[ Log in to reply ] |
|
Trevor Johnson |
Message #113867, posted by trevj at 09:58, 31/3/2010, in reply to message #113864 |
Member
Posts: 660
|
There might be a few other memory joggers on the searchable archives of the BBC micro mailing list. |
|
[ Log in to reply ] |
|
Glenn Burgess |
Message #113868, posted by DiscoBurgess at 10:07, 31/3/2010, in reply to message #113867 |
Member
Posts: 22
|
Great, thanks both. That mailing list pointed me to HIBASIC, which comes with BeebEm, along with the Tube, so I can run BASIC with 47kb of memory. I guess that's the best I'll get unless I switch to an Archimedes, but that's pretty good.
Thanks again, guys. |
|
[ Log in to reply ] |
|
|
Acorn Arcade forums: Programming: BASIC2: Making some room |