
September 15th, 2009, 07:03 PM
|
|
n00b DevH'er
|
|
Join Date: Sep 2009
Posts: 5
Time spent in forums: 1 h 46 m 42 sec
Reputation Power: 0
|
|
|
Need to know how to use TI-OS user variables in 83/84 Plus Asm.
My question is: How do I use the value from the TI-OS user variables(A - Z, Theta) in an assembly program? This is the code I have so far. I am attempting to get the value from the TI-OS variable D and display it, but it consistently displays 0, no matter what D is.
Code:
.NOLIST
#include "ti83plus.inc"
#include "mirage.inc"
.LIST
.org $9D93
.db $BB, $6D
B_CALL(_ClrLCDFull)
LD HL, VarD
B_CALL(_Mov9ToOP1)
B_CALL(_ConvOP1)
EX DE, HL
B_CALL(_DispHL)
ret
VarD:
.DB RealObj, tD, $00, $00
.end
END
|