Re: A86: (sqrt)parse


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

Re: A86: (sqrt)parse




ld hl,cmd-1
 rst 20h
 rst 10h
 ;bde points to data
cmd:
.db 1,"#",0

Keith wrote:
> 
> the problem is when i was searching for the place where the commands are
> stored, i stopped my search after the fist occurance.  i didn't notice
> that it was in the textshadow :) also iv'e heard something about these
> hidden programs, but what do they do? can i get the address like a
> regular variable? and then read that into an op?
> 
> Stephen Hicks wrote:
> >
> > no, we'd rather get it from the hidden prog, not the textshadow
> >
> > Dux Gregis wrote:
> >
> > > Well, then.  All he has to do is multiply the cursor row by 21 and add
> > > it to the start of the textshadow..
> > >
> > > Stephen Hicks wrote:
> > > >
> > > > That would make sense - for a lot of things...  Never mind then...  I looked at his source and it grabbed the program name from that
> > > > location...  that explains why it works only at certain times - when the program name is at that location on the screen.
> > > >
> > > > Dux Gregis wrote:
> > > >
> > > > > Huh?  You'd better ask that question again.  $c161 is the middle of the
> > > > > text shadow.
> > > > >
> > > > > Stephen Hicks wrote:
> > > > > >
> > > > > > Is the command prompt really at 49505d?  I thought it was in the hidden program # or !...  What about when it gets bigger than
> > > > > > FC00h-49505d bytes long?
> > > > > >
> > > > > > 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/
> > > >
> > > > --
> > > > Stephen Hicks
> > > > mailto:shicks@mindspring.com
> > > > ICQ:5453914
> > > > IRC/AIM:Kupopo
> > > > Hopemage:http://www.mindspring.com/~shicks/
> >
> > --
> > Stephen Hicks
> > mailto:shicks@mindspring.com
> > ICQ:5453914
> > IRC/AIM:Kupopo
> > Hopemage:http://www.mindspring.com/~shicks/


References: