mirror of https://github.com/n64decomp/007.git
some changes, build.sh now works
Former-commit-id: febd11b966cc3140c31670599fdec97a04484cca [formerly c083013cf58f1e48912c7feb0bfad6dea0381426] Former-commit-id: 1869438fe93ed738e232a177518aff4f289667a2
This commit is contained in:
parent
fe9d9de347
commit
32346fe5e1
|
@ -1 +1 @@
|
||||||
e78580f2cfe0bc3d361d3e1a7b62967efb6d9c0a
|
2c5242b4d473799023fbf98dcb23fd3c751f0849
|
|
@ -0,0 +1,15 @@
|
||||||
|
#make and compress resources
|
||||||
|
cd ob
|
||||||
|
./make_text_rz.sh
|
||||||
|
cd ../
|
||||||
|
|
||||||
|
#build and compress rodata
|
||||||
|
cd rodata
|
||||||
|
./make_rodata_rz.sh
|
||||||
|
cd ../
|
||||||
|
|
||||||
|
#third package the rom
|
||||||
|
bass -sym GE007.sym GE007.rom.asm
|
||||||
|
|
||||||
|
vbindiff ./GE007.n64 ~/n64/007\ -\ GoldenEye.z64
|
||||||
|
|
|
@ -1,32 +1,32 @@
|
||||||
base $8005D2E0
|
constant seg_bss_start($8005D2E0)
|
||||||
seg_bss_start:
|
|
||||||
|
|
||||||
base $8005D2E0
|
|
||||||
rmonthread:
|
|
||||||
|
|
||||||
base $8005D490
|
constant rmonthread($8005D2E0)
|
||||||
idlethread:
|
|
||||||
|
|
||||||
base $8005D640
|
|
||||||
mainthread:
|
|
||||||
|
|
||||||
base $8005D7F0
|
constant idlethread($8005D490)
|
||||||
shedthread:
|
|
||||||
|
|
||||||
base $8005E530
|
|
||||||
audithread:
|
|
||||||
|
|
||||||
base $80060C90
|
constant mainthread($8005D640)
|
||||||
debugthread:
|
|
||||||
|
|
||||||
base $80068DF0
|
|
||||||
__osBaseTimer:
|
|
||||||
|
|
||||||
base $80069170
|
constant shedthread($8005D7F0)
|
||||||
bss_80069170:
|
|
||||||
|
|
||||||
|
constant audithread($8005E530)
|
||||||
|
|
||||||
|
|
||||||
|
constant debugthread($80060C90)
|
||||||
|
|
||||||
|
|
||||||
|
constant __osBaseTimer($80068DF0)
|
||||||
|
|
||||||
|
|
||||||
|
constant bss_80069170($80069170)
|
||||||
|
|
||||||
|
|
||||||
|
constant seg_bss_end($8008E360)
|
||||||
|
|
||||||
base $8008E360
|
|
||||||
seg_bss_end:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
|
|
||||||
base $80300000
|
constant seg_sp_start($80300000)
|
||||||
seg_sp_start:
|
|
||||||
decompression_buffer:
|
|
||||||
|
|
||||||
base $803AB400
|
constant decompression_buffer(seg_sp_start+$0)
|
||||||
sp_boot:
|
|
||||||
|
|
||||||
base $803AB3D0
|
constant sp_init(seg_sp_start+$AB3D0)
|
||||||
sp_init:;scope sp_init {
|
scope sp_init {
|
||||||
define sp_init_s0($1C)
|
define sp_init_s0($1C)
|
||||||
define sp_init_s1($20)
|
define sp_init_s1($20)
|
||||||
define sp_init_ra($24)
|
define sp_init_ra($24)
|
||||||
|
@ -15,21 +12,24 @@ define rarezip_pos($28)
|
||||||
define rodata_pos($34)
|
define rodata_pos($34)
|
||||||
}
|
}
|
||||||
|
|
||||||
base $803AB410
|
constant sp_boot(seg_sp_start+$AB400)
|
||||||
sp_rmon:
|
|
||||||
|
|
||||||
base $803AB710
|
|
||||||
sp_idle:
|
|
||||||
|
|
||||||
base $803AB750
|
constant sp_rmon(sp_boot+$10) //$ab410
|
||||||
sp_shed:
|
|
||||||
|
|
||||||
base $803AB950
|
|
||||||
sp_main:
|
|
||||||
|
|
||||||
base $803B3950
|
constant sp_idle(sp_rmon+$300) //$ab710
|
||||||
sp_audi:
|
|
||||||
|
|
||||||
base $803B4950
|
|
||||||
sp_unknown:
|
constant sp_shed(sp_idle+$40) //$ab750
|
||||||
seg_sp_end:
|
|
||||||
|
|
||||||
|
constant sp_main(sp_shed+$200) //$ab950
|
||||||
|
|
||||||
|
|
||||||
|
constant sp_audi(sp_main+$8000) //$b3950
|
||||||
|
|
||||||
|
|
||||||
|
constant sp_unknown(sp_audi+$1000) //$b4950
|
||||||
|
|
||||||
|
//seg_sp_end:
|
||||||
|
|
|
@ -3,7 +3,7 @@ variable seg_rarezip_rom_size(seg_rarezip_rom_end-seg_rarezip_rom_start)
|
||||||
variable seg_bss_size(seg_bss_end-seg_bss_start)
|
variable seg_bss_size(seg_bss_end-seg_bss_start)
|
||||||
variable seg_tlbcode_rom_size(seg_tlbcode_rom_end-seg_tlbcode_rom_start)
|
variable seg_tlbcode_rom_size(seg_tlbcode_rom_end-seg_tlbcode_rom_start)
|
||||||
variable seg_rodata_rom_size(seg_rodata_rom_end-seg_rodata_rom_start)
|
variable seg_rodata_rom_size(seg_rodata_rom_end-seg_rodata_rom_start)
|
||||||
variable seg_sp_start(seg_sp_end-seg_sp_start)
|
//variable seg_sp_size(seg_sp_end-seg_sp_start)
|
||||||
|
|
||||||
macro getaddresstoregister(address, reg) {
|
macro getaddresstoregister(address, reg) {
|
||||||
define return({reg}) //what register to return in
|
define return({reg}) //what register to return in
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1118032a62e1015604dac221ab3171edd4ff2d48
|
783312b367019dd06da992930d46120b44eb4168
|
|
@ -1 +1 @@
|
||||||
f83f7bb2c23e8134d4c2a7acdc7f7b86da417a25
|
f8bd8c4316f78a353ce23271c3042e200a437118
|
|
@ -1 +1 @@
|
||||||
073133a4f3bcbc763573527c561dbdd5223cbbea
|
d256448e8a838b43c9a1763436440bbe88aaf295
|
|
@ -1 +1 @@
|
||||||
6aec55d3c77a15b0b8ae4bca0baafe8d7b615c98
|
0b1d4b440afe44ef2154ae284904771036b88590
|
|
@ -1 +1 @@
|
||||||
40709a7e7e94ce8a81720644ce7f33b038b24ad5
|
e791ed10859e6bb4c8bc4f6ecdffcbb24d90d93e
|
Binary file not shown.
|
@ -1,18 +0,0 @@
|
||||||
arch n64.cpu
|
|
||||||
endian msb
|
|
||||||
include "../../lib/N64.INC"
|
|
||||||
output "LlenE.bin", create
|
|
||||||
|
|
||||||
base $00000000
|
|
||||||
seg_LlenE_start:
|
|
||||||
seg_LlenE_header_start:
|
|
||||||
|
|
||||||
ptr_seg_LlenE_start:
|
|
||||||
dw seg_LlenE_start
|
|
||||||
|
|
||||||
seg_LlenE_header_end:
|
|
||||||
seg_LlenE_strings_start:
|
|
||||||
|
|
||||||
seg_LlenE_strings_end:
|
|
||||||
seg_LlenE_end:
|
|
||||||
align(32)
|
|
|
@ -0,0 +1 @@
|
||||||
|
47a77a21d6ee66174469f75871943ac03ae21bb3
|
|
@ -1,7 +0,0 @@
|
||||||
define seg_LlenE_start($00000000)
|
|
||||||
define seg_LlenE_header_start($00000000)
|
|
||||||
define ptr_seg_LlenE_start($00000000)
|
|
||||||
define seg_LlenE_header_end($00000004)
|
|
||||||
define seg_LlenE_strings_start($00000004)
|
|
||||||
define seg_LlenE_strings_end($00000004)
|
|
||||||
define seg_LlenE_end($00000004)
|
|
|
@ -0,0 +1 @@
|
||||||
|
bb4cf31ccf3c2777a5cffacf4e2e74a374605c23
|
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
6fc2350a53ad73ce83c8da45282d4e08dfba09de
|
|
@ -1 +1 @@
|
||||||
334236f29495da92dbd467831e60b5939882211b
|
427767d34d1aea72c5adc54c9314094ed254fbc3
|
|
@ -1 +1 @@
|
||||||
e1de06d2c23b736d5848505b34e73f2365a79508
|
af93cc4fcb2e09df2a225bec4e081cb18c41eb2b
|
|
@ -0,0 +1,17 @@
|
||||||
|
bass -sym rodata.sym rodata.asm
|
||||||
|
cat rodata.bin| gzip --no-name --best | tail --bytes=+11 | head --bytes=-8 > rodata.rz
|
||||||
|
#vbindiff rodata.rz 021990.rz
|
||||||
|
rm rodata.inc
|
||||||
|
|
||||||
|
#declare -i LINENUM=1
|
||||||
|
while read CURRENTLINE ; do
|
||||||
|
#let "LINENUM += 1"
|
||||||
|
OFFSET=$(echo "$CURRENTLINE" | cut -d " " -f1)
|
||||||
|
NAME=$(echo "$CURRENTLINE" | cut -d " " -f2)
|
||||||
|
echo "constant "$NAME"($"$OFFSET")" >> rodata.inc
|
||||||
|
done <"rodata.sym"
|
||||||
|
|
||||||
|
#echo "include \"rodata.inc\"" >>$DIRNAME.inc
|
||||||
|
|
||||||
|
rm rodata.sym
|
||||||
|
#rm rodata.bin
|
|
@ -1 +1 @@
|
||||||
fb3e3bb061531bbdc6920121530b0a4d8cd6b944
|
8db41d4484cb4eb126e9932cf383f1013358f035
|
|
@ -1,17 +0,0 @@
|
||||||
base $80020D90
|
|
||||||
seg_rodata_vaddr_start:
|
|
||||||
|
|
||||||
base $80020D90
|
|
||||||
rspcode_start:
|
|
||||||
|
|
||||||
base $8002303C
|
|
||||||
rspcode_end:
|
|
||||||
|
|
||||||
base $80023044
|
|
||||||
rodata_80023044:
|
|
||||||
|
|
||||||
base $80023048
|
|
||||||
cart_hw_address:
|
|
||||||
|
|
||||||
base $8005D2E0
|
|
||||||
seg_rodata_vaddr_end:
|
|
|
@ -0,0 +1 @@
|
||||||
|
a94969199bab6872f5006abc9d4045336d420985
|
|
@ -0,0 +1 @@
|
||||||
|
8dbdb4503e9ecca4e06acdc0ca5b93dd8e30ef39
|
|
@ -2,9 +2,11 @@ base origin()
|
||||||
seg_rodata_rom_start:
|
seg_rodata_rom_start:
|
||||||
|
|
||||||
include "rodata.inc"
|
include "rodata.inc"
|
||||||
insert rodata_rz, "021990.rz"
|
//insert rodata_rz, "021990.rz"
|
||||||
|
dh $1172;insert rodata_rz, "rodata.rz"
|
||||||
|
|
||||||
insert padding,"pad_to_33590"
|
align(0x33590)
|
||||||
|
//insert padding,"pad_to_33590"
|
||||||
|
|
||||||
base origin()
|
base origin()
|
||||||
seg_rodata_rom_end:
|
seg_rodata_rom_end:
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
b85e7abd8cbd1051e8bd1ed37346d455b4cddb28
|
|
Loading…
Reference in New Issue