Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
I have been working on templates for using graphics and stuff in fasmg for the TI-84+CE.
This thread will be for my questions, progress reports, and documentation on macros and functions that will be included with the eventual release.

This is a WIP. I eventually hope for this to make the step to Assembly programming [a lot] easier!

Currently I am using the graphics routines used in Cesium, but I plan to use GraphX and FileIOC for the final release.

There are already a number of macros!
Graphics:

Code:

printString string
printStringXY string, x, y
setTextXY x, y
fillScreen color
setTextFGColor color
setTextBGColor color
setColor color
getTextX ;stores to HL
getTextY ;stores to B
putRectangle x, y, width, height
putFilledRectangle x, y, width, height
putSprite sprite, x, y
putSprite2x sprite, x, y

Memory/string manipulation:

Code:

uppercase string, string_output ;return string_output in HL
lowercase string, string_output ;return string_output in HL
strcpy string, string_output ;return string_output in HL
strlen string ;return length of string in BC
strset string, char ;set all the bytes of string to char, output string in HL
memset pointer, amount, data ;set amount bytes of pointer to data

Variables

Code:

;Coming soon!
  
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 GMT - 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