Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Munchor on April 16, 2011, 06:34:58 am

Title: Assemblex IDE
Post by: Munchor on April 16, 2011, 06:34:58 am
After some hard work on polishing Assemblex and adding 'Export to 8XP' and 'Run in WabbitEmu' function, Assemblex is now called Assemblex IDE and I decided to create a new topic for several reasons.

Here's a video of it working:



Sorry for the lack of DJ O's music.

Quote
Assemblex IDE is a Z80 Assembly IDE aimed at Hexadecimal programmers, but also useful for assembly programmers.
It features a disassembler, an assembler, a real time disassembler and many other assembly and hexadecimal tools.
This program was made by David Gomes and it should not be released anywhere without his approval.
The 8XP files creator of this program was made by Kerm Martian.

Assemblex IDE is not just for hexadecimal Assembly coders, but for Assembly coders too. However, it focuses on hexadecimal programmers.

The most important part of Assemblex is the disassembler, followed by the 8xp maker. How does this work?

Press "Load 8XP" and choose a game or a program, it will open it and disassemble it. Then, you can change the hexadecimal code to edit it. Right after, press 'Run on Wabbitemu' to run it!

Note: In order to Run in Wabbitemu, you need 'wabbitemu.exe' in the same folder as ASSEMBLEX. There is also a bug in this function, but in the main release I'll fix it (instead of what's desired, you have to press 'Export to 8XP' before 'Run in Wabbitemu', but in the next version, the latter will do both).

For the beta testing, I'm only releasing the Windows version. However, you still need Python (http://www.python.org) installed on your machine to run it.

Please report any bugs you find. Attached is the .7z file, you'll need 7Zip to open it. However, if you don't have 7ZIP, you can just download a .zip version of it here (http://www.davidgom.co.cc/Assemblex0015.zip). To run the program, just press 'Assemblex IDE.exe'.

Enjoy!

EDIT: I felt I had to credit Kerm Martian for making binpac8x more, since I use binpac8x.py to create 8xp files based on the code made by the user.
Title: Re: Assemblex IDE
Post by: ZippyDee on April 16, 2011, 06:39:07 am
Great job! Looks fantastic!
Title: Re: Assemblex IDE
Post by: Ashbad on April 16, 2011, 09:00:02 am
Wow, scout, this is really coming along very nicely :D

Does it also do the conversion from hex to mnemonic in the opposite direction?
Title: Re: Assemblex IDE
Post by: Munchor on April 16, 2011, 09:03:11 am
Wow, scout, this is really coming along very nicely :D

Does it also do the conversion from hex to mnemonic in the opposite direction?

Thanks, you mean mnemonics to hex, that's what you call an Assembler. No it doesn't, but I could try and implement one, it shouldn't be too hard.
Title: Re: Assemblex IDE
Post by: Adriweb on April 16, 2011, 09:07:18 am
Looks really nice, congrats ! :)
Title: Re: Assemblex IDE
Post by: alberthrocks on April 16, 2011, 09:13:10 am
Awesome stuff! :D I'm curious - is the Wabbitemu execution feature automatic, or do you have to input the keypresses yourself? (And if it's automatic, how the heck did you do it?? O_O)
Title: Re: Assemblex IDE
Post by: Munchor on April 16, 2011, 09:16:23 am
Awesome stuff! :D I'm curious - is the Wabbitemu execution feature automatic, or do you have to input the keypresses yourself? (And if it's automatic, how the heck did you do it?? O_O)

Hahahahah, if it was automatic, wouldn't it be awesome? No, I just know the codes by heart and I don't have a key plate for some reason.

To run Wabbitemu I just do:

Code: [Select]
(import os is needed)
os.system('wabbitemu.exe filename.8xp')
Title: Re: Assemblex IDE
Post by: Xeda112358 on April 16, 2011, 09:55:57 am
So I just tried this and so far I am absolutely going to love this! Can  make a teeny request pretty please?!? Um, it would be reallllly cool if I could include labels for the hex. Like, if I did:
Code: [Select]
EF4645
210000
224B84
21(.Text)
EF1045
C9
.Text
0548656C6C6F
then (.text) could return the little endian address of the point after the C9. It isn't really too important, but I bet there would be more hex programmers if that happened! Plus, I have been wanting to add that ability to a calc program I made...
Title: Re: Assemblex IDE
Post by: Munchor on April 16, 2011, 10:57:50 am
So I just tried this and so far I am absolutely going to love this! Can  make a teeny request pretty please?!? Um, it would be reallllly cool if I could include labels for the hex. Like, if I did:

Then (.text) could return the little endian address of the point after the C9. It isn't really too important, but I bet there would be more hex programmers if that happened! Plus, I have been wanting to add that ability to a calc program I made...

Zeda, I'll think about it and see how it could be implemented, but I can't promise you I'll do it.
Title: Re: Assemblex IDE
Post by: Deep Toaster on April 17, 2011, 12:20:39 am
Great work integrating all these tools! If you can add assembling it's going to be awesome IDE O.O

Maybe you could have it call Spasm or something? But then it would do pretty much the same thing as WabbitCode.

To run Wabbitemu I just do:

Code: [Select]
(import os is needed)
os.system('wabbitemu.exe filename.8xp')

Whoa, when did Wabbit add that? :o
Title: Re: Assemblex IDE
Post by: Munchor on April 17, 2011, 12:22:29 am
Great work integrating all these tools! If you can add assembling it's going to be awesome IDE O.O

Maybe you could have it call Spasm or something? But then it would do pretty much the same thing as WabbitCode.

To run Wabbitemu I just do:

Code: [Select]
(import os is needed)
os.system('wabbitemu.exe filename.8xp')

Whoa, when did Wabbit add that? :o

They didn't add that in Python, I'm just executing a program, it's like not specific to Python, running a standalone program with an argument.
Title: Re: Assemblex IDE
Post by: Deep Toaster on April 17, 2011, 12:35:15 am
I meant I didn't realize you could pass arguments to Wabbit already.

EDIT: Or maybe I forgot.
Title: Re: Assemblex IDE
Post by: Munchor on April 17, 2011, 05:22:54 am
I meant I didn't realize you could pass arguments to Wabbit already.

EDIT: Or maybe I forgot.

I would also like to announce that I'll be uploading the next version on ticalc.org.
Title: Re: Assemblex IDE
Post by: Xeda112358 on April 23, 2011, 11:19:46 am
You will be updating here, too, right?
Title: Re: Assemblex IDE
Post by: Munchor on April 23, 2011, 11:21:09 am
You will be updating here, too, right?

@Zeda: This is the topic, the other one is dead.

I will also be writing Assemblex IDE in a cleaner way (according to PEP8).
Title: Re: Assemblex IDE
Post by: Xeda112358 on April 23, 2011, 11:23:32 am
Ah, okay! And yeah, I realised after you told me in your other post XD SO by cleaner, does that mean it will be smaller and more optimised?

Also, I kind of want to make an on calc assembler using Assemblex XD
Title: Re: Assemblex IDE
Post by: Munchor on April 23, 2011, 11:25:11 am
Ah, okay! And yeah, I realised after you told me in your other post XD SO by cleaner, does that mean it will be smaller and more optimised?

Also, I kind of want to make an on calc assembler using Assemblex XD

Cleaner in Python doesn't mean faster. In Python there are lots of coding standards, such as using 4 spaces for indentantion, variable names need to follow rules, class names need to follow rules too, the structure has to follow rules, there are lots of rules. And Assemblex IDE doesn't follow a lot of those rules, which I have to fix.

On-Calc-Assembler: nice.
Title: Re: Assemblex IDE
Post by: DJ Omnimaga on May 21, 2011, 03:31:11 am
This looks nice Scout, and sorry for posting in the other topic lol, I didn't notice this one at the time (I had 1 month worth of new project posts to check, which eventually became 2 x.x)
Title: Re: Assemblex IDE
Post by: Munchor on May 21, 2011, 05:20:58 am
This looks nice Scout, and sorry for posting in the other topic lol, I didn't notice this one at the time (I had 1 month worth of new project posts to check, which eventually became 2 x.x)

No problem. I will finish Assemblex in the beginning of the Summer it's a promise I've made to myself and will try to follow.
Title: Re: Assemblex IDE
Post by: DJ Omnimaga on May 21, 2011, 02:37:15 pm
Cool to hear. I wish you good luck.
Title: Re: Assemblex IDE
Post by: Munchor on May 22, 2011, 05:58:50 am
Cool to hear. I wish you good luck.

Thanks a lot DJ :)