Skip to content

Commit

Permalink
The Apple2 linker configs *-loader.cfg only differed in the presumed …
Browse files Browse the repository at this point in the history
…HIMEM from the default config. Rather have that value adjustable.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5728 b7a2c559-68d2-44c3-8de9-860c34a00d81
  • Loading branch information
ol.sc committed Jun 16, 2012
1 parent 4647e98 commit f6ab932
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 98 deletions.
48 changes: 0 additions & 48 deletions src/ld65/cfg/apple2-loader.cfg

This file was deleted.

3 changes: 2 additions & 1 deletion src/ld65/cfg/apple2.cfg
Expand Up @@ -5,6 +5,7 @@ FEATURES {
}
SYMBOLS {
__EXEHDR__: type = import;
__HIMEM__: type = weak, value = $9600; # Presumed RAM end
__LCADDR__: type = weak, value = $D400; # Behind quit code
__LCSIZE__: type = weak, value = $0C00; # Rest of bank two
__STACKSIZE__: type = weak, value = $0800; # 2k stack
Expand All @@ -15,7 +16,7 @@ SYMBOLS {
MEMORY {
ZP: define = yes, start = $0080, size = $001A;
HEADER: file = %O, start = $0000, size = $0004;
RAM: file = %O, start = %S, size = $9600 - __STACKSIZE__ - %S;
RAM: file = %O, start = %S, size = __HIMEM__ - __STACKSIZE__ - %S;
MOVE: file = %O, define = yes, start = $0000, size = $FFFF;
LC: define = yes, start = __LCADDR__, size = __LCSIZE__;
}
Expand Down
48 changes: 0 additions & 48 deletions src/ld65/cfg/apple2enh-loader.cfg

This file was deleted.

3 changes: 2 additions & 1 deletion src/ld65/cfg/apple2enh.cfg
Expand Up @@ -5,6 +5,7 @@ FEATURES {
}
SYMBOLS {
__EXEHDR__: type = import;
__HIMEM__: type = weak, value = $9600; # Presumed RAM end
__LCADDR__: type = weak, value = $D400; # Behind quit code
__LCSIZE__: type = weak, value = $0C00; # Rest of bank two
__STACKSIZE__: type = weak, value = $0800; # 2k stack
Expand All @@ -15,7 +16,7 @@ SYMBOLS {
MEMORY {
ZP: define = yes, start = $0080, size = $001A;
HEADER: file = %O, start = $0000, size = $0004;
RAM: file = %O, start = %S, size = $9600 - __STACKSIZE__ - %S;
RAM: file = %O, start = %S, size = __HIMEM__ - __STACKSIZE__ - %S;
MOVE: file = %O, define = yes, start = $0000, size = $FFFF;
LC: define = yes, start = __LCADDR__, size = __LCSIZE__;
}
Expand Down

0 comments on commit f6ab932

Please sign in to comment.