+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Linking assembled snes binaries
Pages: [1]
Author Topic: Linking assembled snes binaries  (Read 1 times)
badinsults
Guest
« on: February 21, 2010, 10:16:42 pm »

I have a bunch of assembled SNES files for an early alpha version of StarFox 2, however they are not properly linked and we don't have Argonaut's proprietary linker.  Some have told me it might be possible to manually put together the files to make a working SNES ROM, but I have no idea where to start.  The assembled files are separated into individual banks.
syntax error
Guest
« Reply #1 on: February 22, 2010, 10:49:55 am »

First try reverse engineering the object file format and convert it to another format for a linker that IS available.

Other way,disassemble it(bit more difficult on this CPU than usual).
MathOnNapkins
Guest
« Reply #2 on: February 22, 2010, 05:36:30 pm »

Is each file less than 64K (or 32K?). If so, it's possible that they're just raw assembly and not object files. Thus, they'd be fairly easy to slap together into a rom using xkas.
badinsults
Guest
« Reply #3 on: February 22, 2010, 07:31:08 pm »

Code:
snes64@victory64-laptop:/home/snes/snes/archives/games/StarFox 2/souce code/SF2A$ ls -l | grep .SOB
-rw-r--r-- 1 snes64 snes64  44800 1994-05-13 15:37 BANK0.SOB
-rw-r--r-- 1 snes64 snes64  21808 1994-05-13 14:46 BANK10.SOB
-rw-r--r-- 1 snes64 snes64  35986 1994-05-13 14:56 BANK1.SOB
-rw-r--r-- 1 snes64 snes64 103519 1994-05-13 14:45 BANK2.SOB
-rw-r--r-- 1 snes64 snes64  17595 1994-05-13 16:22 BANK4.SOB
-rw-r--r-- 1 snes64 snes64  14230 1994-05-13 16:22 BANK5.SOB
-rw-r--r-- 1 snes64 snes64  44643 1994-05-13 14:45 BANK6.SOB
-rw-r--r-- 1 snes64 snes64  44702 1994-05-13 14:45 BANK7.SOB
-rw-r--r-- 1 snes64 snes64  43096 1994-05-13 14:45 BANK8.SOB
-rw-r--r-- 1 snes64 snes64  36049 1994-05-13 14:45 BANK9.SOB
-rw-r--r-- 1 snes64 snes64  24272 1994-05-13 14:46 INCBINS.SOB
-rw-r--r-- 1 snes64 snes64 105481 1994-05-13 15:37 SHBANKS.SOB

Looking at the binary files, it seems there is still some text within them, possibly instructions for the linker.  I don't know if some after the fact linker will be compatible with the Super FX assembly language.  I don't have Windows, perhaps we can talk on IRC.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC