home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.acorn:10588 comp.sys.acorn.tech:1436
- Newsgroups: comp.sys.acorn,comp.sys.acorn.tech
- Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!ira.uka.de!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!agate!doc.ic.ac.uk!warwick!pipex!pavo.csi.cam.ac.uk!cl.cam.ac.uk!crj10
- From: crj10@phx.cam.ac.uk (Clive Jones)
- Subject: Re: Monty Pythons most used sentence
- Message-ID: <1993Jan26.154859.11412@infodev.cam.ac.uk>
- Followup-To: comp.sys.acorn.tech
- Telephone-Messages: +44 223 33 4900
- Sender: news@infodev.cam.ac.uk (USENET news)
- Address: Christ's College, Cambridge CB2 3BU, ENGLAND.
- Nntp-Posting-Host: histon.cl.cam.ac.uk
- Organization: U of Cambridge, England
- References: <1k11shINNgps@info2.rus.uni-stuttgart.de> <1993Jan26.121930.14166@ifi.informatik.uni-stuttgart.de>
- Date: Tue, 26 Jan 1993 15:48:59 GMT
- Lines: 24
-
- In article <1993Jan26.121930.14166@ifi.informatik.uni-stuttgart.de> wuerthne@minnie.informatik.uni-stuttgart.de (Martin Wuerthner) writes:
- >
- >OS_Module allocation should not be used for large blocks of memory.
- >Additionally, it can only be used by modules, so it can't be used by
- >applications unless they run as a module. In this case (i.e. module tasks)
- >you may as well use application space !
-
- This isn't actually true - any program at any time can allocate blocks
- of RMA. It is useful for any data which must remain mapped into memory
- irrespective of which task is active. For example - user drag routines
- need to be available in this way, as do filters, ticker events, etc.
-
- OK, so normally one writes those things in a module and uses them from
- one's application, but they can be implemented by direct linkage into RMA.
-
- >If you request memory using Wimp_SlotSize you *never* get memory which is
- >already used by another application. RISC OS even has memory protection
- >(i.e. you may not even access memory which is used by another application).
-
- Except using Wimp_TransferBlock.
-
- (Followups to comp.sys.acorn.tech, please)
-
- --Clive.
-