aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-09-14 22:04:38 +0100
committerIan C <ianc@noddybox.co.uk>2016-09-14 22:04:38 +0100
commiteffdc72e16ec33a6bcb008b74734658c5c42ed45 (patch)
treef77662ee06afb3831f0a0fe0cd05dfbf4e594e28 /src
parentace88543a32f2c6dfc6a3aa17bd9a35f55a0b1d8 (diff)
parent84c6a929a6b78059f71b38c5f4e1b4b67ef6a908 (diff)
Merge branch 'master' of https://github.com/noddybox/casm
Diffstat (limited to 'src')
-rwxr-xr-xsrc/example/nestiles.neschrbin151314 -> 151314 bytes
-rwxr-xr-xsrc/example/tiles.chrbin8192 -> 8192 bytes
-rw-r--r--src/label.c2
-rw-r--r--src/test/link3
4 files changed, 3 insertions, 2 deletions
diff --git a/src/example/nestiles.neschr b/src/example/nestiles.neschr
index ea73da6..dc763bc 100755
--- a/src/example/nestiles.neschr
+++ b/src/example/nestiles.neschr
Binary files differ
diff --git a/src/example/tiles.chr b/src/example/tiles.chr
index 0fbebab..4b9539a 100755
--- a/src/example/tiles.chr
+++ b/src/example/tiles.chr
Binary files differ
diff --git a/src/label.c b/src/label.c
index 440ea8d..946a6ea 100644
--- a/src/label.c
+++ b/src/label.c
@@ -496,7 +496,7 @@ void LabelDump(FILE *fp, int dump_private)
if (g->label.name[0] != '_' || dump_private)
{
- fprintf(fp, "; %-*s = $%4.4x (%d)\n", MAX_LABEL_SIZE,
+ fprintf(fp, "; %-*s = $%8.8x (%d)\n", MAX_LABEL_SIZE,
g->label.name,
(unsigned)g->label.value,
g->label.value);
diff --git a/src/test/link b/src/test/link
index ec09bd6..8b8cc8b 100644
--- a/src/test/link
+++ b/src/test/link
@@ -1,5 +1,6 @@
- option output-file,"link.out"
option +list
+ option output-file,"link.out"
+ option output-bank,"link.%u"
option list-labels,all
import "lib2.lib"