mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-29 03:34:07 +00:00
Update progress script to account for boot handwritten asm
This commit is contained in:
parent
da151300f7
commit
bd9dff6b72
1 changed files with 6 additions and 16 deletions
22
progress.py
22
progress.py
|
@ -88,28 +88,18 @@ nonMatchingASMBoot = GetNonMatchingSize("asm/non_matchings/boot")
|
||||||
nonMatchingASMCode = GetNonMatchingSize("asm/non_matchings/code") + GetNonMatchingSize("asm/non_matchings/libultra_code")
|
nonMatchingASMCode = GetNonMatchingSize("asm/non_matchings/code") + GetNonMatchingSize("asm/non_matchings/libultra_code")
|
||||||
nonMatchingASMOvl = GetNonMatchingSize("asm/non_matchings/overlays")
|
nonMatchingASMOvl = GetNonMatchingSize("asm/non_matchings/overlays")
|
||||||
|
|
||||||
codeSize = 1004128 # 1.00mb
|
|
||||||
bootSize = 36752
|
|
||||||
#ovlSize = 3727584 # 3.727mb
|
|
||||||
ovlSize = 2812000 # .text section only
|
|
||||||
libultraSize = 40816 # This is temp
|
|
||||||
audioSize = 0 # This is temp
|
|
||||||
handwritten = 0 # This is temp
|
|
||||||
|
|
||||||
src -= nonMatchingASM
|
src -= nonMatchingASM
|
||||||
code -= nonMatchingASMCode
|
code -= nonMatchingASMCode
|
||||||
boot -= nonMatchingASMBoot
|
boot -= nonMatchingASMBoot
|
||||||
ovl -= nonMatchingASMOvl
|
ovl -= nonMatchingASMOvl
|
||||||
asm += nonMatchingASM
|
asm += nonMatchingASM
|
||||||
#print(nonMatchingASM)
|
|
||||||
|
|
||||||
#asm = asm - (libultra_size + audio_size + handwritten - boot_size - code_size - ovl_size)
|
bootSize = 30704 # decompilable code only
|
||||||
#asm = asm - (libultra_size + audio_size + handwritten)
|
codeSize = 1004128 # .text section except rsp bins (1.00mb)
|
||||||
#asm = -(libultra_size + audio_size + handwritten - boot_size - code_size - ovl_size)
|
ovlSize = 2812000 # .text sections
|
||||||
#asm += codeSize
|
handwritten = 5840 # boot only
|
||||||
#asm += bootSize
|
|
||||||
#asm += ovlSize
|
asm -= handwritten
|
||||||
#asm -= src
|
|
||||||
|
|
||||||
total = src + asm
|
total = src + asm
|
||||||
srcPct = 100 * src / total
|
srcPct = 100 * src / total
|
||||||
|
|
Loading…
Reference in a new issue