Re: A86:New in town


[Prev][Next][Index][Thread]

Re: A86:New in town




Haha, we went through this before! It was already suggested to modify the
stack pointers. Apparently no one bothered to try it. (It is possible that
you might run into other hidden problems even after fixing this, but
doubtful.) For shells, however, the BASIC loader approach is usually the
best anyway, since you'll want them to be able to run the shell simply and
not with Asm(. The approach of replacing the Stop token and installing an
error handler sounds interesting, but seems a bit too hackish to work with
out a WHOLE lot of effort. Seems to me the easiest route is to tinker with
the stacks...

----- Original Message -----
From: David Phillips <david@acz.org>
To: <assembly-86@lists.ticalc.org>
Sent: Monday, February 21, 2000 6:45 PM
Subject: Re: A86:New in town


> The problem is with the stack.  'stop' is sort of like _jforcecmdnochar in
> assembly, or how you would do it by hand.  Nuke the stack and exit.  But
> since you are calling it from an assembly program, and they didn't store
the
> correct info in ram to return to the assembly program, it screws up.
>
> Hmm...it just might be possible to go through and replace the token for
> 'stop' with something that would cause an error.  And if you installed an
> error handler before you ran the program...




References: