Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
Someone should revive the Online Hex Disassembler...
« previous
next »
Print
Pages: [
1
]
2
3
...
9
Go Down
Author
Topic: Someone should revive the Online Hex Disassembler... (Read 31772 times)
0 Members and 1 Guest are viewing this topic.
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Someone should revive the Online Hex Disassembler...
«
on:
December 04, 2009, 09:42:37 pm »
I wonder if any of the old guys here remember this?
http://web.archive.org/web/20040211161518/cirrus.tigalaxy.com/hexer.php
TI-Galaxy was a network of TI-BASIC programming groups including Prokul Interactive, The Calc Site, Obsidian Programming, Nexus Programming and another one that later either disbanded or merged to form United-TI, during Spring 2003. Cirrus website had a very unique tool in the TI community: an online hex disassembler, which allowed you to convert TI-83 Plus assembly programs into hexadecimal. However, after the merge, United-TI did not put the important old sites information, softwares and tools on the new site, so when Tigalaxy server shutted down during Summer 2004, it took this online hex disassembler and everything else with it.
That tool was very useful for people who don't have a link cable, because they could copy ASM programs on their calculator without one, something that is impossible with TI-Graph Link and while they open fine in Source Coder, many special characters cannot be copied on the calculator and it's not guaranteed the program will run fine even if you manage to copy it fine. It saved my life when I worked on ROL3. I copied CODEX hex code on my calc with the help of this and could continue to develop my game even with no computer that supported my link cable. I am curious if it would be a good idea if someone made a new one?
Logged
ztrumpet
The Rarely Active One
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5712
Rating: +364/-4
If you see this, send me a PM. Just for fun.
Re: Someone should revive the Online Hex Disassembler...
«
Reply #1 on:
December 05, 2009, 11:03:44 am »
That sounds neat. Did it convert the sorce to hex, or the finished 8xp program to hex?
Logged
If I'm wrong, please correct me!
Unfinished Projects:
Elmgon
14%
Basic
Movement Demo
Homescreen Game Pack
80%
Basic
Latest Release
Cube Droid Saves the Galaxy
65%
Axe
Demo
Detonate
70%
Axe
Completed Projects:
Exodus
|
Midnight
|
Drifter
|
Axe Snake
|
Jump!
|
Factory Theta
|
Spider
|
Plot Drop
|
Papi Jump
|
Numb3rs
|
Nibbler
|
Boost
|
Duel Tile Map Editor
|
Homescreen Map Editor
|
Key Group Check
|
Oasis
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Someone should revive the Online Hex Disassembler...
«
Reply #2 on:
December 05, 2009, 01:23:06 pm »
just the 8xp file. It obviously only worked with ASM programs. It converted to HEX (with the command AsmPrgm right at the beginning) and you had to do AsmComp(prgmNAME,prgmNAME2 to compile it. You could run it fine in hex form but it was twice slower and bigger
Logged
Galandros
LV9
Veteran (Next: 1337)
Posts: 1140
Rating: +42/-10
Re: Someone should revive the Online Hex Disassembler...
«
Reply #3 on:
December 06, 2009, 12:26:54 pm »
PHP could do it? I will see some functions and try to do it.
EDIT: it was done with PHP so I can do the same thing. I can host when it works.
«
Last Edit: December 06, 2009, 12:28:45 pm by Galandros
»
Logged
Hobbing in calculator projects.
simplethinker
LV7
Elite (Next: 700)
Posts: 695
Rating: +16/-5
snjwffl
Re: Someone should revive the Online Hex Disassembler...
«
Reply #4 on:
December 06, 2009, 01:34:35 pm »
For anyone who wants to do this, here's the information on .8xp formats:
- First 74 (0x4A) bytes are the header, so they're junk for this
- Next two bytes are the "AsmPrgm" token (BB 6D), which should be skipped
- Actual program data
- Last two bytes are the
header
checksum, so they're junk
Basically all that needs to be done is strip the first 76 and last two bytes of the .8xp file and you're left with the hex data.
[edit] I just noticed I said the last two bytes were the "header", which are actually the checksum.
«
Last Edit: December 08, 2009, 04:14:14 pm by simplethinker
»
Logged
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky
Chip's Challenge: ħ%
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Someone should revive the Online Hex Disassembler...
«
Reply #5 on:
December 06, 2009, 01:43:46 pm »
and remember when showing the hex code to not forget the Asmprgm token right on the first line
Logged
Galandros
LV9
Veteran (Next: 1337)
Posts: 1140
Rating: +42/-10
Re: Someone should revive the Online Hex Disassembler...
«
Reply #6 on:
December 06, 2009, 02:24:27 pm »
Thanks for the tips.
My difficulty now is the PHP. I am too green in it...
I only have a small idea on how to do.
EDIT: I have been searching the right PHP functions.
I am thinking in file_get_contents() function to get the file content.
Then I just need to use unpack() function to get the readable hexadecimal.
This really seems that will work. I will add the same options as ticirrus.
«
Last Edit: December 06, 2009, 02:25:41 pm by Galandros
»
Logged
Hobbing in calculator projects.
miotatsu
LV6
Super Member (Next: 500)
Posts: 332
Rating: +11/-1
Re: Someone should revive the Online Hex Disassembler...
«
Reply #7 on:
December 06, 2009, 03:47:16 pm »
i think it would be a great idea if a new one of these were made, i also think it would be epic to have a 8xp to .txt for BASIC programmers, the problem with normal methods being problems with fonts, it would have to convert some things like the store symbol (→) into something every computer can display such as ->
if someone made such a tool i would probably take over the pretty much abandoned BasiC++ project.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Someone should revive the Online Hex Disassembler...
«
Reply #8 on:
December 06, 2009, 03:49:37 pm »
I think that was done before, but I don't think the site that had it is still up. It was back in 2005 I think.
Also, an OFFLINE hex disassembler might be cool, too
EDIT: I found something, but it's not the right editor, the one I found on a similar site before was different and allowed you to convert weird chars to a format useable anywhere (or close)
http://tiforge.info/ti_editor/
«
Last Edit: December 06, 2009, 03:56:36 pm by DJ Omnimaga
»
Logged
Galandros
LV9
Veteran (Next: 1337)
Posts: 1140
Rating: +42/-10
Re: Someone should revive the Online Hex Disassembler...
«
Reply #9 on:
December 06, 2009, 04:15:24 pm »
I couldn't find a suitable offline unsquisher in ticalc.
The closer I found was this:
http://www.ticalc.org/archives/files/fileinfo/144/14428.html
.
Oncalc there are unsquishers but doesn't serve the original purpose.
Note: unsquisher == hex disassembler, I think
For online TI files editor/reader I also know these:
http://ti.zewaren.net/
http://www.cemetech.net/projects/basicelite/sourcecoder2.php?editme=true
The HTML front end in black and white style is done. Now the real PHP will begin.
«
Last Edit: December 06, 2009, 04:17:40 pm by Galandros
»
Logged
Hobbing in calculator projects.
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Someone should revive the Online Hex Disassembler...
«
Reply #10 on:
December 06, 2009, 04:21:08 pm »
Cemetech has its sourcecoder which can do 8xp to text, and kind of a crude unworking text to 8xp. I use it all the time when converting from 8xp to text, it works that way really usefull. (and it can catch things such as simple optimization
)
EDIT: Damn Ninja by Galandros
«
Last Edit: December 06, 2009, 04:21:32 pm by Builderboy
»
Logged
Galandros
LV9
Veteran (Next: 1337)
Posts: 1140
Rating: +42/-10
Re: Someone should revive the Online Hex Disassembler...
«
Reply #11 on:
December 06, 2009, 05:52:04 pm »
I got the script outputting a long hex string! And is correct because the two first bytes are exactly: BB 6D, plus using a hex editor I checked the end. It is working as it should be.
Tomorrow I will polish this up a bit and release. ^^
This script needs PHP 5.1.0 at least.
EDIT: it deletes the uploaded file after its use and I put a size limit of 30000 bytes. More than enough. I now stripped entirely the BB 6B.
«
Last Edit: December 06, 2009, 06:07:43 pm by Galandros
»
Logged
Hobbing in calculator projects.
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Someone should revive the Online Hex Disassembler...
«
Reply #12 on:
December 06, 2009, 06:00:00 pm »
I wonder if I could actually host it...
I know it would be impossible to integrate directly into the forum code, but I could iFrame your script, providing it's a white background page and is small, inside either a post or a EzPortal block like on the front page, so it would be easy to access from the forums.
I am not sure if I got PHP 5.1, though, I know I got PHP 5 but Idk which version anymore. I will go check if I get some time
Logged
Tribal
The Fallen
LV5
Advanced (Next: 300)
Posts: 218
Rating: +15/-1
Re: Someone should revive the Online Hex Disassembler...
«
Reply #13 on:
December 06, 2009, 07:52:53 pm »
That'd be awesome if you could host it here, would you add a 'Tools' item to the menu under the banner, or where would you place it?
«
Last Edit: December 06, 2009, 07:53:15 pm by Tribal
»
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Someone should revive the Online Hex Disassembler...
«
Reply #14 on:
December 06, 2009, 08:50:35 pm »
To be honest, it might cause serious issues with the navbar. It's alerady full, as forum admin (takes the entire forum width, then wraps in two ugly lines when I receive PMs alerady). I would probably either have to rename almost everything there or just hide the page in the Articles section, like the old Cirrus site. I could always pin it in the calc help and support section, though, in a topic, then put a link to Sourcecoder and the TIForge editors in another topic
Logged
Print
Pages: [
1
]
2
3
...
9
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
Someone should revive the Online Hex Disassembler...