Re: A86: (sqrt)parse
[Prev][Next][Index][Thread]
Re: A86: (sqrt)parse
$598f
Stephen Hicks wrote:
>
> Wouldn't that only work if it pushed hl 3 times? what's with that anyway? when/why does it do taht?
>
> Dux Gregis wrote:
>
> > Yeah, I thought about that. I tried doing this by getting the saved hl
> > register (it pops hl three times) and then doing jp (hl).
> >
> > Stephen Hicks wrote:
> > >
> > > >From what i can tell, (sqrt)parse is just jumped to when the right flags are set and right before it does normal parsing. the key
> > > word there is _jump_ - that's why a ret just returns to the homescreen. the idea is really simple. you want the program to do
> > > basically this:
> > >
> > > check to see if an asm program is called
> > > if so, run it
> > > otherwise, parse as normal.
> > >
> > > it's that last line that's giving us a hard time. I think that if the emulator has an option added that will track the PC, then it
> > > will be doable, however.
> > >
>
> --
> Stephen Hicks
> mailto:shicks@mindspring.com
> ICQ:5453914
> IRC/AIM:Kupopo
> Hopemage:http://www.mindspring.com/~shicks/
References: