From 8fa5fc61086a8d736b431b8562ec64a2318cec0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stephan=20M=C3=BChlstrasser?= Date: Fri, 2 Jan 2015 20:28:36 +0100 Subject: [PATCH] Restructured according to coding conventions. --- cfg/c1p.cfg | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/cfg/c1p.cfg b/cfg/c1p.cfg index 32be486d5..62adcd820 100644 --- a/cfg/c1p.cfg +++ b/cfg/c1p.cfg @@ -1,14 +1,7 @@ FEATURES { - CONDES: type = constructor, - label = __CONSTRUCTOR_TABLE__, - count = __CONSTRUCTOR_COUNT__, - segment = INIT; - CONDES: type = destructor, - label = __DESTRUCTOR_TABLE__, - count = __DESTRUCTOR_COUNT__, - segment = RODATA; STARTADDRESS: default = $0200; } + SYMBOLS { __STACKSIZE__: type = weak, value = $0400; # 1k stack __HIMEM__: type = weak, value = $2000; # Presumed RAM end @@ -29,3 +22,13 @@ SEGMENTS { ZEROPAGE: load = ZP, type = zp; EXTZP: load = ZP, type = rw, define = yes; } +FEATURES { + CONDES: type = constructor, + label = __CONSTRUCTOR_TABLE__, + count = __CONSTRUCTOR_COUNT__, + segment = INIT; + CONDES: type = destructor, + label = __DESTRUCTOR_TABLE__, + count = __DESTRUCTOR_COUNT__, + segment = RODATA; +} -- 2.39.5