From: Stephan Mühlstrasser Date: Sat, 29 Nov 2014 19:56:49 +0000 (+0100) Subject: Set default start address to 0x200 X-Git-Tag: V2.15~22^2~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=67707f342df65cdf0c03d6b24169a80430dcb53a;p=cc65 Set default start address to 0x200 --- diff --git a/cfg/c1p.cfg b/cfg/c1p.cfg index 2f48dd084..32be486d5 100644 --- a/cfg/c1p.cfg +++ b/cfg/c1p.cfg @@ -7,7 +7,7 @@ FEATURES { label = __DESTRUCTOR_TABLE__, count = __DESTRUCTOR_COUNT__, segment = RODATA; - STARTADDRESS: default = $0300; + STARTADDRESS: default = $0200; } SYMBOLS { __STACKSIZE__: type = weak, value = $0400; # 1k stack diff --git a/src/c1p65/main.c b/src/c1p65/main.c index 3d6cdbe8b..bf74f73c1 100644 --- a/src/c1p65/main.c +++ b/src/c1p65/main.c @@ -137,7 +137,7 @@ int main (int argc, char *argv[]) FILE *OutputFileFp = 0; /* Initialize with default start address defined in c1p.cfg */ - unsigned long StartAddr = 0x300; + unsigned long StartAddr = 0x200; /* Start program automatically after loading */ unsigned AutoStart = 1;