Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #1566
| Message-ID | <120402015501@arcade.demon.co.uk> (permalink) |
|---|---|
| From | jgh@arcade.demon.co.uk (Jonathan Graham Harston) |
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Memorymanager &8000 |
| References | <640f5f7952.beeb@ron1954.woosh.co.nz> |
| Date | 2012-04-02 00:53 +0100 |
beeb@woosh.co.nz wrote:
> I am using approx 1K of Memory at &8000 from an Obey file, like this:
> Echo <0><0> { >> <TarControl$Dir>.Files.OK }
> Load <TarControl$Dir>.Files.OK &8000
I'm surprised that doesn't give an error. Filing commands take
/hexadecimal/ addresses, to load to 8000 you specify 8000. I've just
tried *LOAD !Boot &8000 on my A5000 and no error occured, but I have
no idea what happened.
The Task Manager "Next" size specifies how much memory the next
task gets. This defaults to 640K or however much is remaining if
less than 640K.
If it is a single-tasking task (ie you never call Wimp_Init and
Wimp_Poll) then you can't relinquish any memory you don't need.
You should specify how much memory you want to use with *WimpTask
which errors if there is less memory in the current task slot than
you ask for, and increases "Next" if neccessary:
WimpSlot -min 1K -max 1K
Echo <0><0> { >> <TarControl$Dir>.Files.OK }
Load <TarControl$Dir>.Files.OK 8000
Obey -m 8045
WimpSlot uses a grain size of whatever your memory mapping hardware
uses, usually 32K.
I'm guessing 'Obey -m' obeys commands in memory. On my system it
gives "File '-m' not found". How does it know it has come to the
end of the commands to execute?
> Using
> *Save Ram:whats_at8000 8000 8214
You will get whatever crap happens to be in the memory that the
task manager choses to page in.
--
J.G.Harston - jgh@mdfs.net - mdfs.net/jgh
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Memorymanager &8000 Ron <beeb@woosh.co.nz> - 2012-04-01 15:25 +1300
Re: Memorymanager &8000 jgh@arcade.demon.co.uk (Jonathan Graham Harston) - 2012-04-02 00:53 +0100
Re: Memorymanager &8000 Ron <beeb@woosh.co.nz> - 2012-04-02 21:15 +1200
Re: Memorymanager &8000 Ron <beeb@woosh.co.nz> - 2012-04-04 00:58 +1200
Re: Memorymanager &8000 "Ste (news)" <steve@revi11.plus.com> - 2012-04-05 12:28 +0100
Re: Memorymanager &8000 Ron <beeb@woosh.co.nz> - 2012-04-06 01:27 +1200
Re: Memorymanager &8000 Gerph <gerph@gerph.org> - 2012-04-01 04:41 -0700
Re: Memorymanager &8000 Ron <beeb@woosh.co.nz> - 2012-04-03 09:31 +1200
Re: Memorymanager &8000 Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-04-04 06:22 +0200
Re: Memorymanager &8000 Ron <beeb@woosh.co.nz> - 2012-04-05 13:41 +1200
csiph-web