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


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

Re: Basic ERL wrong after abort

From Martin <News03@avisoft.f9.co.uk>
Subject Re: Basic ERL wrong after abort
Newsgroups comp.sys.acorn.programmer
Date 2013-05-19 17:42 +0100
Message-ID <534e5dc229News03@avisoft.f9.co.uk> (permalink)
References <524dd2a9c0News03@avisoft.f9.co.uk> <de924ead-531c-4100-9787-ccd2cb79f5cc@m4g2000vbc.googlegroups.com> <524dee4472News03@avisoft.f9.co.uk> <11f0a3e9-10be-4bcd-b358-b4a83f821344@j9g2000vby.googlegroups.com>
Organization None

Show all headers | View raw


On 08 Jan, in article
<11f0a3e9-10be-4bcd-b358-b4a83f821344@j9g2000vby.googlegroups.com>,
   wpb <w.blatchley@yahoo.com> wrote:
> This is very interesting. I've witnessed this bug a few times myself.
> Martin, please do report (ha!) back about your success or otherwise
> with rescuing the line number from the environment error handler.

Just to give an update on this problem, I eventually managed to work out
how to make Basic return the correct ERL, even after an abort in external
code executed using CALL, USR, SYS, or a *command (either directly or
using OSCLI), and that code Aborts with Data Transfer, Undefined
Instruction or Instruction Fetch.

This also means that a Basic program can get control back after such an
error, rather than just ending abruptly.

The change is in Basic v1.54, currently available only as part of RISC OS
v5.19 dated after April 29th.

See https://www.riscosopen.org/forum/forums/3/topics/1511 for some
further details and any discussion.

-- 
Martin Avison 
Note that unfortunately this email address will become invalid
without notice if (when) any spam is received. 

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


Thread

Basic ERL wrong after abort Martin <News03@avisoft.f9.co.uk> - 2012-01-07 12:54 +0000
  Re: Basic ERL wrong after abort cferris@freeRemoveuk.com.invalid - 2012-01-07 13:49 +0000
    Re: Basic ERL wrong after abort Martin <News03@avisoft.f9.co.uk> - 2012-01-07 15:22 +0000
  Re: Basic ERL wrong after abort Gerph <gerph@gerph.org> - 2012-01-07 06:11 -0800
    Re: Basic ERL wrong after abort Martin <News03@avisoft.f9.co.uk> - 2012-01-07 17:56 +0000
      Re: Basic ERL wrong after abort wpb <w.blatchley@yahoo.com> - 2012-01-08 04:05 -0800
        Re: Basic ERL wrong after abort Martin <News03@avisoft.f9.co.uk> - 2013-05-19 17:42 +0100
          Re: Basic ERL wrong after abort Alan Adams <alan@adamshome.org.uk> - 2013-05-19 18:42 +0100

csiph-web