I saw a video showing that typing 211808F874364436206C3601C9 into the Ti 84 CE would enable dark mode. I tried using a dissembler to try and see what the assembly code did so I could implement it in C, but I couldn't get it to work. What would the equivalent of this assembly be in C, and would it be possible for darkmode to work in 8 bit color mode?
Using eZDisasm:
Code:
Here is how I interpreted the Assembly:
Code:
I do know that this code sets the display to 8 bit mode, 0x92D resets it to 16bit mode, 0x827 swaps red and blue, 0xB27 swaps the byte order, 0xA27 swaps red and blue along with byte order.
Code:
Using eZDisasm:
Code:
211808F8 ld hl, F80818
74 ld (hl), h
3644 ld (hl), 44
3620 ld (hl), 20
6C ld l, h
3601 ld (hl), 01
C9 ret
Here is how I interpreted the Assembly:
Code:
hl = F80818
put h at address F80818
put 44 at address F80818
put 20 at address F80818
put h in l
put 01 in at address F80818
return
I do know that this code sets the display to 8 bit mode, 0x92D resets it to 16bit mode, 0x827 swaps red and blue, 0xB27 swaps the byte order, 0xA27 swaps red and blue along with byte order.
Code:
volatile int *p = (int*)0xE30018;
*p = 0x927; //8bit mode 1001 0010 0101