[A83] Re: GetTokString rom call


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

[A83] Re: GetTokString rom call




Oops, also, I think that if you use GetTokString separately, you will not
get properly formatted output, something more like
rad()x or something... I think there's a call to untokenize a whole
equation.

Kirk

-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Thomas Lutz
Sent: Friday, June 29, 2001 11:11 AM
To: assembly-83@lists.ticalc.org
Subject: [A83] GetTokString rom call



I'm using this chunk of code to display equation data but it doesn't
work right...Any suggestions? (It won't display rad(x), it just displays
rad()).

ConvertToASCII:
;This program will use a few inputs...
;A - number of bytes in the input string
;HL - pointer to input string data
 push af
 push hl
 B_CALL GetTokString
 push bc
 ld hl,OP3
 B_CALL VPutS
 pop bc
 ld b,c
 pop hl
 pop af
Loop:
 inc hl
 dec a
 djnz Loop
 ret z
 jr ConvertToASCII






Follow-Ups: References: