gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

ASM > Trying to include a binary file on Goldroad

#155778 - Weird Person - Sun May 04, 2008 3:24 am

I'm using Goldroad, but there doesn't seems to have any documentation about it around. I've alredy tried:

@incbin file.bin
@includebinary file.bin
@incbin "file.bin"

But none of these instructions seems to be recognized by Goldroad.

I know it's discontinued, but it's the easiest to use ARM7 Assembler I found. The others, altough with documentation, are much more harder to use.

#166519 - alien8r33d - Mon Feb 09, 2009 10:59 am

Hi Weird Person - how often do you get to say that without getting a punch in the face :-).

I use Goldroad, it can be a bit picky about syntax but it is quick and easy to use so I swear by it.

@incbin file.bin

The above is the correct syntax for the incbin directive. Goldroad may be having a problem assembling it because of the .bin suffix. Try changing the .bin to something else, e.g. .raw or .dat. I use .gfx for graphics, .sfx for audio etc.

#166861 - strat - Sat Feb 21, 2009 9:22 am

If only Goldroad could output .o files...