use cache-through addresses

This commit is contained in:
Zack Buhman 2023-01-25 15:58:40 -08:00
parent 102304e841
commit 0a26d755c9
2 changed files with 9 additions and 8 deletions

View File

@ -98,7 +98,7 @@ sys_ip.elf: $(SYS_IP_OBJ)
@echo " INDEX 01 00:00:00" >> $@ @echo " INDEX 01 00:00:00" >> $@
clean: clean:
rm -f *.iso *.o *.bin *.elf rm -f *.iso *.o *.bin *.elf *.cue
.SUFFIXES: .SUFFIXES:
.INTERMEDIATE: .INTERMEDIATE:

15
sh2.lds
View File

@ -13,6 +13,7 @@ SECTIONS
{ {
*(.text.start) *(.text.start)
*(.text*) *(.text*)
*(.text.*)
} > work_ram_h } > work_ram_h
.data ALIGN(4) : SUBALIGN(4) .data ALIGN(4) : SUBALIGN(4)
@ -34,11 +35,11 @@ SECTIONS
__bss_link_end = ADDR(.bss) + SIZEOF(.bss); __bss_link_end = ADDR(.bss) + SIZEOF(.bss);
} }
smpc = 0x00100000; smpc = 0x20100000;
cdb = 0x05890000; cdb = 0x25890000;
scsp = 0x05A00000; scsp = 0x25A00000;
vdp1 = 0x05C00000; vdp1 = 0x25C00000;
vdp2 = 0x05E00000; vdp2 = 0x25E00000;
scu = 0x05FE0000; scu = 0x25FE0000;
sh2_vec = 0x06000000; sh2_vec = 0x26000000;
sh2 = 0xfffffe00; sh2 = 0xfffffe00;