mirror of
https://github.com/cc65/cc65.git
synced 2025-08-13 08:25:28 +00:00
rename LOWDATA segment to LOWBSS
This commit is contained in:
@@ -33,10 +33,10 @@ MEMORY {
|
|||||||
# "main program" load chunk
|
# "main program" load chunk
|
||||||
MAINHDR: file = %O, start = $0000, size = $0004;
|
MAINHDR: file = %O, start = $0000, size = $0004;
|
||||||
RAM: file = %O, define = yes, start = %S +
|
RAM: file = %O, define = yes, start = %S +
|
||||||
__LOWDATA_SIZE__, size = $D000 -
|
__LOWBSS_SIZE__, size = $D000 -
|
||||||
__STACKSIZE__ -
|
__STACKSIZE__ -
|
||||||
%S -
|
%S -
|
||||||
__LOWDATA_SIZE__;
|
__LOWBSS_SIZE__;
|
||||||
|
|
||||||
# defines entry point into program
|
# defines entry point into program
|
||||||
TRAILER: file = %O, start = $0000, size = $0006;
|
TRAILER: file = %O, start = $0000, size = $0006;
|
||||||
@@ -56,7 +56,7 @@ SEGMENTS {
|
|||||||
SYSCHKTRL: load = SYSCHKTRL, type = ro, optional = yes;
|
SYSCHKTRL: load = SYSCHKTRL, type = ro, optional = yes;
|
||||||
|
|
||||||
SRPREPHDR: load = SRPREPHDR, type = ro;
|
SRPREPHDR: load = SRPREPHDR, type = ro;
|
||||||
LOWDATA: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREP and RAM
|
LOWBSS: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREPCHNK and RAM, not zero initialized
|
||||||
SRPREP: load = SRPREPCHNK, type = rw, define = yes;
|
SRPREP: load = SRPREPCHNK, type = rw, define = yes;
|
||||||
SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
|
SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
|
||||||
SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
|
SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
|
||||||
|
@@ -30,11 +30,11 @@ MEMORY {
|
|||||||
MAINHDR: file = %O, start = $0000, size = $0004;
|
MAINHDR: file = %O, start = $0000, size = $0004;
|
||||||
RAM: file = %O, define = yes, start = %S +
|
RAM: file = %O, define = yes, start = %S +
|
||||||
__OVERLAYSIZE__ +
|
__OVERLAYSIZE__ +
|
||||||
__LOWDATA_SIZE__, size = $D000 -
|
__LOWBSS_SIZE__, size = $D000 -
|
||||||
__STACKSIZE__ -
|
__STACKSIZE__ -
|
||||||
%S -
|
%S -
|
||||||
__OVERLAYSIZE__ -
|
__OVERLAYSIZE__ -
|
||||||
__LOWDATA_SIZE__;
|
__LOWBSS_SIZE__;
|
||||||
|
|
||||||
# defines entry point into program
|
# defines entry point into program
|
||||||
TRAILER: file = %O, start = $0000, size = $0006;
|
TRAILER: file = %O, start = $0000, size = $0006;
|
||||||
@@ -68,7 +68,7 @@ SEGMENTS {
|
|||||||
SYSCHKTRL: load = SYSCHKTRL, type = ro, optional = yes;
|
SYSCHKTRL: load = SYSCHKTRL, type = ro, optional = yes;
|
||||||
|
|
||||||
SRPREPHDR: load = SRPREPHDR, type = ro;
|
SRPREPHDR: load = SRPREPHDR, type = ro;
|
||||||
LOWDATA: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREP and RAM
|
LOWBSS: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREPCHNK and RAM, not zero initialized
|
||||||
SRPREP: load = SRPREPCHNK, type = rw, define = yes;
|
SRPREP: load = SRPREPCHNK, type = rw, define = yes;
|
||||||
SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
|
SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
|
||||||
SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM2, type = rw, define = yes, optional = yes;
|
SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM2, type = rw, define = yes, optional = yes;
|
||||||
|
@@ -28,10 +28,10 @@ MEMORY {
|
|||||||
# "main program" load chunk
|
# "main program" load chunk
|
||||||
MAINHDR: file = %O, start = $0000, size = $0004;
|
MAINHDR: file = %O, start = $0000, size = $0004;
|
||||||
RAM: file = %O, define = yes, start = %S +
|
RAM: file = %O, define = yes, start = %S +
|
||||||
__LOWDATA_SIZE__, size = $D000 -
|
__LOWBSS_SIZE__, size = $D000 -
|
||||||
__STACKSIZE__ -
|
__STACKSIZE__ -
|
||||||
%S -
|
%S -
|
||||||
__LOWDATA_SIZE__;
|
__LOWBSS_SIZE__;
|
||||||
|
|
||||||
# defines entry point into program
|
# defines entry point into program
|
||||||
TRAILER: file = %O, start = $0000, size = $0006;
|
TRAILER: file = %O, start = $0000, size = $0006;
|
||||||
@@ -54,7 +54,7 @@ SEGMENTS {
|
|||||||
SYSCHKTRL: load = SYSCHKTRL, type = ro, optional = yes;
|
SYSCHKTRL: load = SYSCHKTRL, type = ro, optional = yes;
|
||||||
|
|
||||||
SRPREPHDR: load = SRPREPHDR, type = ro;
|
SRPREPHDR: load = SRPREPHDR, type = ro;
|
||||||
LOWDATA: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREP and RAM
|
LOWBSS: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREPCHNK and RAM, not zero initialized
|
||||||
SRPREP: load = SRPREPCHNK, type = rw, define = yes;
|
SRPREP: load = SRPREPCHNK, type = rw, define = yes;
|
||||||
SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
|
SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
|
||||||
SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM2, type = rw, define = yes, optional = yes;
|
SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM2, type = rw, define = yes, optional = yes;
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
.export RAMTOP_save
|
.export RAMTOP_save
|
||||||
.export PORTB_save
|
.export PORTB_save
|
||||||
|
|
||||||
.segment "LOWDATA"
|
.segment "LOWBSS"
|
||||||
|
|
||||||
SAVMSC_save: .res 2
|
SAVMSC_save: .res 2
|
||||||
MEMTOP_save: .res 2
|
MEMTOP_save: .res 2
|
||||||
|
@@ -68,7 +68,7 @@ sram_init:
|
|||||||
zpptr1: .res 2
|
zpptr1: .res 2
|
||||||
|
|
||||||
|
|
||||||
.segment "LOWDATA"
|
.segment "LOWBSS"
|
||||||
|
|
||||||
; bounce buffers for CIO and SIO calls
|
; bounce buffers for CIO and SIO calls
|
||||||
bounce_buffer: .res BUFSZ_SIO
|
bounce_buffer: .res BUFSZ_SIO
|
||||||
|
Reference in New Issue
Block a user