Path: csiph.com!aioe.org!yBIfwlcYvPp0VbqA9SeaOg.user.46.165.242.75.POSTED!not-for-mail From: Kevin Wells Newsgroups: comp.sys.acorn.programmer Subject: Re: Problem returning from WGET from within an assembler prog Date: Mon, 11 Apr 2022 18:09:14 +0100 Organization: Aioe.org NNTP Server Lines: 55 Message-ID: References: <59d5e28a96bob@sick-of-spam.invalid> <59d600739fbob@sick-of-spam.invalid> <6a8503d659.harriet@bazleyfamily.co.uk> <59d6672366bob@sick-of-spam.invalid> <59d68649a5bob@sick-of-spam.invalid> <13d593d659.Kevin@Kevsoft> <59d6dc7625bob@sick-of-spam.invalid> Injection-Info: gioia.aioe.org; logging-data="5616"; posting-host="yBIfwlcYvPp0VbqA9SeaOg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Messenger-Pro/8.05wpb1 (MsgServe/8.05) (RISC-OS/5.29) NewsHound/v1.52-32 X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com comp.sys.acorn.programmer:6359 In message Kevin Wells wrote: >In message <59d6dc7625bob@sick-of-spam.invalid> > Bob Latham wrote: > >>In article <13d593d659.Kevin@Kevsoft>, >> Kevin Wells wrote: >> >>> >In article , >>> > Steve Fryatt wrote: >> >>> >> Ah. Wimp_StartTask must be called from a Wimp application which >>> >> is already calling Wimp_Poll. >> >>> From BASIC wget is easy to fetch files from the internet I use the >>> followiong: >> >>> SYS "Wimp_StartTask", "wget ... >> >>> Whilst fetching the computer is single tasking, >> >>When you say "Basic", I'm starting to think you mean a full wimp >>application written in Basic? > >Yes under DR Wimp > >Another method I used in my QrCode application is to create an Obey file >with just wget ... in it file typed as FEB so that I can have more than >256 characters in it. If going down that route then anything with a % in >it will need %% After a few pints of insperation juice (beer) I think I have a plan for multitaksing the the above. There is an an obey file that returns to the computer very quickly I can't remember which one at the top of my head. So you select the logging switch to save the log info to file scrap would be the best place, and in the polling loop check to see if that file is there and when it is carry on. >> >>Thanks. >> >>Bob. >> > > -- Kev Wells http://kevsoft.co.uk/ https://ko-fi.com/kevsoft carpe cervisium Bring me my bow of burning gold!