Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Munchor on April 16, 2011, 06:58:58 pm
-
After releasing Assemblex IDE (http://ourl.ca/10437), I noticed it's much easier for users to use online tools. So, I decided to create a browser, online (but also available offline) Z80 Assembly Disassembler! The core engine is just like Assemblex's but if you give it a try with huge programs (I tried disassembling zStart 1.1 and it did it in less than a second) you'll notice it's much faster. Mainly because Javascript is faster than Python (also depending on the browser, Chrome's Javascript is the faster).
So, where can I find it?
http://www.davidgom.co.cc/z80.html (http://www.davidgom.co.cc/z80.html)
Right there! Please give it a try, it's online, no downloads! Please give your opinion on it on this topic :D
I also have to say it can't open files for now, but that will be included soon (using PHP). If you want to disassemble files use a Hexadecimal Editor like Hex Baker (http://code.google.com/p/hex-baker/) or XVI32 (http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm) and then copy and paste the code there. Thus, you'll see how fast it is disassembling huge files and applications, perhaps even Operating Systems.
-
I think that this would actually be a disassembler, since it goes from Hex to mnemonics, but either way, looks nice ;)
-
I've gotten to give this a try and I must say, I really like this! It is fast and it is actually easier for me to code in this while I am chatting online. I especially like the ease of use because there is nothing to install or download, so you have a respect point from me!
EDIT: Where does it say it is an assembler?
-
He said it was a dissassembler, ashbad :P unless he saw your post and edited :P
Sounds cool! Hmm, that makes me want an online IDE + an emu :P
-
I've gotten to give this a try and I must say, I really like this! It is fast and it is actually easier for me to code in this while I am chatting online. I especially like the ease of use because there is nothing to install or download, so you have a respect point from me!
Thanks a lot for the support.
He said it was a dissassembler, ashbad :P unless he saw your post and edited :P
Sounds cool! Hmm, that makes me want an online IDE + an emu :P
I'd like an emulator very much, but it only seems possible in Flash. An Assembler is possible, in fact, I'll try and make one soon.
-
oh, that is my bad ;) I'm sorry :P
-
Update
You no longer need to press 'Disassemble'. You can just type and it will disassemble it in real time. How cool is that?
I coded it but Kerm gave me an idea of how to do it :D
http://www.davidgom.co.cc/z80.html (http://www.davidgom.co.cc/z80.html)
What do you think of this?
-
Hehe, I love this :D Now it is closer to being like the python version ! I definitely like this... Also, does that mean you don't even need those options anymore?
-
wow, that looks quite neat :) great job ;D it's very fast, I noticed -- and plus, no moar button :w00t:
-
Hehe, I love this :D Now it is closer to being like the python version ! I definitely like this... Also, does that mean you don't even need those options anymore?
I will leave the options.
Update
The spell checking of the textboxes has been disabled so it's not annoying.
-
Oh, I never had a spell checky thing... Hmm, maybe it is because I am using Firefox?
-
I think Java would be much better at emulating anything than flash :P
@Xeda, I think it's because FF recognizes that it's not for word input, but IE automatically assumes it is.
What about having it be bidirectional entry, sort of like google translate?
-
I think Java would be much better at emulating anything than flash :P
@Xeda, I think it's because FF recognizes that it's not for word input, but IE automatically assumes it is.
I forgot about Java Applets, but they're slow.
-
Are there any bugs to report? I've been trying to make it faster and trying to add file reading.
-
Is this still being worked on? It's really useful.
One thing I would suggest would be to set a timeout after every keypress instead of updating the disassembled code immediately. Doesn't seem to lag much now, but in slower browsers it would.
-
(I tried disassembling zStart 1.1 and it did it in less than a second)
I may have originally missed this post but :D Sometimes I even code differently based on how a disassembler would see my code. But that's just a weird thing I do.
-
Deep, if you could give me some indications on how to do that (timer thing), I'd be pleased, as I know you've done that before in Z80 Tables for example.
I may have originally missed this post but :D Sometimes I even code differently based on how a disassembler would see my code. But that's just a weird thing I do.
That's not so common indeed. Don't forget though this is an online disassembler, and it was made for quick stuff, not disassembling OSs and Apps.
-
First, initialize the counter so you don't get an ERR:UNDEFINED-style exception.
d = 0; // Var d now exists
Now change the textbox's keyup function to something likeclearTimeout(d); // Reset the timeout if it exists
d = setTimeout(onPress, 100); // Set a timeout (timer function) to run onPress 100 ms later
That should do it :)