Re: A86: (sqrt)parse
[Prev][Next][Index][Thread]
Re: A86: (sqrt)parse
>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.
Dux Gregis wrote:
> Something else I should have mentioned: you'd think that _op1set1 would
> return 1 everytime something's parsed, but that doesn't do anything
> either...
>
> Dux Gregis wrote:
> >
> > I know, that's why it's so loopy :-)
> >
> > I posted some code a while back that used [sqrt]HOME to disable the
> > DelVar( from the home screen; I'll post it again if you want.
> >
> > Keith wrote:
> > >
> > > what is the difference between the two? actually i wanted to figure out
> > > what (sqrt)parse did and how to modify it but even when i created the
> > > program with no code in it, it still messed up parsing, like 4+3 would
> > > just return done. i dont know, i think i'll try to figure out the
> > > (sqrt)home thing
> > > Keith
> > >
> > > Dux Gregis wrote:
> > > >
> > > > I don't know, man, this program just seems to screw up parsing. You
> > > > might be able to run an asm prog from the home screen, but you can't do
> > > > anything else. Try using [sqrt]HOME instead :-)
> > > >
> > > > Keith wrote:
> > > > >
> > > > > i finally got my (sqrt)parse program to "work". what it does is look at
> > > > > the command line, then if it is the name an assembly program it will
> > > > > execute it. however it has some major problems. when you type in the
> > > > > name of the program it will take 4 times of typing it and hitting return
> > > > > for it to run if it is the first program you are running and 5 times
> > > > > thereafter. it will give an undefined error if it doesn't run it.
> > > > > confusing? heres the file and source.
> > > > >
> > > > > ------------------------------------------------------------------------
> > > > >
> > > > > Name: asmOS.86p
> > > > > asmOS.86p Type: TI86 Program (application/x-unknown-content-type-TI86.Program)
> > > > > Encoding: base64
> > > > >
> > > > > Name: asmOS.asm
> > > > > asmOS.asm Type: Assembly Source File (application/x-unknown-content-type-Asmide86.Document)
> > > > > Encoding: base64
--
Stephen Hicks
mailto:shicks@mindspring.com
ICQ:5453914
IRC/AIM:Kupopo
Hopemage:http://www.mindspring.com/~shicks/
Follow-Ups:
References: