On 11/13/2011 05:37 PM, Adam Courchesne wrote:
> Hey guys,
> I'm looking to use SDCC to develop some code for an Z80 based arcade
> game: Pole Position.
> http://ppclone.blogspot.com
>
> I have some sample C code that I've compiled and it looks like the
> compiler successfully compiled and linked
You can use objcopy from GNU_binutils,
*** in a script or command line,
#!/bin/bash
# hex to bin
fichier=$1
objcopy -I ihex -O binary $1 ${fichier%.*}.bin
*** or in your Makefile
OBJCOPY= /your/path/to/objcopy
...
bin: $(PRG).bin
...
%.bin: %.elf
$(OBJCOPY) -j .text -j .data
Op 14-11-11 00:37, Adam Courchesne schreef:
> Hey guys,
> I'm looking to use SDCC to develop some code for an Z80 based arcade
> game: Pole Position.
> http://ppclone.blogspot.com
>
> I have some sample C code that I've compiled and it looks like the
> compiler successfully compiled and linked ev
dwgh2b.c
Description: Binary data
Here is my humble hex to binary converterDouglas GoodallOn Nov 13, 2011, at 3:37 PM, Adam Courchesne wrote:Hey guys,I'm looking to use SDCC to develop some code for an Z80 based arcade game: Pole Position.http://ppclone.blogspot.comI have some sample C code that
Hey guys,
I'm looking to use SDCC to develop some code for an Z80 based arcade game:
Pole Position.
http://ppclone.blogspot.com
I have some sample C code that I've compiled and it looks like the compiler
successfully compiled and linked everything but what I'm looking for is a
resulting binary fil