shithub: rgbds

ref: 7e3720b62720ee467c5379a56c3af3087b6bff42
dir: /test/link/test.sh/

View raw version
otemp=$(mktemp)
gbtemp=$(mktemp)
outtemp=$(mktemp)

RGBASM=../../rgbasm
RGBLINK=../../rgblink

$RGBASM -o $otemp bank-numbers.asm
$RGBLINK -o $gbtemp $otemp > $outtemp 2>&1
diff bank-numbers.out $outtemp
head -c 20 $gbtemp > $otemp 2>&1
diff bank-numbers.out.bin $otemp