Re: A86: Conversion
[Prev][Next][Index][Thread]
Re: A86: Conversion
To tell you the truth.... there are more than just a couple ways to do
that.... but the easiest I will try to explain.... I don't want to make an
extremely long time consuming explanation for this so I'll cut it down and
just about any halfwitted (I know almost all of you are very knowledgeable)
programmer can fill in the gaps for a finished code.
First you have to get the string's address from memory. usually if you load
it's name and tag info into op1 then ( rst 20 \ rst 10 ) you can get ahl (it's
24 bit) to point to it's data. From there you create a new equation with (x+1)
number more bytes than your last string where x=the name length. save first
the name and then an equals sign and then your equation.
The alternative approach is a little trickier but will reverse (most of the
time) the process. First look in the VAT for an equation variable (type $0A ,
$11 , $2A or $34) and then create a new string variable same length and copy
the data.
Please note that there are tons of system routines for doing all this stuff,
and many programmers have documented source code for the 86, if possible don't
re-reply unless you really need help.
$11,$34,$0a,$2a