Saturday, March 31, 2018

Re: NEW: devel/rgbds

On Fri, Mar 30, 2018 at 11:42:14PM -0600, Anthony J. Bentley wrote:
> RGBDS (Rednex Game Boy Development System) is a free assembler/linker package
> for the Game Boy and Game Boy Color. It consists of:
>
> - rgbasm (assembler)
> - rgblink (linker)
> - rgbfix (checksum/header fixer)
> - rgbgfx (PNG to Game Boy graphics converter)
Nice, even pledged!

Looks good port-wise except for:

* move one pledge() above argc check/usage() call
* MAKE_FLAGS for proper binary/manual permissions, also pass CFLAGS to
build without debug symbols by default (this makes it DEBUG aware)
* same indentation for all variables in Makefile

See updated tarball attached. OK kn with the pledge() and make bits in.

I did a quick test, the toolchain seems to work and my ROM starts, but
that might mean nothing at all:

$ cat > a.s
section "die",rom0
di ; disable interrupts
stop ; stop the cpu
$ rgbasm -o a.o a.s
$ rgblink -o a.gb a.o
$ rgbfix -v a.gb
$ mednafen a.gb

Have fun!

No comments:

Post a Comment