Page 1 of 1
i wanna know how to convert bin to asm.
Posted: Sun Aug 15, 2010 2:50 pm
by eurika1123
i heard about disassembler (68kd.exe or Ida)
but nobody said how to use it

there's someone help me to let me know?
Posted: Sun Aug 15, 2010 3:09 pm
by Shiru
If you can't figure out how to use the tools (which has documentation), you'll be not able to do anything with the result of the decompilation.
i just want to get asm file..
Posted: Mon Aug 16, 2010 11:18 am
by eurika1123
although i can't understand assembly now,
i try from now.
Posted: Sat Aug 21, 2010 4:43 am
by plee
I would learn 68000 assembly code before attempting to disassemble a .bin file. If you know basic/c/etc... it will help learning 68000 assembly.
Posted: Sat Aug 21, 2010 5:05 am
by HardWareMan
You can start from
MC68000-Programmer-Manual. This doc for whole M68K family. So be carefull when you will read it. Some commands are not belong to 68000, and they a marked.
Posted: Sat Aug 21, 2010 11:11 am
by Munkyears
Yeah i suppose honesty is the best policy but people learn from other peoples code and sources. I understand what he's trying to do and yeah it would be a good idea to learn ASM deeply first, but why fault him for disassembling it? Its a lot quicker to take it in than just reading programming manuals that aren't exactly "Newbie - Friendly".
Eurika1123, using 68kd.exe, create a shortcut, right click, propeties, goto target box and you need to enter your output file, input file, and params if need be. Should be a txt file in the download that specifies an example of what needs passing through it.
something like "%path bla bla%." - "Put the correct param here" input.bin output.asm
Been a while since i used it.
Hope this helps
:)
Posted: Sat Aug 21, 2010 2:41 pm
by eurika1123
really thanks your for reply

Posted: Tue Aug 24, 2010 5:49 am
by andlabs
The issue with disassembling is that even in its current state IDA isn't smart and, for example, wrongly sees palettes as offsets and turns them into labels, doesn't follow pc-relative jumps with index, etc. I've done a heckuva lot of disassembling with IDA (again, primarily to get the DAC samples out, though I've done/am doing full game analyses [people on Sonic Retro will know about that]) so what I can say is you will also need to have an understanding of not only how the Genesis works but also of the tools used by the older games (if that's what you're trying to disassemble), namely compression formats (Nemesis, Enigma, etc.) and sound drivers (SMPS, GEMS, Konami's various drivers, etc.). For someone just starting, it's going to be as overwhelming — if not more — than writing your own thing from scratch.
Posted: Tue Aug 24, 2010 2:41 pm
by Gigasoft
I might make a quick plugin later to auto-detect jump tables used with sequences like:
move.l table(pc,dn.w),dn.w
jmp.l table(pc,dn.w)
It might save some time spent manually defining them.