We all know the large font character map, and I was thinking of turning this into a (routine? library?) for TiBasic programmers to use.
Input: Ans (contains the character's number you want to print, for example, 65 is the "A")
Output: Prints the corresponding character to the screen at the top left corner

Code:
.nolist
#include "ti83plus.inc"
.list
.org userMem - 2
.db t2ByteTok, tAsmCmp

   bcall(_ClrLCDFull)
   ld a, 0
   ld (CurRow), a
   ld (CurCol), a
   bcall(_RclAns)
   bcall(_ConvOP1)
   ld h,d
   ld l,e
   bcall(_PutC)
   ret
.end


It's not that all optimized, but, it works!
Nice work, a good test and demo!

If your program is operating under Doors CS 7, you can also do this with Celtic III using the HexToBin function (det(17)). For example, det(17,"41") would yield "A", where 41 is the hexadecimal value of decimal 65.
Thanks. Smile

I've read the det(17) docs, and it's about tokens, not character maps. Basically, this can display the "blinking square", while the det(17) function can't.
You're absolutely right, although it can put those items in a string, it doesn't have a way to print them as characters rather than tokens. I'm disappointed to not be able to find any functions to do this in any of the libraries Doors CS 7 includes, but the flip side of that is that you've made something quite useful here!
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement