]> git.sur5r.net Git - cc65/commitdiff
Set default start address to 0x200
authorStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sat, 29 Nov 2014 19:56:49 +0000 (20:56 +0100)
committerStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sat, 29 Nov 2014 19:56:49 +0000 (20:56 +0100)
cfg/c1p.cfg
src/c1p65/main.c

index 2f48dd0849ff4d3ee488623fa13fcd31f3ae6cc0..32be486d5fc38f5c4240b3b539fe745c7f34f12e 100644 (file)
@@ -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
index 3d6cdbe8b4417e4aaf0b73635e8865b2c340fd75..bf74f73c16a1eb52508e62ffae4d7277f46107d1 100644 (file)
@@ -137,7 +137,7 @@ int main (int argc, char *argv[])
        FILE *OutputFileFp = 0;\r
 \r
        /* Initialize with default start address defined in c1p.cfg */\r
-       unsigned long StartAddr = 0x300;\r
+       unsigned long StartAddr = 0x200;\r
 \r
        /* Start program automatically after loading */\r
        unsigned AutoStart = 1;\r