Article View: comp.sys.acorn.tech
Article #342Re: RISC-OS apps in modules
From: Julian Wright
Date: Wed, 14 Oct 1992 02:21
Date: Wed, 14 Oct 1992 02:21
28 lines
1997 bytes
1997 bytes
idg10@cl.cam.ac.uk (I.D. Griffiths) writes: > You're missing the fact that !Edit runs as a normal application and not a > module application... Although maybe it doesn't, it's hard to tell > since I think the task manager only uses memory allocation to decide > (i.e. 0k of app space means it's a module task...). I don't know > precisely what edit does, although it is quite likely to have some > assembler patching... It certainly appears to run as a module task which claims a chunk of application space for workspace. It is started with the '*Desktop_Edit' command, which you shouldn't use :-). Aside: It occurrs to me - since all tasks must be started with a * command, why don't Acorn put a '*RunModule <modulename>' command into the kernal, rather than each module having to supply it's own '*Desktop_<name>' command? You would still need the mechanism on startup of checking to see if you were already running, etc, but this would eliminate a lot of superfluous command tables being checked every time a * command is issued... BTW There is a minor related bug with the Task Manager. Normally Pinboard starts out being listed in the task manager as a module task, which is fine. If you then load a backdrop into pinboard, the Task Manager moves Pinboard into the application tasks area, as Pinboard is now using application area. But now if you kill the backdrop Pinboard *stays* in the application tasks area with a 0k wimpslot. -- Confusious say: "Man who sit on hot stove is better off"
Technical Details
Message-ID:
<2QEWpBj025n@bridge.welly.gen.nz>Path:
arc1-ca.pugleaf.net!sparky!uunet!comp.vuw.ac.nz!cavebbs!tornado!sideways!bridge!julianReferences:
<BuwFpr.Kzy@cantua.canterbury.ac.nz> <1992Oct12.161759.2143@infodev.cam.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!comp.vuw.ac.nz!cavebbs!tornado!sideways!bridge!julian From: julian@bridge.welly.gen.nz (Julian Wright) Newsgroups: comp.sys.acorn.tech Subject: Re: RISC-OS apps in modules Message-ID: <2QEWpBj025n@bridge.welly.gen.nz> Date: Wed, 14 Oct 1992 14:21:26 +1200 References: <BuwFpr.Kzy@cantua.canterbury.ac.nz> <1992Oct12.161759.2143@infodev.cam.ac.uk> Reply-To: wright_j@kosmos.wcc.govt.nz Organization: USS Enterprise, NCC 1701a Lines: 28