mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 04:52:34 +01:00
a4e1c2f522
* fix vscode cpp extension messing with files.associations * move stuff * it builds! * symlink papermario.us.z64 * ci: put baserom in right place * add jp * fix splat dir * ignore starrod dump * .s deps * update jenkins * add dsl back * configure.py versions * wups * fine ethan * fix paths * configure: default to only the version(s) with existing baseroms * fix coverage * fix progress.py * progress.py verisoning * remove format.sh from CONTRIBUTING * update CONTRIBUTING * fix first_diff * diff.py: use ver/current/ * update splat.yaml * trying to fix subrepo * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "06a737f02d" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "06a737f02d" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * configure fix * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "41786effd3" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "41786effd3" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" Co-authored-by: Ethan Roseman <ethteck@gmail.com>
31 lines
1.3 KiB
ArmAsm
31 lines
1.3 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel osVirtualToPhysical
|
|
/* 3D290 80061E90 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 3D294 80061E94 3C031FFF */ lui $v1, 0x1fff
|
|
/* 3D298 80061E98 3463FFFF */ ori $v1, $v1, 0xffff
|
|
/* 3D29C 80061E9C 3C028000 */ lui $v0, 0x8000
|
|
/* 3D2A0 80061EA0 00821023 */ subu $v0, $a0, $v0
|
|
/* 3D2A4 80061EA4 0062102B */ sltu $v0, $v1, $v0
|
|
/* 3D2A8 80061EA8 1040000A */ beqz $v0, .L80061ED4
|
|
/* 3D2AC 80061EAC AFBF0010 */ sw $ra, 0x10($sp)
|
|
/* 3D2B0 80061EB0 3C026000 */ lui $v0, 0x6000
|
|
/* 3D2B4 80061EB4 00821021 */ addu $v0, $a0, $v0
|
|
/* 3D2B8 80061EB8 0062102B */ sltu $v0, $v1, $v0
|
|
/* 3D2BC 80061EBC 10400006 */ beqz $v0, .L80061ED8
|
|
/* 3D2C0 80061EC0 00831024 */ and $v0, $a0, $v1
|
|
/* 3D2C4 80061EC4 0C019A18 */ jal osProbeTLB
|
|
/* 3D2C8 80061EC8 00000000 */ nop
|
|
/* 3D2CC 80061ECC 080187B6 */ j .L80061ED8
|
|
/* 3D2D0 80061ED0 00000000 */ nop
|
|
.L80061ED4:
|
|
/* 3D2D4 80061ED4 00831024 */ and $v0, $a0, $v1
|
|
.L80061ED8:
|
|
/* 3D2D8 80061ED8 8FBF0010 */ lw $ra, 0x10($sp)
|
|
/* 3D2DC 80061EDC 03E00008 */ jr $ra
|
|
/* 3D2E0 80061EE0 27BD0018 */ addiu $sp, $sp, 0x18
|
|
/* 3D2E4 80061EE4 00000000 */ nop
|
|
/* 3D2E8 80061EE8 00000000 */ nop
|
|
/* 3D2EC 80061EEC 00000000 */ nop
|