I couldn't tell, is a person doing this? or was this an LLM dissecting it?
This was made collaboratively by me directing coding agents at the binary, using Ghidra MCP extensively, disassembly and also dynamic analysis with an emulator. I don't have a writeup of the process but it was definitely not fully automatable (I wish though). I might prepare a blog post with transcripts and session history and things I learned along the way. Broad takeaways: - Ghidra MCP is not a silver bullet. Lots…
Full Reverse Engineering of the TI-84 Plus Operating System
11–20 of 28 posts
Re: Full Reverse Engineering of the TI-84 Plus Operating System
#12Earlier quoted context omitted.
This was made collaboratively by me directing coding agents at the binary, using Ghidra MCP extensively, disassembly and also dynamic analysis with an emulator. I don't have a writeup of the process but it was definitely not fully automatable (I wish though). I might prepare a blog post with transcripts and session history and things I learned along the way. Broad takeaways: - Ghidra MCP is not a silver bullet. Lots…
Do you have plans to generate a buildable version of the sources, and do you know the original implementation language (C?).
Regarding source build, I think reverse engineering it to the point where you can reconstruct the source is possibly legally problematic, so I don't plan to do this, but maybe for certain subsystems like MathPrint (equation display) which was especially fun to RE. I have a PR up for it and it will be live at
Re: Full Reverse Engineering of the TI-84 Plus Operating System
#13Re: Full Reverse Engineering of the TI-84 Plus Operating System
#14Re: Full Reverse Engineering of the TI-84 Plus Operating System
#15Earlier quoted context omitted.
Do you have plans to generate a buildable version of the sources, and do you know the original implementation language (C?).
It's highly likely that the original implementation language was assembly. The code is very idiomatic. Regarding source build, I think reverse engineering it to the point where you can reconstruct the source is possibly legally problematic, so I don't plan to do this, but maybe for certain subsystems like MathPrint (equation display) which was especially fun to RE. I have a PR up for it and it will be live at https:/…
Re: Full Reverse Engineering of the TI-84 Plus Operating System
#16From my memory of using a TI-83 in the late 90s, I would not be surprised if the keypad UI injects tokens directly based on your keypress, rather than "tokenizing the text". I seem to recall, for example, you could not position the cursor in the middle of a BASIC token, and if you managed to type out the tokens it would not work; you needed to find the right menu item to inject the correct token.
Re: Full Reverse Engineering of the TI-84 Plus Operating System
#17I couldn't tell, is a person doing this? or was this an LLM dissecting it?
This was made collaboratively by me directing coding agents at the binary, using Ghidra MCP extensively, disassembly and also dynamic analysis with an emulator. I don't have a writeup of the process but it was definitely not fully automatable (I wish though). I might prepare a blog post with transcripts and session history and things I learned along the way. Broad takeaways: - Ghidra MCP is not a silver bullet. Lots…
Re: Full Reverse Engineering of the TI-84 Plus Operating System
#18> TI-BASIC programs are stored as tokens, not text: every command, function, and variable is a token of 1 or 2 bytes. The OS detokenizes (token→display string) to show a program and tokenizes (keypress/text→token) on entry; the parser walks tokens to execute. From my memory of using a TI-83 in the late 90s, I would not be surprised if the keypad UI injects tokens directly based on your keypress, rather than "tokenizi…
Interestingly, you could print tokens in strings - e.g. you could Disp "Disp ".
Re: Full Reverse Engineering of the TI-84 Plus Operating System
#19Re: Full Reverse Engineering of the TI-84 Plus Operating System
#20I couldn't tell, is a person doing this? or was this an LLM dissecting it?
> Confidence is flagged: ..... > The big picture > The structural reverse-engineering is comprehensive (every subsystem mapped, both cross-page mechanisms resolved ... > Confidence summary / open items Probably an LLM wrote the docs. > (the GhidraMCP plugin reconnects for interactive work) Probably LLM+Ghidra for the actual RevEng. Ultimately does it matter if the end product is works though