mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-10 19:20:13 +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")
|
||||
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
|
||||
code -= nonMatchingASMCode
|
||||
boot -= nonMatchingASMBoot
|
||||
ovl -= nonMatchingASMOvl
|
||||
asm += nonMatchingASM
|
||||
#print(nonMatchingASM)
|
||||
|
||||
#asm = asm - (libultra_size + audio_size + handwritten - boot_size - code_size - ovl_size)
|
||||
#asm = asm - (libultra_size + audio_size + handwritten)
|
||||
#asm = -(libultra_size + audio_size + handwritten - boot_size - code_size - ovl_size)
|
||||
#asm += codeSize
|
||||
#asm += bootSize
|
||||
#asm += ovlSize
|
||||
#asm -= src
|
||||
bootSize = 30704 # decompilable code only
|
||||
codeSize = 1004128 # .text section except rsp bins (1.00mb)
|
||||
ovlSize = 2812000 # .text sections
|
||||
handwritten = 5840 # boot only
|
||||
|
||||
asm -= handwritten
|
||||
|
||||
total = src + asm
|
||||
srcPct = 100 * src / total
|
||||
|
|
Loading…
Reference in a new issue