Skip to content

Commit a1e5829

Browse files
committed
Set rc0; don't provide.
1 parent 9e3d93a commit a1e5829

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

mos-platform/atari8/link.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SECTIONS {
1414
* reasonably safe to use these.
1515
*/
1616

17-
PROVIDE(__rc0 = 0xcb);
17+
__rc0 = 0xcb;
1818
INCLUDE imag-regs.ld
1919
ASSERT(__rc0 == 0xcb, "Inconsistent zero page map.")
2020
ASSERT(__rc31 == 0xea, "Inconsistent zero page map.")

mos-platform/c64/link.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SECTIONS {
1919
}
2020

2121
/* Provide imaginary (zero page) registers in the BASIC area. */
22-
PROVIDE(__rc0 = 0x0002);
22+
__rc0 = 0x0002;
2323
INCLUDE imag-regs.ld
2424
ASSERT(__rc0 == 0x0002, "Inconsistent zero page map.")
2525
ASSERT(__rc31 == 0x0021, "Inconsistent zero page map.")

mos-platform/nes/nes-imag-regs.ld

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Provide imaginary (zero page) registers. */
2-
PROVIDE(__rc0 = 0x0000);
2+
__rc0 = 0x00;
33
INCLUDE imag-regs.ld
4-
ASSERT(__rc0 == 0x0000, "Inconsistent zero page map.")
5-
ASSERT(__rc31 == 0x001f, "Inconsistent zero page map.")
4+
ASSERT(__rc0 == 0x00, "Inconsistent zero page map.")
5+
ASSERT(__rc31 == 0x1f, "Inconsistent zero page map.")

mos-platform/sim/link.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SECTIONS {
1212
}
1313

1414
/* Provide imaginary (zero page) registers. */
15-
PROVIDE(__rc0 = 0x0000);
15+
__rc0 = 0x00;
1616
INCLUDE imag-regs.ld
1717
ASSERT(__rc0 == 0x0000, "Inconsistent zero page map.")
1818
ASSERT(__rc31 == 0x001f, "Inconsistent zero page map.")

0 commit comments

Comments
 (0)