I'm programming my TI-84 in C with z88dk. I need to call things like normalcdf and Ztest. I know they can be called from ti-BASIC, but how do I call them from C or inline assembly?
Asked
Active
Viewed 401 times
1 Answers
3
In TI-84 assembly, you use the BCALL
or B_CALL
instruction to do a "system call" into the TI-84's ROM. This is usually used for simple I/O things (B_CALL PutS
prints a string to the screen), but it could also be for more complicated mathematical routines (LD A,OPNormal; B_CALL BinOPExec
computes the normalcdf(
function).
Google "ti-84 bcall BinOPExec" for more information on B_CALL
.

Quuxplusone
- 23,928
- 8
- 94
- 159
-
Thanks. yeesh this is going to be fun to figure out – spacehitchhiker42 Jul 02 '13 at 17:41
-
@deepthought If this solved your problem, please "accept" this answer, to keep your question from coming up as "Unanswered" and of course to give me karma. ;) Thanks! – Quuxplusone Jul 03 '13 at 03:50