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


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

Re: How to run cmd line task from within a BASIC program

From druck <news@druck.org.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: How to run cmd line task from within a BASIC program
Date 2022-01-05 18:02 +0000
Organization A noiseless patient Spider
Message-ID <sr4mf4$jmc$1@dont-email.me> (permalink)
References <37b525a459.Paul@outlook.com> <53513ba459.harriet@bazleyfamily.co.uk> <4c90eca559.Matthew@sinenomine.co.uk>

Show all headers | View raw


On 05/01/2022 07:58, Matthew Phillips wrote:
> The way the Wimp works any task when it is running is essentially
> single-tasking and running another program via the command line interpreter
> replaces the current program in memory.  That's why you have to ask the Wimp
> to do it via Wimp_StartTask.
> 
> The WISC OS Wimp is all a big conjuring trick so that you can seemingly
> multi-task on an operating system which is little different from the BBC
> Micro really.  The low-level stuff like the command line interpreter knows
> nothing about multi-tasking.

You can still do the old BBC Micro trick of copying your self to higher 
in memory, and using OSCLI to run the task in the vacated lower memory. 
But its easier these days to use Wimp_StartTask as MP says.

---druck

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


Thread

How to run cmd line task from within a BASIC program Paul Stewart <narrowboat-paul@outlook.com> - 2022-01-01 21:10 +0000
  Re: How to run cmd line task from within a BASIC program Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-01-02 01:06 +0000
    Re: How to run cmd line task from within a BASIC program Paul Stewart <narrowboat-paul@outlook.com> - 2022-01-02 20:29 +0000
    Re: How to run cmd line task from within a BASIC program Matthew Phillips <spam2011m@yahoo.co.uk> - 2022-01-05 07:58 +0000
      Re: How to run cmd line task from within a BASIC program druck <news@druck.org.uk> - 2022-01-05 18:02 +0000
  Re: How to run cmd line task from within a BASIC program Gerph <gerph@gerph.org> - 2022-01-19 16:53 -0800
    Re: How to run cmd line task from within a BASIC program Paul Stewart <narrowboat-paul@outlook.com> - 2022-01-20 19:54 +0000

csiph-web