mirror of https://github.com/n64decomp/007.git
start work on init, misc housekeeping in other areas
Former-commit-id: dfef3c8d695a0041ef9502c19b745897a35946b8 [formerly d287df34aa7c94804b667b592487d2b608563cc8] Former-commit-id: 8abcb3992457e2931a34116e6de123c665b6d350
This commit is contained in:
parent
b844230502
commit
16bad785bf
|
@ -1,10 +1,12 @@
|
||||||
arch n64.cpu
|
arch n64.cpu
|
||||||
endian msb
|
endian msb
|
||||||
output "GE007.n64", create
|
output "GE007.n64", create
|
||||||
fill $00c00000, $FF
|
|
||||||
include "lib/N64.INC"
|
include "lib/N64.INC"
|
||||||
origin $00000000
|
define romsize($C00000)
|
||||||
|
fill {romsize}, $FF
|
||||||
|
origin $00000000;rom_file_start:;rom_start:
|
||||||
|
include "code/bss.asm"
|
||||||
|
include "code/stack.asm"
|
||||||
include "rom/romheader.asm"
|
include "rom/romheader.asm"
|
||||||
include "code/boot.asm"
|
include "code/boot.asm"
|
||||||
include "rodata/rodata.rz.asm"
|
include "rodata/rodata.rz.asm"
|
||||||
|
@ -28,7 +30,9 @@ insert ob_end.seg, "ob/ob_end.seg", (origin() - $008f7de0)
|
||||||
|
|
||||||
include "images/images.asm"
|
include "images/images.asm"
|
||||||
|
|
||||||
include "code/bss.asm"
|
rom_end:;base {romsize};rom_file_end:
|
||||||
include "code/80300000.asm"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
9763d0432f371a62084e699615f219f674196364
|
efb384ef7cc4ce8e0e1a963396ea2c580d337a6e
|
|
@ -1 +1 @@
|
||||||
ce9e5f5497021e2435d5d023de4ceecac1c8a375
|
48cee3ccec613860f2337c13f3fd4d5ea574514f
|
|
@ -1,9 +1,11 @@
|
||||||
base $8005D2E0
|
base $8005D2E0
|
||||||
bss_start:
|
seg_bss_start:
|
||||||
|
|
||||||
base $8005D640
|
base $8005D640
|
||||||
mainthread:
|
mainthread:
|
||||||
|
|
||||||
base $8008E360
|
base $8008E360
|
||||||
bss_end:
|
seg_bss_end:
|
||||||
|
|
||||||
|
variable seg_bss_size(seg_bss_end-seg_bss_start)
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
base origin()
|
base origin()
|
||||||
rarezip_rom_start:
|
seg_rarezip_rom_start:
|
||||||
|
|
||||||
base $70200000
|
base $70200000
|
||||||
RareZip_vaddr:
|
seg_rarezip_vaddr_start:
|
||||||
|
|
||||||
base $7020141C
|
base $7020141C
|
||||||
decompressfile:
|
decompressfile:
|
||||||
|
|
||||||
insert binaryrarezipcode, "rarezip.bin", (origin() - $033590)
|
insert binaryrarezipcode, "rarezip.bin", (origin() - $033590)
|
||||||
|
|
||||||
|
seg_rarezip_vaddr_end:
|
||||||
base origin()
|
base origin()
|
||||||
rarezip_rom_end:
|
seg_rarezip_rom_end:
|
||||||
|
|
|
@ -4,6 +4,15 @@ decompression_buffer:
|
||||||
base $803AB400
|
base $803AB400
|
||||||
sp_boot:
|
sp_boot:
|
||||||
|
|
||||||
|
base $803AB3D0
|
||||||
|
sp_init:;scope sp_init {
|
||||||
|
define sp_init_s0($1C)
|
||||||
|
define sp_init_s1($20)
|
||||||
|
define sp_init_ra($24)
|
||||||
|
define rarezip_pos($28)
|
||||||
|
define rodata_pos($34)
|
||||||
|
}
|
||||||
|
|
||||||
base $803AB410
|
base $803AB410
|
||||||
sp_rmon:
|
sp_rmon:
|
||||||
|
|
|
@ -1,5 +1,13 @@
|
||||||
|
base origin()
|
||||||
|
seg_tlbcode_start:
|
||||||
base $7F000000
|
base $7F000000
|
||||||
tlb_code_start:
|
tlb_code_vaddr_start:
|
||||||
|
|
||||||
insert binarytlbcode, "tlb_code.bin", (origin() - $34B30)
|
insert binarytlbcode, "tlb_code.bin", (origin() - $34B30)
|
||||||
tlb_code_end:
|
|
||||||
|
tlb_code_vaddr_end:
|
||||||
|
base origin()
|
||||||
|
seg_tlbcode_end:
|
||||||
|
|
||||||
|
variable seg_tlbcode_size(seg_tlbcode_end-seg_tlbcode_start)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
base $80020D90
|
base $80020D90
|
||||||
rodata_start:
|
seg_rodata_vaddr_start:
|
||||||
|
|
||||||
base $80020D90
|
base $80020D90
|
||||||
rspcode_start:
|
rspcode_start:
|
||||||
|
@ -14,4 +14,4 @@ base $80023048
|
||||||
cart_hw_address:
|
cart_hw_address:
|
||||||
|
|
||||||
base $8005D2E0
|
base $8005D2E0
|
||||||
rodata_end:
|
seg_rodata_vaddr_end:
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
base origin()
|
base origin()
|
||||||
rodata_rom_start:
|
seg_rodata_rom_start:
|
||||||
|
|
||||||
include "rodata.inc"
|
include "rodata.inc"
|
||||||
insert rodata_rz, "021990.rz"
|
insert rodata_rz, "021990.rz"
|
||||||
|
|
||||||
insert padding,"pad_to_33590"
|
insert padding,"pad_to_33590"
|
||||||
|
|
||||||
base origin()
|
base origin()
|
||||||
rodata_rom_end:
|
seg_rodata_rom_end:
|
||||||
|
|
||||||
|
variable seg_rodata_rom_size(seg_rodata_rom_end-seg_rodata_rom_start)
|
||||||
|
|
Loading…
Reference in New Issue