A92: C -- a limit on ROM calls?


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

A92: C -- a limit on ROM calls?




ls there a limit as to how many times l can use sprintf and DrawStr?  l was 
working on snoboard2000, and l came across a perplexing problem.  if l have

sprintf(str,"%d",a);  // could be 'a' or any other int type
DrawStr(x,y,str,4);  // any x,y coordinates within screen range

ANYWHERE in my program then l can get the title screen to display, but 
pressing a key after that causes a Line 1111 Emulator error.  Of course, 
removing the above code will make the program run normally on the calc.  lf l 
put the above code back into the program, it will run just fine only if l 
remove another instance of sprintf and DrawStr.  lt does not seem to matter 
where the location of any of these two ROM calls is.  What is happening?

--TurboSoft

Visit the TURBOSOFT HOMEPAGE:  The most current Basic and C programs created 
by TurboSoft for the 89, and the most 89 web links.
<A HREF="http://turbosoft.ticalc.org/">http://turbosoft.ticalc.org/</A>


Follow-Ups: