Re: A86: string to floating point


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

Re: A86: string to floating point




yeah, i found the routine at $5B12 on page 3, but i couldn't figure out where
it was getting the string from.  also, i wasn't sure if there was anything on
page $D that corresponded to it...  thanks for the routine- if i can't find a
routine in ROM to do it (that i can call easily) then i'll use it...  but
this seems too important to leave out...

rabidcow@juno.com wrote:

> On Thu, 07 May 1998 19:52:25 -0400 Stephen Hicks <shicks@mindspring.com>
> writes:
> >
> >Om that thought, do you (or anyone) know how to take a null-terminated
> >string and make it into a floating point number in OP1 that the
> >calculator
> >can understand and manipute?
> >
> ok, well i think the rom routine to do this is at $5b12 on page $03 but
> there's no good calls to it.  here's a routine that'll convert a string
> if you have the length in b, just count the length before you call it.  i
> haven't tested it on a calc, only in the emulator, 'cause mine "went
> missing"
>
> -josh



--
Stephen Hicks
mailto:shicks@mindspring.com
ICQ:5453914
IRC/AIM:Kupopo
Hopemage:http://www.mindspring.com/~shicks/



References: