Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: DJ Omnimaga on December 04, 2009, 09:42:37 pm

Title: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga 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?
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: ztrumpet 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?
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga 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
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros 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.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: simplethinker 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.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga 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
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros 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.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: miotatsu 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.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga 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 :P

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/
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros 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.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Builderboy 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 ;D)

EDIT: Damn Ninja by Galandros :P
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros 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.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga 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
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Tribal 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?
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga 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
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: ztrumpet on December 06, 2009, 09:43:58 pm
Sounds great Galandros! I can't wait to see it.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on December 06, 2009, 10:58:51 pm
well if some on is willing to help me set it up thatnks to genolo i have my own site now XD
andi am willing to host it :)   ( i just want somthing to put there XD)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 07, 2009, 04:49:26 am
I haven't prettied the site but it is usable:
http://galandrosdev.2kool4u.net/online_asm_unsquish.php
(forget the domain, it is free :P )

I checked endianess with WikiTI ExecAsm Tricks just to be sure. http://wikiti.brandonw.net/index.php?title=83Plus:Basic:Tricks_ExecAsm
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 07, 2009, 04:53:16 am
Nice ^^, only thing is that digits per row doesn't appear to work, it all puts in one single line :(

I'll try a program on calc to see if it actually works later. Now bed time :P
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 07, 2009, 04:02:34 pm
Updated. Same link.

Added AsmPrgm token to start. Hex digits per row work now. I added a check for file type. It only accepts files with .8xp in the name. (case insensitive)
I will do a simple design to the page: online_asm_unsquish.php. But the important part is done. Then I will give away the source code. Just 24 lines of PHP code counting lines with just {. The rest is HTML and comments.

Enjoy. ;)
PS: sorry the advertisement but is a free host...
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 08, 2009, 01:58:08 am
When it's done, do you think I could host it on here if I got PHP 5.1? I could simply embeed it in a forum post (providing your page is not too huge and that I can change the background color to #EBF1F9) and credit you there. It would be kinda easy to access.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 08, 2009, 04:02:23 am
When it's done, do you think I could host it on here if I got PHP 5.1? I could simply embeed it in a forum post (providing your page is not too huge and that I can change the background color to #EBF1F9) and credit you there. It would be kinda easy to access.
Of course. You can embed the front-end HTML to a post or if you don't want in the forum just put in a article or a static page. Then you can host the PHP file anywhere in the site with a little change of an url in the HTML.
 And I can help in the process, talking in the irc.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on December 08, 2009, 02:14:55 pm
hmm if i can figure out how (eg get php and such on my site) ill put it there as well :)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: simplethinker on December 08, 2009, 04:14:31 pm
Great job Galandros ;D  I tested the files I use to test my .8x* converter and they all unsqished fine.

Quote from: (the unsquisher's "Thanks" section)
simplethinker for its immediate reply with information about the *.8xp file format.
I'm sure this is nothing, but I'm referred to as "it" :D
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 09, 2009, 05:47:32 pm
Quote from: (the unsquisher's "Thanks" section)
simplethinker for its immediate reply with information about the *.8xp file format.
I'm sure this is nothing, but I'm referred to as "it" :D
Sorry. -.-" Bad mistake. *changes voice* You are a lobster (or anything else), too. :D
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 10, 2009, 01:57:47 pm
Someone has other idea of Online utils for calcs? I got to give use to PHP and my site.

I was thinking in doing an online z80 assembler but instead of writing myself the assembler in PHP (too much work and not worth it), I would use spasm (an offline assembler) from the PHP (it has C like functions that I think can make use of the assembler like in a command line).
This could be useful and cheap to do. What you think?
PS: I will release next week the final unsquisher because I will be free of school stuff.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: ztrumpet on December 10, 2009, 02:02:45 pm
Sounds cool.  So you would upload your program.z80 and get program.8xp online. 
With things like this, your site could be a nice place for asm resources.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on December 10, 2009, 04:02:59 pm
yeah i was the one with other ideas :) 
i was basically thinking a full calc dev suite online for those of us who are banned from calc need a quick debug and dont have wabbit emu ect  :)

looking for help though as i have no idea how to do any of that so yeah :)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 11, 2009, 02:34:10 pm
yeah i was the one with other ideas :)  
i was basically thinking a full calc dev suite online for those of us who are banned from calc need a quick debug and dont have wabbit emu ect  :)

looking for help though as i have no idea how to do any of that so yeah :)
Sourcecoder2 allows TI-BASIC coding and management.
If someone could do a online Java TI calculators emulator, would be great.

Progress on Online Assembler:
I have done a break on work and successfully called SPASM from PHP. I was able to print the output of the assembler.
Now, there are lots of things to do like multiple file uploads, handle folders, maybe even zip packages upload, download the output and erase all used files and folders.
By using SPASM, it will be a full fledged assembler. I will post this on Revsoft too.

I don't know if my hosting will allow to do some of the operations. Also maybe I don't know if the shell commands on Windows and Linux servers will be identical.
Just one way to find out...
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 12, 2009, 12:58:38 pm
I need to find some time and motivation to go figure out what my host use then try to install this on my host x.x
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on December 12, 2009, 10:32:24 pm
same here
and i wish i new how to write a emulator or execute exe files embeded on a website (like run wabbit online with out any thing needed other than visiting the site :) ) cause that would just be awsome
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: TIfanx1999 on December 13, 2009, 02:42:27 am
Likely you would still have to provide your own calculator ROM though.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 13, 2009, 03:07:44 am
same here
and i wish i new how to write a emulator or execute exe files embeded on a website (like run wabbit online with out any thing needed other than visiting the site :) ) cause that would just be awsome
Java applet could do that great from what I know.

Likely you would still have to provide your own calculator ROM though.
There is some alternatives. Direct you to download TI SDK and in the emulator there are some roms. I don't if they need some changes or work right away.
Or you could use the free boot from FloppusMaximus and a TI-OS upgrade file to make a ROM. But this is not that easy but the process can be simplified.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 13, 2009, 03:10:02 am
yeah, if the emulator included the rom, the site owner would get in trouble
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on December 13, 2009, 11:32:42 am
Not if it's the one in the TI SDK, that one is free for download by anyone already.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 13, 2009, 12:07:04 pm
except you're not allowed to put TI softwares on your site. People got in trouble for providing links to TI-Connect hosted on their own site before
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on December 13, 2009, 01:03:11 pm
Ah...wait? Links were bad?
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 13, 2009, 05:19:00 pm
Ah...wait? Links were bad?
Omnimaga refers about links directing to your own hosting.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on December 13, 2009, 05:21:17 pm
ah ok
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 13, 2009, 06:00:16 pm
The discussion about the online assembler is on Revsoft, too. With their help, I have improved the usage a little bit.

And I am doing an online z80 code counter. (useful for optimization)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 13, 2009, 10:58:24 pm
I am not sure but if it includes an assembler too and a lot of other tools, it might be hard to integrate on the forums. I guess in that case it might be better if hosted externally. But if you host it yourself, just warn us if you decide to leave during the summer for example, in case you would move on from calc stuff and forget your assembler/dissassembler website and your host shut it down for inactivity. It would suck if this happened since great stuff would be lost. If you ever leave, it might be good to give the files to someone so he can move it to his own host.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on December 13, 2009, 11:13:15 pm
well would the .sav files be allowed to be hosted??????? cause i was hoping that maby i could set up a account system and make it also hold each persons work for them as well locally :)



*geekboy could also set up a heavaly encrypted data bank to store the stuffz in :P jk i think
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on December 14, 2009, 12:32:08 am
I would like that as well.
Also if there was some slight possibility you could do it in JavaScript instead so it's iPod touch compatable that would be nice to :D
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on December 14, 2009, 02:13:30 am
i dont know if this could be done in java script :/

(i never learned java script and i got the java app idea froma friend :P)

and if we can store the saves localy we could also set it up to have premade  .savs with c3 omnicalc excetera for eaisy coding and not needing to find all the apps them selves



eeems does the ipod support activex???
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 14, 2009, 03:34:00 am
I am not sure but if it includes an assembler too and a lot of other tools, it might be hard to integrate on the forums. I guess in that case it might be better if hosted externally. But if you host it yourself, just warn us if you decide to leave during the summer for example, in case you would move on from calc stuff and forget your assembler/dissassembler website and your host shut it down for inactivity. It would suck if this happened since great stuff would be lost. If you ever leave, it might be good to give the files to someone so he can move it to his own host.
I can arrange things in a way that the entire HTML is in one file (and only this goes to the forum) and the PHP scripts can be in other place in the host. The assembler front-end is done this way and with the code counter can be done too.

No problem, this project I am certain to release. :)
Tomorrow or after tomorrow I will work hard on this PHP scripts and finish. (I am actually starting to finish things... kind of milestone for me xD)
About absence of holidays: next week I leave home but I might be 1 day or so in home after Christmas evening and before the end of the year (an open to release it if I don't end this week). I will give news before leaving...
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 14, 2009, 03:11:23 pm
well my issue is that if the tool has way too many stuff and features, it will make it no longer fit in one forum post and have scroll bars. Of course, though, if you can separate each tools into different pages and have no GUI/navbar/banner, it might be easier, though.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 14, 2009, 04:43:25 pm
well my issue is that if the tool has way too many stuff and features, it will make it no longer fit in one forum post and have scroll bars. Of course, though, if you can separate each tools into different pages and have no GUI/navbar/banner, it might be easier, though.
It is pretty simple and small. I will try to come up with a beta of the assembler to show.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 14, 2009, 06:49:07 pm
aah ok then

Also I think you'll have to keep it hosted yourself, because my server only supports PHP 4.4.9, so there are big chances it will not work. :(
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 15, 2009, 09:32:36 am
aah ok then

Also I think you'll have to keep it hosted yourself, because my server only supports PHP 4.4.9, so there are big chances it will not work. :(
The hex disassembler I am sure it doesn't work. It relies on a feature of PHP 5.1.0.

But the assembler and code counter I don't know.
But we can always put the HTML front here in Omnimaga and it directs action to the PHP scripts in my host. The only problem would be bandwidth in future.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: simplethinker on December 15, 2009, 12:07:22 pm
Could the ROM be stored in a cookie on the person's computer?  It would be a huge one (a few megs), but I think it would technically be legal ;)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 15, 2009, 01:53:13 pm
aah ok then

Also I think you'll have to keep it hosted yourself, because my server only supports PHP 4.4.9, so there are big chances it will not work. :(
The hex disassembler I am sure it doesn't work. It relies on a feature of PHP 5.1.0.

But the assembler and code counter I don't know.
But we can always put the HTML front here in Omnimaga and it directs action to the PHP scripts in my host. The only problem would be bandwidth in future.
That and if your host goes down, then this part of Omnimaga would not be avaliable.

Back then, Omnimaga forums had all its images stored on United-TI while the forums was hosted on Invisionfree. When UTI went down (which happened at least 3 times per week sometimes), all forum skin images and button were down, making the forums impossible to browse
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 15, 2009, 02:41:10 pm
That and if your host goes down, then this part of Omnimaga would not be avaliable.

Back then, Omnimaga forums had all its images stored on United-TI while the forums was hosted on Invisionfree. When UTI went down (which happened at least 3 times per week sometimes), all forum skin images and button were down, making the forums impossible to browse
That can happen and you need to update links every time I change things...
The source will be available and others can host themselves.

Could the ROM be stored in a cookie on the person's computer?  It would be a huge one (a few megs), but I think it would technically be legal ;)
Cookies can't be that large.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 15, 2009, 02:55:29 pm
I think just making a rom avaliable to public (even if not for download) is not legal.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 15, 2009, 10:53:14 pm
DP... hmm someone just told me 1and1 actually had PHP5 support... strange. He actually told me it had both 4 and 5 installed at once. Weird, maybe it might work anyway. I guess once the script is done and it works on your host, maybe I could try on mine too?
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on December 15, 2009, 11:34:34 pm
hmm im just curious if the .sav files are hostable cause if they are you just need to supply the rom once and ill store the sav files or are they the rom :/
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 16, 2009, 01:23:50 am
sav files are not a rom, they just contain save data for the emulator.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 16, 2009, 04:15:28 am
DP... hmm someone just told me 1and1 actually had PHP5 support... strange. He actually told me it had both 4 and 5 installed at once. Weird, maybe it might work anyway. I guess once the script is done and it works on your host, maybe I could try on mine too?
I saw a host that you could switch between PHP4 and PHP5.

To see your working version save this code has a "name.php" file using some text editor like Notepad or Wordpad.
Code: [Select]
<?php
 phpinfo
();
?>

Then send to the site (anywhere) and visit it. It will show in the first lines your PHP version.

EDIT: I have searched the available functions and there is a not much harder way to make the script PHP4 compatible. But only unsquish around 8000 bytes of maximum. I have to search more to avoid the limit.

Also today I can have a functional assembly code counter. It will not be yet very friendly to many uses but I will work for that once I get it working right. I don't have much experience with PHP, hence the difficulty to add early friendliness.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 16, 2009, 11:29:42 am
i checked with this code the other day and it said PHP 4.4.9 but some people said they tried PHP5 scripts and they worked fine. Weird.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 16, 2009, 03:04:37 pm
i checked with this code the other day and it said PHP 4.4.9 but some people said they tried PHP5 scripts and they worked fine. Weird.
That seems the latest PHP 4 version... Weird, I hope the script works, though.

I have the assembly code counter working in my computer (xampp in Windows). But the server is Linux, so I have to install properly spasm there, I think.

I hope to get this working soon...
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 17, 2009, 08:41:29 am
Ok, updated the server and see the attach for source code.

I am having some difficulties with the server to get the online assembler working. :( On Revsoft topic, I am being aided by Spencer on Revsoft topic. I am starting to think, I will need a server from other site.
MANY EDITS: finaly the download works... SMF has a problem with .zip extension?
I found the additional options :-X
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: simplethinker on December 17, 2009, 10:15:07 am
The new layout looks good ;D (and I'm not an "it" anymore :P).

Would it be possible to eventually add a full disassembler?  I'll see if I can find a good unix compatible one, and if not we can always bug Mapar to finish (or start?) the one he was talking about a while ago.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 17, 2009, 11:47:11 am
I noticed the upload system of Omnimaga have started being very glitchy lately. When I tried to upload a gif file once, it took me at least 4 tries until it accepts it and idk why.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 17, 2009, 04:13:02 pm
Would it be possible to eventually add a full disassembler?  I'll see if I can find a good unix compatible one, and if not we can always bug Mapar to finish (or start?) the one he was talking about a while ago.
I can provide with the front-end in PHP as usual, if you wish. :) tr1p1ea disassembler could be supported... Although it is not the best, we (community) can do.
I can get back to "it", if you like your Omnimaga RPG class character. ;D

I noticed the upload system of Omnimaga have started being very glitchy lately. When I tried to upload a gif file once, it took me at least 4 tries until it accepts it and idk why.
Hmmm, could be from your Internet connection? I ask because mine is unstable sometimes. :P From the server, I don't know much to give an answer.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 17, 2009, 11:30:50 pm
Idk, this might be, but usually I just get an error saying the file has invalid format. Seems this started happening on the last SMF update
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on December 18, 2009, 01:44:18 am
on a some what seemingly random note my server thing has php 5.24 and is running on linux :)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 27, 2009, 10:17:22 am
Some work done...
I got the Z80 Code Counter working fully and friendly.

The online assembler (front-end) is almost done.
The remaining issues are modifications to Linux shell, implement the timeout for spasm in Linux and Windows and get a host. My free host seems to prohibit any command to shell although it is not in safe mode.

If someone could nicely provide a capable host would be awesome. (Windows or Linux and not sure about PHP version)


I changed some texts and added a check to PHP version on the Hex Disassembler. I will release the changes. :)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 27, 2009, 11:30:29 am
Mhmm nice, I'll try to see about hosting, I could maybe set you a FTP folder and PM you the username and password so you can update. IIRC, my hosting uses a PHP5 version of PHP but displays as PHP4 because it has both 4 and 5 installed at once
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 28, 2009, 07:38:38 am
Mhmm nice, I'll try to see about hosting, I could maybe set you a FTP folder and PM you the username and password so you can update. IIRC, my hosting uses a PHP5 version of PHP but displays as PHP4 because it has both 4 and 5 installed at once
That would be cool. But to work I need the PHP not running in safe mode, know the Server OS and architecture to build SPASM to run on it and sufficient privileges to do calls in the shell via PHP.
I will only try the Online Assembler once all works 100% under my computer on Windows and Linux (Linux is going to take time as always to install anything :S)

I am thinking in support upload of zip files to avoid uploading multiple files. To that I found two alternatives:
- install a PHP extension
- run a command line program to unzip
I am going for the second option and use 7-zip command line version available in Windows and also ported to Linux. I will try this after the important part is done.

This is getting complex and maybe I should do some scripts (.php and/or .sh) to install the Online Assembler on any server. The script should also check if everything is OK to work...

Oh I better copy this info to the Readme. xD
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 28, 2009, 10:38:43 pm
mhmm this seems complicated x.x, you might want to PM me for FTP access, so I'll create you an account. Maybe you can put scripts there to check the version and stuff, or just to see if it works. I know I am not in safe mode, though. You would just need to be careful to not accidentally run a buggy script crashing the server lol :P
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 29, 2009, 03:52:00 am
mhmm this seems complicated x.x, you might want to PM me for FTP access, so I'll create you an account. Maybe you can put scripts there to check the version and stuff, or just to see if it works. I know I am not in safe mode, though. You would just need to be careful to not accidentally run a buggy script crashing the server lol :P
Believe it is complicated for me, too. PHP language has some power of C...
The worst thing that can happen is multiple spasm processes running forever... Because spasm in certain usages (macros that loop forever or maybe rare bugs) will never exit. eh I need to test the kill processes routines I found...

I will PM you when I have this tested under Linux and it going to take a while...
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 29, 2009, 01:27:50 pm
Ok. Btw this 1and1 shared hosting is Linux hosting, too. I would just need to figure out which linux Distro it is
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on December 30, 2009, 12:06:48 pm
I found some PHP functions that will let me control SPASM execution...

Now it is question to implement. :) It will work wonderfully if all goes right.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: JCW on December 30, 2009, 12:27:21 pm
Idk, this might be, but usually I just get an error saying the file has invalid format. Seems this started happening on the last SMF update

The .gif thing happened to me before too, I figured you'd placed an avatar ban or something. This was a while ago though.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on December 30, 2009, 01:56:46 pm
Yeah I am planning to contact SMF if it happens too often. Other idea I have: whenever someone have it happenand can't upload the file he wants, he could report the problem directly to SMF forum since more people reporting it is more powerful than just one people reporting it :P
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on January 11, 2010, 04:11:33 am
I think I will *finally* overcome some problems and put the z80 assembly online code counter working soon. After that comes easily the assembler.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on January 11, 2010, 04:12:50 am
w00t! What caused the problem?
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on January 11, 2010, 04:43:27 am
w00t! What caused the problem?
spasm itself. :P If you do some glitchy source code that leads to a loop (macros or bugged code), spasm keep running forever and the server keep you waiting but you never get the resulting page. Even if you close the page on web browser the server is still executing spasm... Spencer could add an optional timeout to spasm next version that I could use.

Now imagine dozens of spasm running, you get a problem on your server.
I will manage a way to let you terminate all instances of spasm but if someone sends bad code, he will not get an answer from the server.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on January 11, 2010, 07:25:55 am
Ouch that sucks x.x I hope it can be fixed so you can release final version
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on January 11, 2010, 11:03:54 am
X.x ok please fix that (i dont think my host thing would like that X.x)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on January 11, 2010, 01:48:00 pm
I did it! :o ;)

No hacks needed, the script will cleanly terminate spasm if it never ends. ^^
If you really want to know details, they can be found here: http://www.cemetech.net/forum/viewtopic.php?p=92196#92196

Remains:
- compiling SPASM to Linux Servers
- implement upload of source code to the assembler (code counter works)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on January 11, 2010, 06:05:41 pm
sweet!
can't wait to see this finished!
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on January 11, 2010, 06:46:50 pm
Glad it's fixed ^^
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on January 11, 2010, 08:52:15 pm
great cant wait to actually try this now(and actually possibly get it hosted if i ever figure out how X.x)

btw other than me who have offered to host?
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: TIfanx1999 on January 11, 2010, 10:38:26 pm
Great work Galandros! Keep it up! =)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on January 20, 2010, 04:30:37 am
I compiled spasm on Linux successfully with help of Spencer.
Geekboy gave ftp account to his host so I can test it.

Good progress but the bad news is that seems the host doesn't allow me to run spasm at all. :X Even with all the intents to give execute permission, it gives "sh: ./spasm: Permission denied".

I will try the same procedure in my computer to see what happens. Maybe I discover something...
I have learn already some Linux command line stuff with all this...
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on January 20, 2010, 04:38:15 am
Ouch I hope you can manage to have it working :/
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on January 20, 2010, 02:44:32 pm
hmm ill ask geno if he can change permissions and such as it might just be my acct set up as it is just a sub domain :/

and it might not be letting me cause its not the main one or somthing who knows and this stinks ill see what i can do and good luck :)




EDIT: well i talked to him and we sadly found out we dont have shell support X.x  so sadly my server cant be used(at least thats what im told :/)   srry :(


Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on January 20, 2010, 04:02:46 pm
I will try to release source soon so someone might host it.

Or I can try to use some Windows host.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on January 20, 2010, 06:13:06 pm
what exactly are all the things you require to run it?
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on January 21, 2010, 01:46:14 am
Ouch that sucks, that means 1and1 would be no luck either. The best bet would be that someone hosts it himself. I wonder if Netham45 could do this... he has over 9000 servers at home
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on January 21, 2010, 07:14:57 am
what exactly are all the things you require to run it?
PHP 4 or 5 (I don't know)
spasm compiled for the server OS and architecture
permission to run spasm and php doesn't disable functions related to proc_open()

Ouch that sucks, that means 1and1 would be no luck either. The best bet would be that someone hosts it himself. I wonder if Netham45 could do this... he has over 9000 servers at home
That is why I will release the source. If he host himself, permission to run it would be no problem.
I though of hosting myself but my parents don't allow a computer running 24h a day... I even have one old computer that could be used.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on January 21, 2010, 09:33:26 am
Hmm, I wonder if freehostia would work...
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on January 21, 2010, 09:37:03 am
Seeing as you had troubles getting your forum to work lately, I doubt it. Plus since it's a free host even if the Galadros script worked on it I would take its support for granted
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on January 21, 2010, 09:57:39 am
Well actually, I only had problems with the mail() command (they don't support it :/ ) but it's got a lot of stuff that's open...you might want to take a look just in caseit works Galandros
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on January 21, 2010, 03:58:08 pm
Well actually, I only had problems with the mail() command (they don't support it :/ ) but it's got a lot of stuff that's open...you might want to take a look just in caseit works Galandros
Ok, I will look at freehostia after testing a bit more in my computer.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on January 21, 2010, 03:59:27 pm
ok, sweet hopefully it will work. If it does I can host it or you can make your own site and use it
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on February 08, 2010, 03:37:17 pm
I wasn't able to host the Z80 Online Assembler myself, sorry. :(

I forgot a bit about this but yesterday and today I quickly added the pieces to have a beta of the Z80 Online Assembler. It is tested under Windows and works. Under Linux it has some testing (and predictable bugs corrected) but not totally tested...
It supports up to 15 file of source including .inc, .bmp and .bin files because SPASM is great. It has a limit on size, though. (around 20kb IIRC)

Download the source, read the readme and good luck. If you get it working in the Internet, shout me about it!
http://galandrosdev.2kool4u.net/files/CalcUtils.zip

If someone successfully host it, I will finish most things of the ToDo list in the readme. ;)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on February 09, 2010, 01:31:12 am
I hope someone can host it :/, I wish 1and1 had better PHP support
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on February 09, 2010, 08:56:41 am
Kerm Martian is going to try.

I think I can easily add tarball support instead of zip (.tar files that are just a bunch of files together without compression) on Linux Servers. 7-zip can do the tarballs, I hope there are not incompatibilities...
This is super useful for assembling a large project in ASM. Uploading 10 files one by one multiple times is tedious...
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on February 09, 2010, 12:42:27 pm
Oooh nice, that might be a good idea actually. He has SourceCoder on his site. He would then have both BASIC and ASM file openers :)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on February 20, 2010, 12:31:09 am
Mhmm I found this:

http://faq.1and1.com/scripting_languages_supported/php/9.html

Does this actually means 1and1 has two PHP versions installed at once?
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on February 20, 2010, 12:43:23 am
I would think so, lots of hosts do. I know freehostia does, you just have to choose which one you want running, same with startlogic.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on February 20, 2010, 12:47:53 am
Aaah ok. Well, with 1and1, it seems like the file extensions that requires PHP5 just needs to be renamed to php5 instead of just php.

To integrate to the forums, it might be hard, but I am fairly sure all we could do is embeed the disassembler inside a post or a page, into a iFrame. If the disassembler navigation doesn't reload the entire page but just the iframe, we should be fine.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Eeems on February 20, 2010, 12:57:45 am
That could work pretty easily I would think.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on February 20, 2010, 03:37:04 am
That should do it... But you don't need frames.
You just need minor changes to the online_asm_file_unsquish.html file and it will redirect control to the hex disassembler.
You can post the online_asm_file_unsquish.html on a article or something, it is just plain HTML.
From memory I think you need to edit where " action="unsquisher.php" " is and change unsquish.php to the unsquish.php5.

If there is still problems, I can do the changes for PHP4. It takes few time to find an alternative implementation and do it. It will hardly be more than 10 lines of code.
But I have switched a bit, for a change, for Excel macros and XUL... I hope to finish what I want of Excel Macros in a few days, though. That is why I didn't do it yesterday or not going to do today.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on February 20, 2010, 04:15:42 am
I didn't said frames, I said iframes

iframe != frame

This board runs on PHP4, therefore, PHP5 files cannot be integrated directly into it, meaning if we want to use your software directly inside our board, it needs to be iframed. Otherwise, if you can do it for PHP4 I guess we might be good. Then the only issue would be to figure out how to integrate it x.x
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on February 20, 2010, 10:13:56 am
I didn't said frames, I said iframes

iframe != frame

This board runs on PHP4, therefore, PHP5 files cannot be integrated directly into it, meaning if we want to use your software directly inside our board, it needs to be iframed. Otherwise, if you can do it for PHP4 I guess we might be good. Then the only issue would be to figure out how to integrate it x.x
In my last post context frames are any kind of frames (frameset or iframe).

The way the hex disassembler scripts are done (in 2 parts) makes it possible to avoid iframes. You can use iframes if you want, anyway.
The board works on PHP4 but from what you posted files with .php5 extension are run with PHP5.
 So just put the HTML front-end (online_asm_file_unsquish.html content) in an article or forum post with HTML and it will direct control to the php5 script.
"online_asm_file_unsquish.html" is just plain HTML that passes the input to unsquisher.php that does the job.

So if you rename unsquisher.php to unsquisher.php5 and change the online_asm_file_unsquish.html to give action to unsquisher.php5 it will work in this host by what I understood.

I could do the Hex Disassembler in one script but I intentionally do this way counting with some circumstances, hopefully covers this one.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on February 20, 2010, 11:37:49 am
aaah ok, would the program be able to retrieve the data from the forums after page reloaded, though? I doN,t know much how cookies are dealt with on forums and if your stuff uses any
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on February 20, 2010, 11:54:39 am
aaah ok, would the program be able to retrieve the data from the forums after page reloaded, though? I doN,t know much how cookies are dealt with on forums and if your stuff uses any
Well the script takes you away from the forum. You can go back to the forums without problems just there is no link to go back to forum index. So a link to go back should be added in unsquisher script to the forum index...
No cookies are used.

I comprehend your doubts about website software design. In a brief clarification the websites software design is different of normal computer software. Computer software is like one large block of program. Web software is more like many separated programs. (this comparison needs time to be though and written...)
Trying other way and more practical, it is much easier and safer to develop "extensions" or "add-ins" for websites [software] than computer ones because in websites the scripts are more independent from others.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on February 20, 2010, 01:57:59 pm
It could maybe be made as a SMF mod

http://docs.simplemachines.org/index.php?board=95.0;sort=subject

But yeah I think the best thing to do would be that the thing is coded so it can be easily embeeded in the site, then I upload it, else you would need admin access to Omnimaga forums and FTP then you try to code it in without modifying the SMF PHP files (which would cause the forum to no longer be upgradeable if a new version of SMF addressing security flaws is released in the future)

Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on March 09, 2010, 05:16:24 pm
/me wonders if you had any luck with this
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on March 12, 2010, 08:23:59 pm
on a side note i have just gotten a shell that actually can do shelly things so if you want to us it to host/test it your more then welcome to (pm me if you want to :) )

http://57o9.org/~geekboy/onlinespasm/OnlineCodeCounter.php
(btw for that to work i had to edit the php file to redirect to /~geekboy as i cant host in root)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on March 12, 2010, 08:26:56 pm
ooh nice, I hope this one remains up permanently, tho?

At one point I planned to have a new navbar button that links to both SourceCoder and Galandros ASM tools
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on March 12, 2010, 08:33:37 pm
the only reason i could see it going down is if i get my self banned from the group(doubt it will happen(highly doubt) ) the only other reason is the group disbands and such but i also doubt that for a very long time



Edit: looking at the php files again i see that they are not the same as they used to be so i kindly ask galandros to pm me the working files or post them so i can reup them and make sure it actually works
 y in advanced
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on March 14, 2010, 10:34:19 am
Roger that.
When I get a hole in time that is free, I will do the PHP4 version of hex disassembler and reupload the source.
I hope I have some time soon. This reminds that there is PHP stuff I wanted to do. xD

EDIT: the uploaded Code Counter unfortunately doesn't work geekboy. This gives me the idea to add some code to check requirements that help anyone hosting it...

I am now also moving to Linux after the Windows 7 has expired, Windows XP doesn't boot and I managed somehow to make the sound card work in Linux (installed OSS and removed ALSA IIRC). :P
For using Linux at full time I need sound to hear music and watch movies. :D I need to install LAMPP in Linux for PHP testing.
Because most hosts are Linux I will add tarbal (.tar i.e. archive with files) support for assembling. (no need to upload files one by one)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on March 14, 2010, 06:46:07 pm
I hope your work/school schedule won,t become hectic to the point where you are forced to leave :( (like last Summer)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on March 23, 2010, 03:26:07 am
Hey Galandros, for now, I linked to your unsquisher in a newly added site page (see "MISC" button in navbar or click below):

http://www.omnimaga.org/index.php?action=ezportal;sa=page;p=7

Let me know if the URL gets updated
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on March 23, 2010, 03:50:26 pm
That's nice. Thanks. :]

I will start to recover some the lost free time lately in the next few days. I will work on the PHP4 version ASAP.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on March 23, 2010, 03:53:10 pm
cool ^^

With PHP4 version I could probably host it myself ^^ (probably through a sub-domain where you have FTP access so you can update it)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on March 29, 2010, 07:50:22 am
Bump ;D

I did the PHP4 version. ;) Tested and working. (it took a bit to find an old XAMPP version with PHP4 to fully test)
Instructions in the readme. (just copy the files and rename the unsquishPHP4.php to unsquish.php)

If you give me ftp account (PM me), I can do it for you. After that just use the link.

Oh, download the attach. The Hex Disassembler is in the "Online TI-83 Plus asm program file unsquisher" folder, of course.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on March 29, 2010, 03:05:20 pm
wow nice, I will try to setup a FTP account asap. It would rule if it worked fine. Do you have a subdomain in particular that you would like?
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on March 29, 2010, 03:12:10 pm
wow nice, I will try to setup a FTP account asap. It would rule if it worked fine. Do you have a subdomain in particular that you would like?
No preference at all.

Maybe "calcutils" or just "utils"? "tools" serve, too.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on March 29, 2010, 03:21:11 pm
I thought about asmutils since it's more ASM related (Cemetech alerady got the TI-BASIC counterpart). Maybe "asmtools" would work better, though. Else, "asm" could have done but then idk, it sounds a bit weird x.x

EDIT: FTP account info sent. For http://asmutils.omnimaga.org it may take between 0.5 and 72 hours before it works fine for everyone, though.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on March 29, 2010, 04:09:04 pm
Followed DJ indications and here it goes:
http://asmtools.omnimaga.org/asmunsquisher/

Works to me but some people may need to wait for a while to spread through the Internet. (something about DNS)

Normally I wouldn't do this but there are easter eggs because we are in Easter! *twisted evil smile*
Good easter and happy eggs hunt.
Hint: what is the other asm tool that I coded?

I noticed it needs a favicon (16x16 or 32x32). I will try to come with something that includes some of these ideas:
- omnimaga symbols
- hex numbers (0-9 and A-F) (instead of A could be the alpha from omnimaga)
- z80 assembly code
- grayscale colours

And I will try to host the online assembler and code counter in the subdomain.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on March 29, 2010, 10:49:52 pm
Nice, it runs so much faster ^^. I was wondering at first why you didn't put it in the root directory then I read the final sentence. It also appears to work pretty well. Nice job :)
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Geekboy1011 on March 30, 2010, 12:30:42 am
very nice very nice im going to have to try this later
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on March 30, 2010, 11:25:32 am
Btw I updated the misc page with the new link. :)

http://www.omnimaga.org/index.php?action=ezportal;sa=page;p=7
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on March 30, 2010, 05:20:24 pm
Nice, it runs so much faster ^^. I was wondering at first why you didn't put it in the root directory then I read the final sentence. It also appears to work pretty well. Nice job :)
Runs faster than the original hex disassembler? Nice... Most of the time it takes is uploading to the server. It unsquishes almost instantly, just 0.00131512 seconds for 21KB assembly file.

I updated the unsquisher.php to fix a small bug. It wrongly unsquished 2 bytes more than it should. But it has no repercussion in your calc other than wasting 4 bytes.
And I cleaned the source code with my current PHP experience. Not worth writing the changes.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on March 30, 2010, 05:27:42 pm
Nice to see this is fixed ^^

As for your host I think it was a slower server. I guess it is typical from free hosts, though.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: Galandros on April 03, 2010, 05:41:49 am
Nice to see this is fixed ^^
It was a bug introduced in the PHP4 version I did, btw. x.x

I added a favicon place holder (right now the favicon doesn't make sense). And help page: http://asmtools.omnimaga.org/asmunsquisher/help.html
It has screen shoots of a assembly program that does exactly nothing. (just returns back to TI-OS)
And other minor changes to the PHP script.
Title: Re: Someone should revive the Online Hex Disassembler...
Post by: DJ Omnimaga on April 03, 2010, 12:42:31 pm
Nice to see progress :)