Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #6653

Re: Temporary memory

From Bob Latham <bob@sick-of-spam.invalid>
Newsgroups comp.sys.acorn.programmer
Subject Re: Temporary memory
Date 2026-06-14 12:41 +0100
Organization None
Message-ID <5ce8cb00a3bob@sick-of-spam.invalid> (permalink)
References <5ce8bbe2c2bob@sick-of-spam.invalid> <5ce8c3e7b9News04@avisoft.f9.co.uk>

Show all headers | View raw


In article <5ce8c3e7b9News04@avisoft.f9.co.uk>,
   Martin <News04@avisoft.f9.co.uk> wrote:

> What language are you using?

Basic assembler, I somehow feel I should apologise for that.

> You could...

I'm looking for memory that I can "claim?"  (2MB-ish) and release
again with ease and has easy direct addressable space.


My feelings about these options are based on poor knowledge I'll
admit but

> - allocate a large enough slotsize when your app starts.

This particular job is one of many my application performs. It will
not be used often and so a big claim at the start does not seem ideal
to me.

> - change slotsize dynamically using SWI Wimp_SlotSize.

I *think* that limit has got much higher with OS5 and it may do the
job but I'm sure I've played with extending a app space in the past
and I didn't enjoy the experience. :-)

> - set up a Dynamic Area and use that.

I may have done that many years ago but can't remember what's
involved but it does have the most appeal with my shallow knowledge.

Is it hard to do?

I've just found some info in PRM5a, I'm reading and understanding
some of it. :-)

> - claim some RMA, but probably not a good idea these days.

I didn't realize or forgotten that was different from Dynamic Area.

Thanks for your help.


Bob.

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Temporary memory Bob Latham <bob@sick-of-spam.invalid> - 2026-06-14 09:56 +0100
  Re: Temporary memory Martin <News04@avisoft.f9.co.uk> - 2026-06-14 11:24 +0100
    Re: Temporary memory Bob Latham <bob@sick-of-spam.invalid> - 2026-06-14 12:41 +0100
      Re: Temporary memory Martin <News04@avisoft.f9.co.uk> - 2026-06-14 13:13 +0100
        Re: Temporary memory Bob Latham <bob@sick-of-spam.invalid> - 2026-06-14 14:51 +0100
          Re: Temporary memory Martin <News04@avisoft.f9.co.uk> - 2026-06-14 15:28 +0100

csiph-web