Skip to content

Commit

Permalink
Add standard data location to link script (fixes old gbdk compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjhkarlsson committed Sep 11, 2015
1 parent da61fac commit 295450f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/gbdk-n-link.sh
Expand Up @@ -4,4 +4,4 @@ GBDK_DIR="$( cd "$( dirname "$0" )" && pwd )/.."

set -x

sdcc -mgbz80 --no-std-crt0 -I "$GBDK_DIR/include" -I "$GBDK_DIR/include/asm" -L "$GBDK_DIR/lib" "$GBDK_DIR/lib/crt0.rel" -l gb.lib -o a.ihx "$@"
sdcc -mgbz80 --no-std-crt0 --data-loc 0xc0a0 -I "$GBDK_DIR/include" -I "$GBDK_DIR/include/asm" -L "$GBDK_DIR/lib" "$GBDK_DIR/lib/crt0.rel" -l gb.lib -o a.ihx "$@"

0 comments on commit 295450f

Please sign in to comment.