Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 May, 2013, 05:43:28 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2   Go Down
  Print  
Author Topic: Axe dissasembler -  (Read 2379 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
annoyingcalc
the annoying calculator
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 01:51:54
Date Registered: 14 April, 2011, 23:02:24
Location: In the glorious land of minecraft
Posts: 1778


Topic starter
Total Post Ratings: +57

View Profile WWW
« on: 06 July, 2011, 19:58:57 »
0

Can someone make an Axe dissasembler (dissasembles Asm programs and gives source code) on calculator? That would be nice
Logged

Click here to see where you got your post ratings

My minecraft server is usually up, even if mcserverlist says it is down

Spoiler for siq:
Spoiler for signature:
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #1 on: 06 July, 2011, 20:04:44 »
0

Can someone make an Axe dissasembler (dissasembles Asm programs and gives source code) on calculator? That would be nice

That sounds like yet another Axe Disassembler request. Unfortunately, that's not just very hard, but really impossible.
Logged
Ashbad
Guest
« Reply #2 on: 06 July, 2011, 20:06:01 »
0

It would be possible, but I'm sure you would have a ton of errors in translation along the way.
Logged
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #3 on: 06 July, 2011, 20:06:57 »
0

It would be possible, but I'm sure you would have a ton of errors in translation along the way.

Ashbad, that looks like it would get a few things right, but all it could properly do is Bcalls.
Logged
Art_of_camelot
The matrix has you.. ಠ_ಠ
Support Staff
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Last Login: Today at 03:35:25
Date Registered: 30 August, 2008, 04:55:55
Location: Dr. Light's Laboratory
Posts: 4384


Total Post Ratings: +149

View Profile WWW
« Reply #4 on: 06 July, 2011, 20:07:20 »
0

It would be quite difficult. Most Axe programs include the source anyway though don't they?
Logged

Projects:
TBA! Coming to an 83+ near you!

NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!


Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #5 on: 06 July, 2011, 20:07:56 »
0

It would be quite difficult. Most Axe programs include the source anyway though don't they?

Since (for now) we're an open-source community yes Smiley
Logged
Ashbad
Guest
« Reply #6 on: 06 July, 2011, 20:11:50 »
0

It would be possible, but I'm sure you would have a ton of errors in translation along the way.

Ashbad, that looks like it would get a few things right, but all it could properly do is Bcalls.

Well, it would technically work if it searched for patterns of opcodes in chunks and correlate them to Axe commands -- though I can imagine some errors in places where there are a ton of complex routines mixed with pointers and curly braces.  However, the one place it would definitely be different is that it would put all data declarations together and in hexadecimal delimiting, probably at the start of the program for compilation's sake.  For all non-matches with commands, it would simply insert a Asm(hEx here) instead.

I think it is very possible and very impractical.
Logged
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #7 on: 06 July, 2011, 20:14:32 »
0

I spent a few months making a Z80 ASM Disassembler to find out it's impossible to make a perfect one due to the "data vs instructions" thing.

So, if a disassembler is complex know, an Axe Disassembler would be crazy.
Logged
Ashbad
Guest
« Reply #8 on: 06 July, 2011, 20:21:11 »
0

Fortunately, Axe DOES do better with data handling Smiley in fact, it reserves a .data section where all data is stored soon after the last Return.  Everything in the .data section would then be easily distinguishable -- though only as raw data and not in forms of strings, etc. Unless you go through the program and literally see how the program handles all of the data byte by byte, and that wouldn't be near perfect still.  If someone does try to attempt one (maybe I will after the contest...) I think it should decompile to multiple programs, one for each .section.
Logged
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #9 on: 06 July, 2011, 20:24:21 »
0

Fortunately, Axe DOES do better with data handling Smiley in fact, it reserves a .data section where all data is stored soon after the last Return.  Everything in the .data section would then be easily distinguishable -- though only as raw data and not in forms of strings, etc. Unless you go through the program and literally see how the program handles all of the data byte by byte, and that wouldn't be near perfect still.  If someone does try to attempt one (maybe I will after the contest...) I think it should decompile to multiple programs, one for each .section.

I personally was not aware of that and I could use my disassembler to make it return all the data used and all the instructions used separated and from the instructions work on disassembling instructions and bcalls.
Logged
annoyingcalc
the annoying calculator
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 01:51:54
Date Registered: 14 April, 2011, 23:02:24
Location: In the glorious land of minecraft
Posts: 1778


Topic starter
Total Post Ratings: +57

View Profile WWW
« Reply #10 on: 06 July, 2011, 20:43:45 »
0

I want to use some code from a mario ame similar to mine only done
Logged

Click here to see where you got your post ratings

My minecraft server is usually up, even if mcserverlist says it is down

Spoiler for siq:
Spoiler for signature:
Runer112
Project Author
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 01:30:08
Date Registered: 02 July, 2009, 06:38:05
Posts: 1679


Total Post Ratings: +492

View Profile
« Reply #11 on: 06 July, 2011, 20:50:10 »
0

As far as I know, the only finished and released Mario games were written in z80 assembly, not Axe. So it sounds like you don't want an Axe disassembler, just a regular z80 disassembler.

However, unless the author of a program explicitly tells you that you can use their code in your own project, do not use their code. Even if it's not illegal, more importantly it's just not right.
Logged
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #12 on: 06 July, 2011, 20:53:09 »
0

Yes, no Axe Mario game has been made, why do you want an Axe Disassembler? (as Runer said)
Logged
FinaleTI
Believe in the pony that believes in you!
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: 03 May, 2013, 16:35:01
Date Registered: 04 June, 2010, 00:34:27
Location: Alteria
Posts: 1818


Total Post Ratings: +118

View Profile WWW
« Reply #13 on: 06 July, 2011, 20:59:44 »
0

Perhaps he wants to get whatever the Axe source would be for a program that was written in ASM, not necessarily one that was written in Axe. Of course, that's even more impossible than trying to disassemble a program written in Axe back to its source.
« Last Edit: 06 July, 2011, 20:59:55 by FinaleTI » Logged





So, yeah, I have a blog now. Nothing special, just your average ghost town.

Spoiler for Projects:
Spoiler for Pokemon TI:
Map engine is going to be redone from scratch, since I was lacking in organization last time. With a project as big as Pokemon, planning and organization is key, so that will probably be the brunt of the work done on this project for the time being.

Spoiler for Nostalgia:
Being worked on. Nothing really new to put here, but it's being worked on.

Spoiler for Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack.

Spoiler for Nostalgia Origins: Sky's Story:
Currently on hold. I am unsure of whether this will remain DCS7 Hybrid BASIC or if it will use Batlib, Grammer or perhaps Axe.
This may see more progress once a demo of Nostalgia is released.
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #14 on: 06 July, 2011, 23:07:36 »
0

Perhaps he wants to get whatever the Axe source would be for a program that was written in ASM, not necessarily one that was written in Axe. Of course, that's even more impossible than trying to disassemble a program written in Axe back to its source.

Oh I see, that looks a bit too complex and unlikely to work.
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.505 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.