Skip to content

Commit 2d9f455

Browse files
committed
change chr loading from $c000 to $a000
1 parent 966f3ce commit 2d9f455

File tree

17 files changed

+760
-40
lines changed

17 files changed

+760
-40
lines changed

link.ld

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
INCLUDE common.ld
22
INCLUDE c-in-ram.ld
3+
4+
__prg_rom_32 = 0xa000;
5+
__prg_rom_33 = 0xa000;
6+
__prg_rom_34 = 0xa000;
7+
__prg_rom_35 = 0xa000;
8+
__prg_rom_36 = 0xa000;
9+
__prg_rom_37 = 0xa000;
10+
__prg_rom_38 = 0xa000;
11+
__prg_rom_39 = 0xa000;
12+
313
INCLUDE prg-rom-banked-mode-1.ld

sauce/graphics/menus/level select.nss

Lines changed: 618 additions & 0 deletions
Large diffs are not rendered by default.

src/assets.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "assets.h"
2-
2+
//__attribute__((leaf)) __asm__ (
3+
// ".org $a000 \n"
4+
// );
35
file(chr_font, chr_bank_0) = {
46
#embed "./chr/dnt/Font.bin"
57
};

src/assets.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
#define file(symbol, bank) __attribute__((section((".prg_rom_"STR(bank))),retain)) const uint8_t symbol[]
1010

11+
12+
13+
14+
15+
1116
// LEVELS
1217
// banks 0-31 are reserved for level data.
1318

src/chr/dnt/Menu_Buttons.bin

50 Bytes
Binary file not shown.

src/chr/dnt/Menu_Difficulties.bin

35 Bytes
Binary file not shown.

src/chr/dnt/Menu_Global.bin

-20 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)