[comp.sys.acorn] Relaying a message

aglover@acorn.co.uk (Alan Glover) (05/15/91)

-----------------------------------------------------------------------

I want to write a simple time slicing routine which will allow me to
run programs in a window in the Desktop similar to the !Edit task window.
I dont want to use edit for a number of reasons ie I dont like !Edit and
I dont want a scrollable window which stores all output, also !Edit is pretty
slow.
I have thought about this alot and was wondering how Edit manages to do this
anyway, I pressume the program is run under interupts and whilst the program
is actually runing all VDU output is redirected somewhere. How does it get
around the problem of being interupted in a SWI and then corrupting any
workspace it maybe using if the SWI is not re-entrant. Also if the time
slicing routine is called under interupts then you get all sorts of other
problems ! I would disassemble the edit module but it would take too long.
If anyone has any information about how !Edit manages this or any other
solutions I would be *very* gratefull to hear from you.

Thanx.

Reuben Wells. (Software Engineer Birmingham University)

----------------

Address for mail is (deep breath...) 
CCA90051@ibm3090.computer-centre.birmingham.ac.uk

Alan
--------------------------------------------------------------------------
aglover@acorn.co.uk - Moderator of comp.binaries.acorn/comp.sources.acorn
Mail submissions to submit@acorn.co.uk, other mail to moderator@acorn.co.uk