http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Calculator Discussion \ decompiling

Click here to log in (you must be logged in to post comments).

AuthorComment
pietkroket
Probe
Posted: 29 Nov 2006
12:03 GMT
Total Posts: 8
does the possibility to decompile an application exist?
Hydralisk5201
Wraith
avatar
Posted: 29 Nov 2006
16:59 GMT
Total Posts: 576
yes
totally possible
is there a program to do that?
idk

---
Flintlock Durden says "The things you eat end up eating you"
Lunchbox
Carrier
avatar
Posted: 29 Nov 2006
18:07 GMT
Total Posts: 2007
No. Not to any useful avail, anyways.

[Edited by Lunchbox on 30-Nov-06 03:08]
threefingeredguy
Ghost
avatar
Posted: 29 Nov 2006
22:03 GMT
Total Posts: 1189
You can't decompile it since on some parts of the TI ones are written in a compiled language and the rest of those apps (and all of the good ones) are written in assembly. You don't decompile assembly, you disassemble it.

As to disassembling it, you can do it, but you won't be able to tell what is code and what is data. You also have no documentation and no labels, so it can be very difficult to understand what that code is doing.

---
Someone call for an exterminator?
pietkroket
Probe
Posted: 30 Nov 2006
11:29 GMT
Total Posts: 8
with wich programs do you make applications? Is that with special assembling programs, or do you make an application out of a asm program?
threefingeredguy
Ghost
avatar
Posted: 30 Nov 2006
14:31 GMT
Total Posts: 1189
You write applications in a similar way to an asm program except for things like no writeback, no calls, and the need to use special app-only commands. You then assemble it using many available tools and sign it using some other available tools. I think somewhere in there you need to pass through it to make a file containing the locations of all the labels, but I don't know for sure. The result is not technically assembled. It is in Intel Hex. TI Connect converts the Intel Hex to actual machine code when you transfer it to the calculator.

---
Someone call for an exterminator?
Hydralisk5201
Wraith
avatar
Posted: 30 Nov 2006
21:12 GMT
Total Posts: 576
well i know there are ones for like C++ and stuff so its totally possible there's ones for ASM
but owell i guess not

anyways if you want the source code, sometimes they add that or you can download it seperately, or maybe you can email the author

---
Flintlock Durden says "The things you eat end up eating you"
pietkroket
Probe
Posted: 1 Dec 2006
10:30 GMT
Total Posts: 8
But the only thing you can do with that source code is see how the application/how the program is built?
threefingeredguy
Ghost
avatar
Posted: 1 Dec 2006
11:56 GMT
Total Posts: 1189
Well, yes. You don't expect it to do anything else magically, do you?

---
Someone call for an exterminator?
calcul831415
Marine
Posted: 1 Dec 2006
14:37 GMT
Total Posts: 33
Unfortunately, nothing like Visual Studio, or some other IDE for computer programming. Apps, even if you use LateNite IDE, will require proficiency with the z80 ASM language.
taylorchase
Marine
Posted: 15 Dec 2006
20:47 GMT
Total Posts: 32
[quote]As to disassembling it, you can do it, but you won't be able to tell what is code and what is data. You also have no documentation and no labels, so it can be very difficult to understand what that code is doing.[/quote]

I did it to Mario once about 2 years ago and got all the code, I can't remember for the likes of me what program I used to disassemble it though.





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org