Author Topic: [Project]Assemblex  (Read 18789 times)

0 Members and 1 Guest are viewing this topic.

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: [Project]Disassembler in Python
« Reply #30 on: December 31, 2010, 03:21:58 pm »
On a side note, AssemblyBandit TI-86 disassembler apparently generated comments. Do you think you could add this to your disassembler too?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project]Disassembler in Python
« Reply #31 on: December 31, 2010, 03:22:48 pm »
On a side note, AssemblyBandit TI-86 disassembler apparently generated comments. Do you think you could add this to your disassembler too?

Generated comments, I don't see what you mean. You can make comments in the Assembly code, but not sure of what generating comments is :S

Some of you may have heard about Assemblex, which will be the best Z80 Disassembler out there when released.

Features:
> Type Hex and Convert to Assembly in almost real-time
> Save the Hex file as .txt or .hex
> Save the Assembly code as .asm
> Save both the Hex and Assembly as .txt
> Open .txt Hex files
> Edit functions: (Select All, Undo, Redo, Cut, Copy Paste, Clear)
> Tools (Hex to Decimal, Decimal to Hex, String to Hex, Hex to String)
> About box
> Displays errors such as invalid number of bytes and non-hexadecimal characters.
> Supports all opcodes for all Assembly Instructions, official and unofficial

To do:
> Support for BCall's

This is a Python project, using wxPython.

Here's are the latest screenshots:







I have managed how to read .8xp files already :D BCall's are all that's left.
« Last Edit: December 31, 2010, 03:25:16 pm by ScoutDavid »

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: [Project]Disassembler in Python
« Reply #32 on: December 31, 2010, 03:28:37 pm »
I mean a comment as in something that describe what a line of code does. AssemblyBandit disassembler apparently auto-generate them.

Also Assemblex will be the name of your project, right?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project]Assemblex
« Reply #33 on: December 31, 2010, 03:35:34 pm »
I mean a comment as in something that describe what a line of code does. AssemblyBandit disassembler apparently auto-generate them.

Also Assemblex will be the name of your project, right?

Assemblex is the name of my program.

Here is a comment example:


Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: [Project]Assemblex
« Reply #34 on: December 31, 2010, 06:12:49 pm »
This looks very nice. Sorry if You've said it already, but what do you use for the gui?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project]Assemblex
« Reply #35 on: December 31, 2010, 06:13:33 pm »
This looks very nice. Sorry if You've said it already, but what do you use for the gui?

wxPython, coded from scratch :D
« Last Edit: December 31, 2010, 07:10:16 pm by ScoutDavid »

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: [Project]Assemblex
« Reply #36 on: December 31, 2010, 08:54:00 pm »
Cool, shouldn't comments be on the same like as the code line, though?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project]Assemblex
« Reply #37 on: January 01, 2011, 12:58:07 pm »
www.davidgom.co.cc/Assemblex0003.zip

Well, here it is, the third build!

Features:
> Disassembles a .8xp file (pre-beta stage, working more or less)
> You can type Hexadecimal code and it'll be converted to Assembly code in almost real time
> Convert decimal to hexadecimal
> Convert hexadecimal to decimal

> Edit menu:
>> Select All
>> Undo
>> Redo
>> Copy
>> Cut
>> Paste
>> Clear
>> Number of Words
>> Find and Replace

> New Menu
>> New
>> Open a hex file (.txt, .hex)
>> Save Asm (.txt, .asm)
>> Save HeX (.txt, .hex)
>> Save Asm and Hex (.txt)
>> Exit


> Convert Menu
>> Convert
>> Disassemble File

> Tools Menu
>> Decimal to hexadecimal
>> Hexadecimal to decimal

> Help Menu
>> About



Please download and tell me what you think, it's a 5 MB .zip folder, and will be 15mb folder when unzipped. It's not large, very small actually.


The file is Assemblex.exe, but you need to unzip all of the files.

The bold things are the new things since the last build
« Last Edit: January 01, 2011, 01:13:18 pm by ScoutDavid »

Offline Fast Crash

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 192
  • Rating: +45/-7
  • Virus of tomorrow
    • View Profile
Re: [Project]Assemblex
« Reply #38 on: January 01, 2011, 01:09:01 pm »
It's awesome  :D . I will try it when i will be less busy.

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: [Project]Assemblex
« Reply #39 on: January 01, 2011, 04:39:13 pm »
Hello ScoutDavid, that's a very good idea, and your program has lot of functions.
That's a good work. Do you think you will also program it in Java for make it as applet ?

I'm french, so my english can contain errors. The text in french :

Salut ScoutDavid, c'est une très bonne idée, et ton programme dispose de nombreuses fonctionnalités.
Très bon travail. Penses-tu reprogrammer ce programme en Java pour qu'il soit disponible en tant qu'applet ?

Bye !



Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project]Assemblex
« Reply #40 on: January 01, 2011, 04:58:15 pm »
Hello ScoutDavid, that's a very good idea, and your program has lot of functions.
That's a good work. Do you think you will also program it in Java for make it as applet ?

I'm french, so my english can contain errors. The text in french :

Salut ScoutDavid, c'est une très bonne idée, et ton programme dispose de nombreuses fonctionnalités.
Très bon travail. Penses-tu reprogrammer ce programme en Java pour qu'il soit disponible en tant qu'applet ?

Bye !

Making it Java would be hard, but possible, since I can code in Java. But making it a Java applet would be tremendously hard, probably impossible for someone with my skill. So, when version 1.0 comes, everybody will be able to get the source code maybe someone can try and make it an applet, or even a PHP page :)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project]Assemblex
« Reply #41 on: January 02, 2011, 12:12:07 pm »
Features:
> Disassembles a .8xp file (pre-beta stage, working more or less)
> You can type Hexadecimal code and it'll be converted to Assembly code in almost real time
> Convert decimal to hexadecimal
> Convert hexadecimal to decimal

> Edit menu:
>> Select All
>> Undo
>> Redo
>> Copy
>> Cut
>> Paste
>> Clear
>> Number of Words
>> Find and Replace

> File Menu
>> New
>> Load .8xp File (working better now)
>> Open a hex file (.txt, .hex)
>> Save Asm (.txt, .asm)
>> Save HeX (.txt, .hex)
>> Save Asm and Hex (.txt)
>> Exit


> Convert Menu
>> Convert

> Tools Menu
>> Decimal to hexadecimal
>> Hexadecimal to decimal

> Help Menu
>> About

RAM Addresses and Labels are now written in hexadecimal with a $ before.

What I'm sure will be updated next version:
> Possibility to save as .z80;

What I still have to do:
> Bcalls;
> Negatives;
> GUI Fixes;
> Optimizations (not that the program is slow, it's quite fast actually);
> Try real-time conversion.

Link

www.davidgom.co.cc/Assemblex0004.zip

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: [Project]Assemblex
« Reply #42 on: January 03, 2011, 09:07:15 pm »
Cool, replace function :D, does it replace all?

Nice update :D

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Project]Assemblex
« Reply #43 on: January 05, 2011, 10:10:01 am »
Cool, replace function :D, does it replace all?

Nice update :D

Yes it does. BCALLS WERE ADDED!!!!! My disassembler is almost ready :D I am also adding a EXPORT TO 8XP FUNCTION :D

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: [Project]Assemblex
« Reply #44 on: January 05, 2011, 12:28:33 pm »
Cool to hear, I'm glad this progresses nicely. Also the replace all function will be very useful because I hated in some softwares when there were either no replace function or I had to press replace over 100 times (or retype everything all the time) when I needed to change parts of code or something all accross my program.