
Example of Inputting Hex Code
IMPORTANT: DO NOT UPGRADE TO TI-OS 5.6. For more information please click here. Asm Programming was completely removed in TI-OS 5.6, and once upgraded, you cannot downgrade.
NOTICE: If you have upgraded to TI84+CE OS 5.4, you cannot use any of these programs because TI said so. If you try to run any of them, the calc will throw an "INVALID" error. You need to use AsmComp(prgmSOURCE,prgmNEW to run assembly programs.
DOWNGRADE NOTE: If you have upgraded to 5.6, a tutorial is located here to downgrade from OS 5.5+. This will work with any boot code up to 5.3.1.
There are all sorts of small assembly programs that you can create simply using the calculator's built-in assembly commands (specifically, AsmPrgm84C and AsmPrgmCE), along with the appropriate hexadecimal code. In order to run a program, you need to use the Asm( command, where Asm(prgmPROGNAME is the program that contains the hexadecimal code.
As a word of caution, when entering the hexadecimal, you need to be very careful that you type it in exactly as you see it. If there is a single incorrect character, the calculator might crash and reset your RAM when you turn it on again. We have tested the hexadecimal codes to make sure they work, but it's up to you to enter them incorrectly.
Table of Contents
|
Toggle Program Mode
:Asm84CEPrgm
:FD7E08EE02FD7708C9
When used in a program, it allows you to use Archive and UnArchive on other programs. warning: Make sure to switch back to "program mode" when you're done by running the program again.
Screen to Graph [TO DO]
Quick Key
:Asm84CEPrgm
:3A8705D0CD080B02CD300F02C9
Text Inverse
:Asm84CEPrgm
:FD7E05EE08FD7705C9
This will switch from normal text mode to inverse (white text on black background) and vice versa.
Lowercase
Lowercase On
Asm84CEPrgm
:FDCB24DEC9
Lowercase Off
Asm84CEPrgm
:FDCB249EC9
Lowercase Toggle
Asm84CEPrgm
:FD7E24EE08FD7724C9
This will toggle lowercase on or off
Fill Screen [TO DO]
LCD Clear
Asm84CEPrgm
:CD101A02C9
Clears the LCD.
LCD Clear and redraw Status Bar
Asm84CEPrgm
:CD101A02CD3C1A02C9
Same as LCD Clear, but redraws the Status bar.
White
Asm84CEPrgm
:210000D436FFE5D11301FF5702EDB0C9
Black
Asm84CEPrgm
:210000D43600E5D11301FF5702EDB0C9
Fill Screen with color value in Ans (0-255, from xLibC palette)
Asm84CEPrgm
:CD500F02CD700F02320000D4210000D4E5D11301FF5702EDB0C9
Border [TO DO]
White Border [TO DO]
Black Border, Clear Inside [TO DO]
Invert Screen [TO DO]
Change brightness level (ti-84 plus CE)
Set Brightness
Asm84CEPrgm
:CD500F02CD700F02322400F6C9
Set the brightness to a value between 0 and 255 stored in Ans, 255 is low, 0 is high.
Decrease Brightness
Asm84CEPrgm
:3A2400F63C322400F6C9
Decrease the brightness by 1. Run many times to see a noticeable difference.
Increase Brightness
Asm84CEPrgm
:3A2400F63D322400F6C9
Increase the brightness by 1. Run many times to see a noticeable difference.
Run Indicator
Run Indicator Off
Asm84CEPrgm
:CD480802C9
Run Indicator On
Asm84CEPrgm
:CD440802C9
Toggle Run Indicator
Asm84CEPrgm
:FD7E12EE01FD7712C9
Note that when this routine turns the run indicator off, it doesn't erase the run indicator, it simply stops it.
Simulated Key Presses
Alpha Lock
AsmPrgm84C
:3E51FD7712C9
This simulates [2nd][Alpha]
Alpha Lock (No disable)
AsmPrgm84C
:3ED1FD7712C9
This is the same as the first, but you have to press [2nd][mode] to disable it.
Lowercase Press
AsmPrgm84C
:3E31FD7712C9
This works even if lowercase isn't enabled.
Lowercase Lock
AsmPrgm84C
:3E71FD7712C9
This simulates [2nd][Alpha][Alpha].
Lowercase Lock (No disable)
AsmPrgm84C
:3EB1FD7712C9
This can only be disabled by pressing [2nd][mode]
Alpha Off
AsmPrgm84C
:3E01FD7712C9
[2nd]
AsmPrgm84C
:FDCB12DEC9
An interesting use of these codes can be for prompting user input (If you run Alpha Lock, for example, Input will start with an Alpha press.
If you run the Alpha Lock that can't be disabled at the start of your program and a user presses ON (or an error occurs), you will not be able to select the options, so you are forced to press [2nd][mode].
Disabling "Done" Message
To disable the "Done" message at the end of a Basic program:
AsmPrgm84C
:FDCB00AEC9
Un-Dirty Graph Screen
:AsmPrgm84C
:FDCB0386C9
This will mark the Graph Screen as not dirty. Using ClrDraw will mark the Graph Screen as dirty so the next time it is displayed the screen will be cleared. Many ASM libraries (such as xLIB) modify the graph buffer without displaying the screen which might be unintentionally cleared.
Turn Calculator Off [TO DO]
LCD Off [TO DO]
LCD On [TO DO]
Toggle LCD Power [TO DO]
Calculator Off
Asm84CEPrgm
:CD841402C9
Disable APD
Asm84CEPrgm
:CD341102C9
Disables Automatic Power Down on the TI-84 Plus CE.
Enable APD
Asm84CEPrgm
:CD381102C9
Enables Automatic Power Down on the TI-84 Plus CE.
Auto Calc
Auto DMS
AsmPrgm84C
:FD360A06C9
Auto DMS displays all decimals in Degrees-Minutes-Seconds on the home screen, automatically.
Auto Fractions
AsmPrgm84C
:FD360A0CC9
Auto Fractions will display decimals as fractions (if it can) on the home screen, automatically.
Screen Shifting [TO DO]
Shift Screen Right 1 [TO DO]
Shift Screen Left 1 [TO DO]
Shift Screen Up 1 [TO DO]
Shift Screen Down 1 [TO DO]
Shift Screen Right 4 [TO DO]
Shift Screen Left 4 [TO DO]
Shift Screen Up 4 [TO DO]
Shift Screen Down 4 [TO DO]
Memory Functions [TO DO]
Free RAM [TO DO]
Archiving
AsmPrgm84C
:CD500F02D604C0
:EB010000004E234623
:11F805D0EDB0
:12CD0C0502D8CD98
:1F02C0
:C3481402
The input is a string in Ans, as detailed here.
Unarchiving
AsmPrgm84C
:CD500F02D604C0
:EB010000004E234623
:11F805D0EDB0
:12CD0C0502D8CD98
:1F02C8 ;Only difference
:C3481402
ToggleArch [TO DO]
Reset Defaults [TO DO]
Reset RAM
AsmPrgm84C
:C7
DelVar [TO DO]
Miscellaneous
Turn Cursor Off
AsmPrgm84C
:FDCB0CE6C9
This is harmless, but it stops displaying that blinking cursor :D Just press [2nd][MODE] to put it back to normal. What, jokes are allowed, right?
Turn Cursor On
Asm84CEPrgm
:FDCB0CA6C9
Draw Ti Logo
Asm84CEPrgm
:CD001B02C9
Draws the TI logo
Dark Mode
Asm84CEPrgm
:3E21B7211808F8CD9EA8D16C36012E0D7EE6F020FB2DCB5620FC6C77C906031717177710FAC9
Sets the program to "dark mode" where all colors are inverted until the next power off.
Edit Lock/Unlock Program [TO DO]
Battery Check [TO DO]
ASCII [TO DO]
Error
Asm84CEPrgm
:CD500F02CD700F02CD900702C9
This code will cause an error to be thrown, based on the value in Ans. The values correspond to the ones found here. Use your browser's search tool to look for "E_Overflow" which is Error 1. If you are using a Windows or Chromebook, pressing Control+F will bring up the search tool. On a Mac, pressing Command+F will bring up the search tool. By default, there is no Goto option unless you add 128 to the values. So for example, for a divide by zero error with a goto option, use 130 as the error code.
Advanced [TO DO]
CharLength [TO DO]
String Pixel Width [TO DO]
ListToVars 1 [TO DO]
ListToVars 2 [TO DO]
ExecAns [TO DO]
RepeatKeys [TO DO]
FastKeys [TO DO]
MultiKeys 2 [TO DO]
Sprite [TO DO]
References
Most of these are ported from the TI-83+ Hexcodes page.
Note
Some documentation had been updated for recent updates and functionality.