Join us on Discord!
You can help CodeWalrus stay online by donating here.

[ti-83+/84+] Hex unsquisher

Started by E37, September 24, 2016, 10:58:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

E37

I spent a half hour a couple days ago and made an assembly to hex opcodes converter.
Actually there is no magic involved in converting a runnable file into hex. Like really simple. If a byte of the program holds 255 the "unsquisher" places FF in the output program. Get it?
That's really all it does. You run the program, type the program's name in, (in ram) and it creates an unsquished copy of the program with theta as its first letter.

Here is the Axe source code. Unsquish is the source code and Opcodes is the executable.
  • Consoles, mobile devices and vintage computers owned: Ti83,Ti84!
I've never finished a project, there is always a way to improve!
What's my calc's name? Convert $37 to decimal. Look up that element in the periodic table. Then take the abbreviation of that element and you have it!
Look! A slime!    <(^.^)>

DJ Omnimaga

Interesting, although perhaps not as practical as if it was online (since most people who needs the hexadecimal version of an ASM program usually needs it to copy a program on their calculator when they have no link cable handy, but I guess for smaller programs this could still be handy if someone has no computer access but happens to know a lot of ASM and decides to modify a program on-calc. That's assuming, of course, that your tool generates a program with hexadecimal in it and can be recompiled on-calc with AsmComp() and by adding the AsmPrgm command above the code.
  • Calculators owned: TI-84 Plus, TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Nintendo 64, Wii U

E37

It puts it in AsmComp( form. It creates a new program that even adds AsmComp for you.
It is mostly aimed for people who use mimas (since it is on-calc asm) and Axe. It can turn the asm code you write with mimas into the format that can be used in Axe.
  • Consoles, mobile devices and vintage computers owned: Ti83,Ti84!
I've never finished a project, there is always a way to improve!
What's my calc's name? Convert $37 to decimal. Look up that element in the periodic table. Then take the abbreviation of that element and you have it!
Look! A slime!    <(^.^)>

DJ Omnimaga

Ah that's good then. Great tool :)
  • Calculators owned: TI-84 Plus, TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Nintendo 64, Wii U

Powered by EzPortal