Re: A86:OnTemp.asm


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

Re: A86:OnTemp.asm




Actually, not so much that it would do something nasty, just that there
might be something else we're forgetting (i.e., if Stop crashes and we fix
it this way, some other bug might pop up)... What I said is, try searching
near things that call _exec_basic for things that mess with the OP/FP
stacks. You might just find something that magically modifies the stacks...

----- Original Message -----
From: <rabidcow@juno.com>
To: <assembly-86@lists.ticalc.org>
Sent: Saturday, January 15, 2000 11:43 AM
Subject: Re: A86:OnTemp.asm


>
> well, this was back when people were trying to figure out how to call
> basic programs from shells, but the same should apply.  i suggested doing
> this:
> ld hl,(_OPBASE)
> push hl
> ld hl,(_FPBASE)
> push hl
> ld hl,(_OPS)
> ld (_OPBASE),hl
> ld hl,(_FPS)
> ld (_FPBASE),hl
> ;; run basic prog
> pop hl
> ld (_FPBASE),hl
> pop hl
> ld (_OPBASE),hl
>
> because the only difference between stop and return is that stop resets
> the op and fp stacks back to the base pointers.
> kirk said it would probly do something nasty, but i'm not sure how and i
> don't know if anyone actually tried it.
>
> -josh
>
>
> On Sat, 15 Jan 2000 08:41:13 EST ComAsYuAre@aol.com writes:
> >
> >In a message dated 1/15/00 12:16:57 AM Eastern Standard Time,
> >rabidcow@juno.com writes:
> >
> >> did anyone ever try saving the op stack pointers?  does that work?
> >>
> >
> >How would you go about doing that?
> >
> >
> >----
> >Jonah Cohen
> ><ComAsYuAre@aol.com>
> >http://linux.hypnotic.org/~jonah/ (down)
> >
>
> ________________________________________________________________
> YOU'RE PAYING TOO MUCH FOR THE INTERNET!
> Juno now offers FREE Internet Access!
> Try it today - there's no risk!  For your FREE software, visit:
> http://dl.www.juno.com/get/tagj.
>



References: