[A83] GetTokString rom call


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

[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: