SCARZIP (SCARZ Information Pane)
Sonic Stadium
Green Hill Zone


THE 10 CULTMANDMENTS | THE IDIOT'S GUIDE TO POSTING AT SCARZ
Sonic Online
Sonic Dimension


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> ASM-to-Hex code reference, for you hax0rz
Lucio
post Jul 20 2005, 12:43 PM
Post #1

Newbie

Group Icon

Group: CulT Member
Posts: 123
Joined: 7-May 05
From: São Bernardo do Campo, Brasil
Member No.: 9,477
Gender: Male
Country: Brazil



Same as I published in SWS2B, here come my technical notes, for all you Sonic hackers. I needed three weeks to learn all the Motorola 68000 assembly instructions (thanks drx for the guides) and read the Programming Manual downloaded form Eidolon's Inn.

In order to show you my improvements, I have made a table containing several useful examples of ASM commands and its translation to machine code, presenting you a guide that you hackers may found very useful.

ASM-TO-HEX CODE REFERENCE (260 KB HTM)

The examples included this table will clear your way to understanding and writing hex code in your projects.

Credits are given in the file. It surely has some glitches, so please contact me or post here if you have any comments about this project. Your contribution will be appreciated and merged to the existing table.

Thank you one more time for your interest,

~Ambil

P.S. teehee Sonic Hachelle-Bee and drx are going to collaborate :D

26/08/2005. Updated to version 1.1

This post has been edited by Ambil: Aug 26 2005, 11:40 AM
Go to the top of the page
 
+Quote Post
Overlord
post Jul 20 2005, 12:58 PM
Post #2


I love 1Mb/s DC++ Hubs, I really do

Group Icon

Group: CulT Family
Posts: 3,079
Joined: 21-August 03
From: Coventry, England
Member No.: 122
Gender: Male
Country: United Kingdom



Nice work! *saves*


--------------------
Shadowsoft-Games.com



A new style.


From all over the UK and proud of it, bitches. =P


 
 
 
 
 
 
 
 
Mystifying MSN Chats!Overlord: Also, I've discovered something unsettling
Overlord: The Now Playing and Fucking Love/Hate sections on people's sigs
Overlord: Are faded/darked versions of colours
Overlord: Grey is dark white, and the other 2 can be lightened to be red and blue, as they are
NiktheGreek: Yup
Overlord: What flag uses the colour and layout of the setup?
Overlord: RUSSIA
Overlord: IT'S AN INVASION D:
NiktheGreek: XDDDDD

 
 
 
 
 
 
 
 
Go to the top of the page
 
+Quote Post
drx
post Jul 20 2005, 01:18 PM
Post #3


whoa... i'm drunkz0r... o_O...

Group Icon

Group: CulT Family
Posts: 913
Joined: 28-August 03
From: :P
Member No.: 460
Gender: Male
Country: Poland



I already said that, but hey. This kicks major asses.


--------------------


Hacking CulT


Go there now or I'll cut your dick off.
emails:
spam@the-drx.org

thedrx@gmail.com
drx@hacking-cult.org
drx@bluehedgehog.org
drx@shadowsoft-games.com
and the list goes on...

cool people list:
16-Bit Terror, Alpha, AJ 187, Beta, Buddha, Cedar J, choel aka jesus, dcom aka Prince of Persia aka cube aka Superdeluxe aka whatever, dirtster aka raggak, djbrayster, dude2003, Fiz, grap3fruitman, Gunner112k, Hivebrain, InsaneSonikkuFan, JohnnyUK, Nemesis, Nik, NGC, Overlord, Rika Chou, Sonic Hackr 2000, STC-Fan, Stoko, Tweaker, Ultima=P

contact:
aim: drx1337
icq: 202333696

Go to the top of the page
 
+Quote Post
Mask of Destiny
post Jul 21 2005, 10:19 AM
Post #4

Objective-C == suckage

Group Icon

Group: CulT Family
Posts: 968
Joined: 21-August 03
Member No.: 85
Gender: Male
Country: United States



This will be useful if I ever start work on my disassembler again, much more convenient then looking in the programmer manual.

One thing though, the way you illustrate the short addressing mode doesn't quite show the whole picture. The high word only goes to $FFFF if the low word is 0x8000 or greater, it's $0 otherwise.


--------------------
Do region conversions, dump cartridges, write Sega CD software. All this and more at http://www.retrodev.com/

Currently messing around with Mac OS X Cocoa development on my resurrected B&W G3.
Go to the top of the page
 
+Quote Post
drx
post Jul 21 2005, 05:08 PM
Post #5


whoa... i'm drunkz0r... o_O...

Group Icon

Group: CulT Family
Posts: 913
Joined: 28-August 03
From: :P
Member No.: 460
Gender: Male
Country: Poland



This reminds me. I wish I had saved my genesis emu somewhere =(


--------------------


Hacking CulT


Go there now or I'll cut your dick off.
emails:
spam@the-drx.org

thedrx@gmail.com
drx@hacking-cult.org
drx@bluehedgehog.org
drx@shadowsoft-games.com
and the list goes on...

cool people list:
16-Bit Terror, Alpha, AJ 187, Beta, Buddha, Cedar J, choel aka jesus, dcom aka Prince of Persia aka cube aka Superdeluxe aka whatever, dirtster aka raggak, djbrayster, dude2003, Fiz, grap3fruitman, Gunner112k, Hivebrain, InsaneSonikkuFan, JohnnyUK, Nemesis, Nik, NGC, Overlord, Rika Chou, Sonic Hackr 2000, STC-Fan, Stoko, Tweaker, Ultima=P

contact:
aim: drx1337
icq: 202333696

Go to the top of the page
 
+Quote Post
Lucio
post Aug 2 2005, 08:22 PM
Post #6

Newbie

Group Icon

Group: CulT Member
Posts: 123
Joined: 7-May 05
From: São Bernardo do Campo, Brasil
Member No.: 9,477
Gender: Male
Country: Brazil



Just a notice: Now that Hacking-CulT is offline, you can't watch my subdomain there. The only way to get reference is in the link in this topic. Download it and if you want to improve it, contact me and I will upload the new version to my blog as soon as possible.
Go to the top of the page
 
+Quote Post
Lucio
post Aug 26 2005, 11:36 AM
Post #7

Newbie

Group Icon

Group: CulT Member
Posts: 123
Joined: 7-May 05
From: São Bernardo do Campo, Brasil
Member No.: 9,477
Gender: Male
Country: Brazil



Version 1.1 is up. Chech link in first post.
Go to the top of the page
 
+Quote Post

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Start new topic

 

Lo-Fi Version Time is now: 11th December 2017 - 03:47 PM