Author Topic: Someone should revive the Online Hex Disassembler...  (Read 31731 times)

0 Members and 4 Guests are viewing this topic.

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #60 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.
"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: ħ%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #61 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.

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #62 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.
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #63 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

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #64 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 :)

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #65 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. :)
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #66 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

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #67 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
« Last Edit: December 28, 2009, 07:48:12 am by Galandros »
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #68 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

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #69 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...
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #70 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

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #71 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.
« Last Edit: December 30, 2009, 12:07:19 pm by Galandros »
Hobbing in calculator projects.

Offline JCW

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +3/-1
  • Atmospheric/Intelligent Junglist
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #72 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.
Former Administrator of TIMGUL (the international music generator users lounge)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Someone should revive the Online Hex Disassembler...
« Reply #73 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

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Someone should revive the Online Hex Disassembler...
« Reply #74 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.
Hobbing in calculator projects.