log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Git client updated to 0.07 (News:2)
- Archive Edition 27:1 reviewed (News:)
- Rougol April 2024 meeting on monday is Anniversary time (News:1)
- WROCC April 2024 meeting o...changes to our phone lines (News:1)
- April developer 'fireside' chat is on saturday night (News:)
- March 2024 News Summary (News:4)
- WROCC Newsletter Volume 41:11 reviewed (News:)
- WROCC March 2024 meeting o... Hughes and Peter Richmond (News:1)
- Rougol March 2024 meeting on monday with Bernard Boase (News:)
- Drag'n'Drop 13i2 edition reviewed (News:)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
The Icon Bar: Programming: BASIC2: Making some room
 
  BASIC2: Making some room
  DiscoBurgess (10:59 31/3/2010)
  moss (11:23 31/3/2010)
    DiscoBurgess (11:35 31/3/2010)
  trevj (11:58 31/3/2010)
    DiscoBurgess (12:07 31/3/2010)
 
Glenn Burgess Message #113864, posted by DiscoBurgess at 09: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 10:23, 31/3/2010, in reply to message #113864

Posts: 9348
MODE130.
  ^[ Log in to reply ]
 
Glenn Burgess Message #113866, posted by DiscoBurgess at 10: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 10: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 11: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 ]
 

The Icon Bar: Programming: BASIC2: Making some room