Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Munchor on December 28, 2010, 08:47:42 am

Title: [Project]Assemblex
Post by: Munchor on December 28, 2010, 08:47:42 am
After getting some work done in the Z80 table, I though: "Why not a HEX to Assembly Converter". I decided to start this project as Python, but I could easily move to C# for a compiled language and integration on tiDE, what do you think of this?

Well, here's a working screenshot.

(http://img.removedfromgame.com/imgs/Screenshot0002.png)

Note: The program did convert that, I didn't just type it.

Update: the engine is finished, all i need to do now is add opcodes/instructions to finish it
Title: Re: [Project]Hexadecimal to Assembly Converter
Post by: JosJuice on December 28, 2010, 08:54:44 am
Isn't that a disassembler?
Title: Re: [Project]Hexadecimal to Assembly Converter
Post by: Fast Crash on December 28, 2010, 08:56:02 am
yes that is. the reverse should be good also.
Title: Re: [Project]Hexadecimal to Assembly Converter
Post by: Munchor on December 28, 2010, 08:57:13 am
So, I'm making a disassembler? I hope that's a good thing :S
Title: Re: [Project]Disassembler in Python
Post by: Fast Crash on December 28, 2010, 08:58:38 am
yes because there are not many dissassemblers for z80 cpu
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 28, 2010, 09:09:40 am
(http://img.removedfromgame.com/imgs/Screenshot0003.png)

Included a Message Box error for odd HEX input numbers :)
Title: Re: [Project]Hexadecimal to Assembly Converter
Post by: LordConiupiter on December 28, 2010, 09:12:31 am
nice work! I started coding a Tokenizer and detokenizer today! I'll also post some screenies soon.
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 28, 2010, 09:12:57 am
nice work! I started coding a Tokenizer and detokenizer today! I'll also post some screenies soon.

For BASIC?
Title: Re: [Project]Disassembler in Python
Post by: LordConiupiter on December 28, 2010, 09:19:00 am
yes, and with Axe compatibility!
and any tokenized script language!
That's possible since the dictionaries are stored in XML files.
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 28, 2010, 09:20:27 am
yes, and with Axe compatibility!

Just like Tokens then. Well, adding all the instructions for this program will be really easy, but will take a long time, so I expect to finish a Alpha version in the 1st week of January. Also, has anybody in Omnimaga ever made a disassembler?

Also, I have 1 bug at the moment, the HEX code needs to be all in one line, only problem so far :)
Title: Re: [Project]Disassembler in Python
Post by: LordConiupiter on December 28, 2010, 09:22:03 am
use the following code:
Code: (c#) [Select]
string HEX = textbox1.Text.Replace("\r\n", "");
EDIT: I voted for the most flexible one: Editable, we can get it in the program itself and in the saved .asm too.
Nobody could have problems with this one, since everything is possible this way, and nothing too :P
Title: Re: [Project]Disassembler in Python
Post by: TC01 on December 28, 2010, 10:56:01 am
In Python that would be:

Code: [Select]
text = text.replace("\r\n", "")
Also, you'll need (or, at least, probably want) to include a .8xp extractor to get the code out of a .8xp file so it could be ran over .8xp as well as .hex.
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 28, 2010, 11:48:56 am
In Python that would be:

Code: [Select]
text = text.replace("\r\n", "")
Also, you'll need (or, at least, probably want) to include a .8xp extractor to get the code out of a .8xp file so it could be ran over .8xp as well as .hex.

I may do that after I finish the program, but huh... that was not my original goal, but everybody shouted 'DISASSEMBLER' and now I really have to make one and so I'll do what you asked TC01.
Title: Re: [Project]Disassembler in Python
Post by: SirCmpwn on December 28, 2010, 01:59:56 pm
*-* want for tiDE
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 28, 2010, 02:02:47 pm
*-* want for tiDE

SirCmpwn, this is not really an Assembly disassembler, it's more of a HEX text editor that displays the Assembly Code on the right pane.

Do you still need it? (C# Conversion would be easy)
Title: Re: [Project]Disassembler in Python
Post by: SirCmpwn on December 28, 2010, 02:07:13 pm
Could its functionality be exported to a library, where it takes hex input in a method and spits out asm?
Title: Re: [Project]Disassembler in Python
Post by: TC01 on December 28, 2010, 02:08:13 pm
Ah.

I actually have some Python code that should retrieve the data from an .8x* variable:

Code: [Select]
def get8xdata(filename):
"""Opens a TI-8x data variable and returns a tuple of its internal name and of its data"""
try:
file = open(filename, 'rb')
except:
print "Can't open file: ", filename
raise IOError

output = file.read()
file.close()
end = len(output) - 2
data = output[72:end]
name = output[60:68]
return data, name

Not entirely certain if the data retrieval works (the name retrieval does), but the data should begin at index 72. (If it doesn't you can just change that number).
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 28, 2010, 02:08:24 pm
Yup, but in C# you mean, right?
Title: Re: [Project]Disassembler in Python
Post by: SirCmpwn on December 28, 2010, 02:10:41 pm
Or VB, I guess.
Title: Re: [Project]Disassembler in Python
Post by: TC01 on December 28, 2010, 02:12:18 pm
What about IronPython?

http://ironpython.net/ (http://ironpython.net/)

It's Python integrated with the .NET framework. You can use a Python module (script/library) from a C#/VB program using IronPython.
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 28, 2010, 02:12:19 pm
Or VB, I guess.

VB no! VB sucks!
Title: Re: [Project]Disassembler in Python
Post by: SirCmpwn on December 28, 2010, 02:13:47 pm
Vb does suck :P but if IronPython compiles to CIL and doesn't require python on the user's machine, go for it.
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 29, 2010, 01:54:24 am
I already made all instructions in primary table work. I am only having issues with other tables :S
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 29, 2010, 07:39:56 pm
It's too bad that I have to double post, this is not getting that much attention.

Maybe that's because there was something called... lack of program?

Here it is, a beta  :w00t: :w00t: :w00t: :w00t: :w00t:

Features:
> ALL instructions, all of them, official and unoffical, all those: www.davidgom.co.cc/z80table.html (http://www.davidgom.co.cc/z80table.html);
> 2 Errors as message boxes: "Invalid input byte numbers" and "Non-Hexadecimal Characters";
> It's a fast program, opened by a .exe;
> 2 text controls, multiline, one for input and one for output, output can be edited;
> Got a name, Assemblex!

To do (in order of priority):
> Accept more than one line in the input text control as for now all HEX needs to be in one line;
> Make opcodes with no associated instruction return 'nop';
> GUI Updates;
> Bug fixes that I hope you guys find.

The program is 5 megabytes and will always be 5 megabytes, even if I add 1000 lines of code  ;D


What I need you to do:
> Play with this for a while and report all bugs!
> Suggest ideas;
> Write a one sentence review to let me know how it is.


(http://userbars.removedfromgame.com/userbars.php?bg=blue&msg=Assemblex&pct=50&lines=true)

My new userbar :)

DOWNLOAD (http://www.davidgom.co.cc/Assemblex.zip)


EDIT:Just found a very problematic bug with the ED table. Fixing it, sorry.
EDIT 2: Bug Fixed

Title: Re: [Project]Disassembler in Python
Post by: souvik1997 on December 29, 2010, 08:08:35 pm
It is functional, but can you add an option to open a *.8xp file? Other than that, the only other thing I would like to see is that you can see the disassembly without clicking on the disassembly's text box.

Edit: Also, entering stuff like "C39D95" (jp $9D95) causes the disassembly to be "jp 38301". Could you add an option to make this hexadecimal instead of decimal?
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 30, 2010, 08:39:17 am
souvik, just press TAB twice and you'll be fine, but don't worry, that'll be changed when I manage to accept multiline input.

New Update :)

www.davidgom.co.cc/Assemblex.zip (http://www.davidgom.co.cc/Assemblex.zip)

A few small bugs and added 'nop' to all instructions with no specific opcode :)
Title: Re: [Project]Disassembler in Python
Post by: Silver Shadow on December 30, 2010, 11:57:12 am
You asked me to -1 your first post, so here you go... :P
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 30, 2010, 11:58:38 am
YAY Thanks much, I hope I get a +10 in the next release to compensate for this :P
Title: Re: [Project]Disassembler in Python
Post by: DJ Omnimaga on December 30, 2010, 11:37:26 pm
YAY Thanks much, I hope I get a +10 in the next release to compensate for this :P
I can easily change it to -666. :P
Title: Re: [Project]Disassembler in Python
Post by: Munchor on December 31, 2010, 02:55:17 pm
It is functional, but can you add an option to open a *.8xp file? Other than that, the only other thing I would like to see is that you can see the disassembly without clicking on the disassembly's text box.

Edit: Also, entering stuff like "C39D95" (jp $9D95) causes the disassembly to be "jp 38301". Could you add an option to make this hexadecimal instead of decimal?

I see, I can indeed easily add an option. I just need to know which commands (jp, for example) require that :)
Title: Re: [Project]Disassembler in Python
Post by: DJ Omnimaga 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?
Title: Re: [Project]Disassembler in Python
Post by: Munchor 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:

(http://img.removedfromgame.com/imgs/Screenshot0005.png)

(http://img.removedfromgame.com/imgs/Screenshot0004.png)



I have managed how to read .8xp files already :D BCall's are all that's left.
Title: Re: [Project]Disassembler in Python
Post by: DJ Omnimaga 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?
Title: Re: [Project]Assemblex
Post by: Munchor 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:

(http://img.removedfromgame.com/imgs/Screenshot0006.png)
Title: Re: [Project]Assemblex
Post by: jnesselr 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?
Title: Re: [Project]Assemblex
Post by: Munchor 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
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on December 31, 2010, 08:54:00 pm
Cool, shouldn't comments be on the same like as the code line, though?
Title: Re: [Project]Assemblex
Post by: Munchor on January 01, 2011, 12:58:07 pm
www.davidgom.co.cc/Assemblex0003.zip (http://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
Title: Re: [Project]Assemblex
Post by: Fast Crash on January 01, 2011, 01:09:01 pm
It's awesome  :D . I will try it when i will be less busy.
Title: Re: [Project]Assemblex
Post by: mdr1 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 !
Title: Re: [Project]Assemblex
Post by: Munchor 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 :)
Title: Re: [Project]Assemblex
Post by: Munchor 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 (http://www.davidgom.co.cc/Assemblex0004.zip)
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on January 03, 2011, 09:07:15 pm
Cool, replace function :D, does it replace all?

Nice update :D
Title: Re: [Project]Assemblex
Post by: Munchor 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
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga 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.
Title: Re: [Project]Assemblex
Post by: Munchor on January 06, 2011, 09:39:12 am
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.

There is no 'Find' option yet though, I don't have any clue on how to make one.

Here's how the 'Export to 8xp' will work:

Code: [Select]
210100
23
23
EF0745
C9

This is the code dor
Code: [Select]
ld hl,1
inc hl
inc hl
B_CALL _DispHL

I'm not sure if it will create an Assembly program or a Basic TI-OS program:

Code: [Select]
AsmPrgm
210100
23
23
EF0745
C9

what do you prefer?
Title: Re: [Project]Assemblex
Post by: mdr1 on January 06, 2011, 10:32:56 am
A radio button, if possible.
Title: Re: [Project]Assemblex
Post by: Munchor on January 06, 2011, 01:51:30 pm
A radio button, if possible.

That's a great idea... if I was able to make custom dialogs. I think I'll have a choice list dialog. Thanks anyway :D
Title: Re: [Project]Assemblex
Post by: mdr1 on January 06, 2011, 02:14:51 pm
A radio button, if possible.

That's a great idea... if I was able to make custom dialogs. I think I'll have a choice list dialog. Thanks anyway :D

You don't have to do costom dialogs, you can also put the radio buttoms in a menu bar ... if you can do it.
Good luck for your project !
Title: Re: [Project]Assemblex
Post by: Munchor on January 06, 2011, 02:20:28 pm
A radio button, if possible.

That's a great idea... if I was able to make custom dialogs. I think I'll have a choice list dialog. Thanks anyway :D

You don't have to do costom dialogs, you can also put the radio buttoms in a menu bar ... if you can do it.
Good luck for your project !

Don't you mean a checbox in the menubar?
Title: Re: [Project]Assemblex
Post by: mdr1 on January 07, 2011, 11:27:05 am
No exactly, but tou can also do it like this.

You can add 1 checkbox or 2 radio buttons, to choose the option.

What's the langage you use for your program ?
Title: Re: [Project]Assemblex
Post by: Munchor on January 07, 2011, 02:03:37 pm
No exactly, but tou can also do it like this.

You can add 1 checkbox or 2 radio buttons, to choose the option.

What's the langage you use for your program ?

python, for the GUI wxPython.

Eitherway, I'll probably just make the Basic uncompiled program. So I don't have to worry with options.
Title: Re: [Project]Assemblex
Post by: mdr1 on January 07, 2011, 04:18:36 pm
Uh, I program in Python just a little, sorry.
Title: Re: [Project]Assemblex
Post by: Munchor on January 08, 2011, 08:32:29 am
Uh, I program in Python just a little, sorry.

Don't worry XD.

I also have another problem... I need a big image, 400*300, that says Assemblex with Assemblex's logo. I'll probably put a request in the Pixel Art forum or try to do it myself :)
Title: Re: [Project]Assemblex
Post by: Munchor on January 10, 2011, 02:53:20 pm
Well, Bcalls were implemented, a lot more features, optimizations too!

For now, you have to wait for a video of the program, images won't show it's potential and there were very few downloads of the last beta version
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on January 11, 2011, 03:57:22 am
Cool to hear that the B_Calls are implemented. A video would be cool since some people might want to preview the program.
Title: Re: [Project]Assemblex
Post by: Munchor on January 12, 2011, 12:30:07 pm
Hum, I'm now kind of stuck :/ I implemented Bcall's, but that caused a few bugs, so I'll be stuck until I get this solved :S, this is bad news. I can fix it, but that implies removing bcalls.

Code: [Select]
if b[i+1]!= '' and b[i+2]!= '':
bCallUsed = ''.join([b[i],b[i+1],b[i+2]])

It is checking if it's possible for bcalls to exist (3 bytes, ABCDEF). If true, then it gets the bcall.

I need a totally new system :S
Title: Re: [Project]Assemblex
Post by: Munchor on January 16, 2011, 07:49:10 am
Export to 8xp finished! I just have to figure out BCalls to release 1.0 now :S
Title: Re: [Project]Assemblex
Post by: Munchor on January 17, 2011, 05:38:17 pm
Here it goes, first public release of Assemblex's source code.

Assemblex and its icon are both in that .zip folder.

Please don't blame my code, it's quite horrible I KNOW, AND I ASK YOU, GENTLY BLAME IT, DON'T SCREAM TO ME "WHAT IS THAT? It sucks, so many unneeded stuff!

Please, just don't, I am very proud of what I've achieved.

What's new:
> Frame resizing fixed;
> Menu appearance fixed;
> Key Shortcuts fixed;
> Bugs fixed.

What's not in this yet:
> Bcalls. 1000 dollars to whoever makes it
Title: Re: [Project]Assemblex
Post by: Xeda112358 on January 18, 2011, 06:16:47 pm
This program is definitely one I love ♥ It is a huge help for when I need to convert my programs to mnemonics because where I would spend hours, this takes seconds (and it is more accurate than I am :D) Thanks Scout!
Title: Re: [Project]Assemblex
Post by: Munchor on January 18, 2011, 06:22:11 pm
This program is definitely one I love ♥ It is a huge help for when I need to convert my programs to mnemonics because where I would spend hours, this takes seconds (and it is more accurate than I am :D) Thanks Scout!

Thanks!! Is mnemomics the Assembly code?
Title: Re: [Project]Assemblex
Post by: Xeda112358 on January 18, 2011, 06:26:42 pm
Yeah, the mnemonics are the hex. By the way, for the BCalls, the ti83plus.inc file has it set up kind of like this:
Code: [Select]
_DispHL EQU 4507h
_DisplayImage EQU 4D9Bh
_DispOP1A EQU 4BF7h
_DivHLBy10 EQU 400Fh
_DivHLByA EQU 4012h

Maybe you could search the file for the address and then read from the start of the line? The same is true gor all of the equates (like RAM equates)
EDIT:My brain died when I was typing this. I meant to say the mnemonics are the words, not the hex :D
Title: Re: [Project]Assemblex
Post by: Munchor on January 18, 2011, 06:34:02 pm
Yeah, the mnemonics are the hex. By the way, for the BCalls, the ti83plus.inc file has it set up kind of like this:
Code: [Select]
_DispHL EQU 4507h
_DisplayImage EQU 4D9Bh
_DispOP1A EQU 4BF7h
_DivHLBy10 EQU 400Fh
_DivHLByA EQU 4012h

Maybe you could search the file for the address and then read from the start of the line? The same is true gor all of the equates (like RAM equates)

I know how to display Bcalls, but the way my program was made it's hard to implement.
Title: Re: [Project]Assemblex
Post by: Xeda112358 on January 18, 2011, 06:36:52 pm
Ah, okay. That is understandable. Unfortunately, my computer skills are somewhere in the 0/0 range (undefined), so I cannot help, codewise :(
Title: Re: [Project]Assemblex
Post by: Munchor on January 19, 2011, 09:45:08 am
Ah, okay. That is understandable. Unfortunately, my computer skills are somewhere in the 0/0 range (undefined), so I cannot help, codewise :(

Don't worry :), I'm sure I'll make it
Title: Re: [Project]Assemblex
Post by: Munchor on January 19, 2011, 10:05:20 am
Update: Fixed two major bugs with Extended Instructions (ED...).

Attached is code and icon (the code is executable if you have python 2.x and wxPython installed).

By the way, here's the code, you can have fun scrolling through 760 lines ;P

http://pastebin.com/cA2PdkwX (http://pastebin.com/cA2PdkwX)

Alert: HUGE.

Also, don't blame THE CODE

Title: Re: [Project]Assemblex
Post by: Munchor on January 20, 2011, 06:50:12 pm

I got back to working on it seriously and a VIDEO!

I decided to make a video showing the potential of Assemblex, what do you think? I'm getting really close to a version 1.0.0. ;)
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on January 20, 2011, 07:20:05 pm
Awesome!

I'm glad this has progressed so far. Nice job too. :)

Also nice vid and glad you liked my song. The only thing I noticed is that I hear some sounds in the background. Did you forget to turn your microphone off when recording? Nice vid anyway, though.
Title: Re: [Project]Assemblex
Post by: Munchor on January 21, 2011, 02:51:37 am
Awesome!

I'm glad this has progressed so far. Nice job too. :)

Also nice vid and glad you liked my song. The only thing I noticed is that I hear some sounds in the background. Did you forget to turn your microphone off when recording? Nice vid anyway, though.

Damn, I forgot to disable HyperCam recording sound, but it's not much, it seem.s
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on January 21, 2011, 02:53:18 am
Yeah the sound isn't too high. Actually it's mostly noticeable at the beginning, when the music beat stops for a while.
Title: Re: [Project]Assemblex
Post by: Munchor on January 21, 2011, 09:51:32 am
I will make a new video with better quality, maybe already showing the 'Export to 8xp' function ;D
Title: Re: [Project]Assemblex
Post by: Xeda112358 on January 21, 2011, 12:18:05 pm
Gah, sorry, I cannot see the video :( I need to install Adobe Flash Player, but it won't install.
Title: Re: [Project]Assemblex
Post by: Munchor on January 21, 2011, 03:07:31 pm
Gah, sorry, I cannot see the video :( I need to install Adobe Flash Player, but it won't install.

Too bad, when you manage to install tell me ;D
Title: Re: [Project]Assemblex
Post by: Munchor on January 21, 2011, 05:00:21 pm
UPDATE: I added a link to my Z80 Tables.

I was wondering, is there any other link you guys would want, besides cemetech.net, omnimaga.org and my z80 tables?
Title: Re: [Project]Assemblex
Post by: Munchor on January 21, 2011, 05:58:39 pm


There you go, windows resizing and link to my Z80 Tables.
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on January 21, 2011, 06:02:32 pm
Nice! I kinda like this video better because we see the text easier on Youtube in 480p. Also you fixed the background noise. As for website links you could maybe add WikiTI?
Title: Re: [Project]Assemblex
Post by: Munchor on January 21, 2011, 06:03:46 pm
Nice! I kinda like this video better because we see the text easier on Youtube in 480p. Also you fixed the background noise. As for website links you could maybe add WikiTI?

I'll ask BrandonW about it and if he agrees I'll add it. Woops, new Assemblex page, I'll post the video again:


There you go, windows resizing and link to my Z80 Tables.

I can't wait to finish 'Export to 8xp' function and upload one of the first (or maybe the first) Disassembler+8xp maker+8xp Hexadecimal Editor to ticalc.org :D
Title: Re: [Project]Assemblex
Post by: Munchor on January 23, 2011, 02:45:33 pm
*BUMP*
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on January 23, 2011, 02:52:27 pm
Didn't see this new post. I watched the vid the other day but not  checked the topic yet.

I don't think BrandonW will mind if WikiTI gets added, actually. After all, it gives more publicity for the site. :P
Title: Re: [Project]Assemblex
Post by: Munchor on January 23, 2011, 02:55:21 pm
Didn't see this new post. I watched the vid the other day but not  checked the topic yet.

I don't think BrandonW will mind if WikiTI gets added, actually. After all, it gives more publicity for the site. :P

But I still need to ask him.

Today I made some progress, I optimized it and made the hex reading much faster. The conversion process is still slow and so will remain. I bet that in less than a week I can upload 1.0.0 ;D
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on January 24, 2011, 01:23:35 am
Cool to hear :D. I'm glad 1.0.0 might come out soon. :)
Title: Re: [Project]Assemblex
Post by: Munchor on January 24, 2011, 05:22:56 pm
I can't be arsed with writing binary files, so I just decided to get help.

http://www.python-forum.org/pythonforum/viewtopic.php?f=18&t=23416 (http://www.python-forum.org/pythonforum/viewtopic.php?f=18&t=23416)

I don't like to do this in this kind of forums (since a lot of people go there to get their homework solved) but I am really full of this.
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on January 25, 2011, 01:35:52 am
Ah ok, good luck X.X
Title: Re: [Project]Assemblex
Post by: Munchor on January 25, 2011, 04:51:26 pm
I also need to know who made Brass. I would like to try and implement an assembler, for a 1.0.1.
Title: Re: [Project]Assemblex
Post by: jnesselr on January 25, 2011, 10:38:19 pm
I also need to know who made Brass. I would like to try and implement an assembler, for a 1.0.1.
That would be benryves:
http://benryves.com/products/
Title: Re: [Project]Assemblex
Post by: Munchor on January 26, 2011, 04:08:32 pm
Exporting to 8xp works, not completed yet, I need my own header and the name of the program fixed.

I'm also adding an Assembler.
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on January 29, 2011, 03:19:02 am
Cool, is Benryves assembler the one that is officially added?
Title: Re: [Project]Assemblex
Post by: Munchor on January 29, 2011, 05:11:02 pm
SPASM would be easier to use but then I would have to credit the entire WabbitStudio team :S
Title: Re: [Project]Assemblex
Post by: Binder News on January 29, 2011, 05:45:58 pm
If you want an 8xp writer, I made one in C++ a while ago. It shouldn't be too hard to port to C#.
Title: Re: [Project]Assemblex
Post by: Munchor on January 31, 2011, 08:42:16 am
If you want an 8xp writer, I made one in C++ a while ago. It shouldn't be too hard to port to C#.

Is it an Assembler? Or just a writer?
Title: Re: [Project]Assemblex
Post by: Munchor on February 09, 2011, 10:07:28 am
*BUMP*

And, there will not be an assembler, I tried real time assembling and including it in Assemblex would be a nightmare.

A 1.0.0 will come when the 8xp maker is finished.
Title: Re: [Project]Assemblex
Post by: Munchor on February 13, 2011, 10:14:54 am
www.davidgom.co.cc/assemblex.html (http://www.davidgom.co.cc/assemblex.html)

I made a special page for Assemblex ;D
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on February 14, 2011, 01:16:00 am
Looks good :)
Title: Re: [Project]Assemblex
Post by: Munchor on February 14, 2011, 07:38:32 am
I also have to add that I have finished my problem with the size of the programs created. I am very close to making valid 8xps.
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on February 14, 2011, 03:47:10 pm
What was the 8xp size problem? I can't find the info anywhere. D:
Title: Re: [Project]Assemblex
Post by: Munchor on February 14, 2011, 04:32:15 pm
What was the 8xp size problem? I can't find the info anywhere. D:

I mean, a 8xp file is made in binary code, and it has a header, so the data only comes after:

HEADER
DATA
FOOTER

In the middle of the long header is the size of the program, in a complicated hex little endian way, and I just finished it :D
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on February 15, 2011, 04:40:02 am
Ok I see, thanks for clarifying. :)
Title: Re: [Project]Assemblex
Post by: Munchor on February 17, 2011, 09:51:20 am
Ok I see, thanks for clarifying. :)

I just figured a ton of other things left to do:

Run in WabbitEmu;
Finish the 8xp maker;
Create a 8xp reader (this is a separate program, but will be included);
Create an 8xp maker (separate program again).
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on February 18, 2011, 11:19:22 pm
That will be nice and I like the running in Wabbitemu thing. I hope it is possible :D
Title: Re: [Project]Assemblex
Post by: Munchor on February 19, 2011, 05:27:15 am
That will be nice and I like the running in Wabbitemu thing. I hope it is possible :D

I contacted the coordinator of WabbitEmu and got no response yet. I'll wait some more days and then contact BuckeyeDude.
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on February 21, 2011, 03:13:07 pm
Yeah I think he isn't that active, especially at this time of the year. You might want to ask Buckeye later.
Title: Re: [Project]Assemblex
Post by: Munchor on February 21, 2011, 03:30:17 pm
Yeah I think he isn't that active, especially at this time of the year. You might want to ask Buckeye later.

I'll ask right away, I was quite confident on a response.
Title: Re: [Project]Assemblex
Post by: Munchor on April 08, 2011, 10:56:08 am
Assemblex can now run opened files in WabbitEmu (if it is in the same folder as Assemblex).

All that's left till final release is the Export to 8XP function (making 8xp files)

http://davidgom.co.cc/Assemblex0014.zip (http://davidgom.co.cc/Assemblex0014.zip)
Title: Re: [Project]Assemblex
Post by: DJ Omnimaga on April 22, 2011, 09:46:50 pm
Cool! I always liked that feature from TIGCC. I'M sure a lot of people will like this too. Having to compile, then manually send the files everytime in WabbitEmu can be annoying, especially if it's an application, because sometimes WabbitEmu won't accept them after many were sent (a restart of the emu is required.)

Are you planning to put this in the downloads section when it's finished, by the way?
Title: Re: [Project]Assemblex
Post by: Xeda112358 on April 23, 2011, 11:15:52 am
I am awaiting the new feature :) I hope things go well!
Title: Re: [Project]Assemblex
Post by: Munchor on April 23, 2011, 11:17:59 am
You shouldn't be posting here :S You should be using Assemblex IDE (http://ourl.ca/10437) :P
Perhaps lock this topic?

@DJ: I will upload on Omnimaga downloads, obviously.
@Zeda: Thanks.