From 67707f342df65cdf0c03d6b24169a80430dcb53a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stephan=20M=C3=BChlstrasser?= Date: Sat, 29 Nov 2014 20:56:49 +0100 Subject: [PATCH] Set default start address to 0x200 --- cfg/c1p.cfg | 2 +- src/c1p65/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5