From fcc57d9be4bd2d06550709031f0f774f85b4f9b2 Mon Sep 17 00:00:00 2001 From: Chris Cureau Date: Tue, 12 Jan 2016 08:14:38 -0600 Subject: [PATCH] update Makefiles and configuration for latest cc65 --- samples/echo_irq/Makefile | 2 +- samples/echo_irq/symon.config | 4 ++-- samples/ehbasic/Makefile | 2 +- samples/ehbasic/symon.config | 4 ++-- samples/ehbasic_crtc/Makefile | 2 +- samples/ehbasic_crtc/symon.config | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/samples/echo_irq/Makefile b/samples/echo_irq/Makefile index 2b8302e..897f3a7 100644 --- a/samples/echo_irq/Makefile +++ b/samples/echo_irq/Makefile @@ -7,7 +7,7 @@ echo_irq: echo_irq.o $(LD) -C symon.config -vm -m echo_irq.map -o echo_irq.rom echo_irq.o echo_irq.o: - $(CA) --listing -o echo_irq.o echo_irq.asm + $(CA) --listing echo_irq.lst -o echo_irq.o echo_irq.asm clean: rm -f *.o *.rom *.map *.lst diff --git a/samples/echo_irq/symon.config b/samples/echo_irq/symon.config index 6d5ae20..3f1a615 100644 --- a/samples/echo_irq/symon.config +++ b/samples/echo_irq/symon.config @@ -1,5 +1,5 @@ MEMORY { -RAM1: start = $0000, size = $8000; +RAM1: start = $0000, size = $8000 - __STACKSIZE__; ROM1: start = $C000, size = $3FFA, fill = yes; ROMV: start = $FFFA, size = $6, file = %O, fill = yes; } @@ -11,6 +11,6 @@ VECTORS: load = ROMV, type = ro; } SYMBOLS { -__STACKSIZE__ = $0300; +__STACKSIZE__: type = weak, value = $0300; } diff --git a/samples/ehbasic/Makefile b/samples/ehbasic/Makefile index 6a3c38b..e60721a 100644 --- a/samples/ehbasic/Makefile +++ b/samples/ehbasic/Makefile @@ -7,7 +7,7 @@ ehbasic: ehbasic.o $(LD) -C symon.config -vm -m ehbasic.map -o ehbasic.rom ehbasic.o ehbasic.o: - $(CA) --listing -o ehbasic.o min_mon.asm + $(CA) --listing ehbasic.lst -o ehbasic.o min_mon.asm clean: rm -f *.o *.rom *.map *.lst diff --git a/samples/ehbasic/symon.config b/samples/ehbasic/symon.config index f7eb850..39bf6f2 100644 --- a/samples/ehbasic/symon.config +++ b/samples/ehbasic/symon.config @@ -1,5 +1,5 @@ MEMORY { -RAM1: start = $0000, size = $8000; +RAM1: start = $0000, size = $8000 - __STACKSIZE__; ROM1: start = $C000, size = $3F00, fill = yes; MONITOR: start = $FF00, size = $FA, fill = yes; ROMV: start = $FFFA, size = $6, file = %O, fill = yes; @@ -13,6 +13,6 @@ VECTORS: load = ROMV, type = ro; } SYMBOLS { -__STACKSIZE__ = $0300; +__STACKSIZE__: type = weak, value = $0300; } diff --git a/samples/ehbasic_crtc/Makefile b/samples/ehbasic_crtc/Makefile index 6a3c38b..e60721a 100644 --- a/samples/ehbasic_crtc/Makefile +++ b/samples/ehbasic_crtc/Makefile @@ -7,7 +7,7 @@ ehbasic: ehbasic.o $(LD) -C symon.config -vm -m ehbasic.map -o ehbasic.rom ehbasic.o ehbasic.o: - $(CA) --listing -o ehbasic.o min_mon.asm + $(CA) --listing ehbasic.lst -o ehbasic.o min_mon.asm clean: rm -f *.o *.rom *.map *.lst diff --git a/samples/ehbasic_crtc/symon.config b/samples/ehbasic_crtc/symon.config index fbaeee2..8b9bb31 100644 --- a/samples/ehbasic_crtc/symon.config +++ b/samples/ehbasic_crtc/symon.config @@ -1,5 +1,5 @@ MEMORY { -RAM1: start = $0000, size = $8000; +RAM1: start = $0000, size = $8000 - __STACKSIZE__; ROM1: start = $C000, size = $3C00, fill = yes; MONITOR: start = $FC00, size = $3FA, fill = yes; ROMV: start = $FFFA, size = $6, file = %O, fill = yes; @@ -13,6 +13,6 @@ VECTORS: load = ROMV, type = ro; } SYMBOLS { -__STACKSIZE__ = $0300; +__STACKSIZE__: type = weak, value = $0300; }