mirror of https://github.com/n64decomp/007.git
some more labeling, add some macros
Former-commit-id: a0e66d353da10f9f8a23b09a720ca3602d567b10 [formerly 5b501aa45ee4c28c84a85047f156e387923de7ef] [formerly 1da19f922961ed77e773dea01963d282bce1c9a9 [formerly fe941d9413dc028168c5b123d541f08d4f38c1d9]] Former-commit-id: bc3396186f9ca56eca49d6fed1d1527563e550c4 [formerly a2eea53fec78147e499896c8a00ace7e73afba60] Former-commit-id: deff51f2acb748e2bf857d50c1a77c9d649e0d22
This commit is contained in:
parent
cecc6ce0ba
commit
adee6f4d2f
|
@ -0,0 +1,38 @@
|
|||
# Goldeneye 007 (U) disassembly and split file
|
||||
# generated by n64split v0.4a - N64 ROM splitter
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macros.inc"
|
||||
|
||||
.include "src/header.s"
|
||||
.include "src/entry.s"
|
||||
.include "src/code.s"
|
||||
|
||||
.section .c_data, "a"
|
||||
Compressedrodata:
|
||||
# make a hole for when we compress .data segment
|
||||
.space 0x11C00
|
||||
Compressedrodata_end:
|
||||
|
||||
.include "src/rarezip.s"
|
||||
.include "src/tlbcode.s"
|
||||
.include "bin/romfiles.s"
|
||||
.include "ramrom/ramrom.s"
|
||||
.include "font/font.s"
|
||||
.include "music/music.s"
|
||||
.include "obseg/ob_seg.s"
|
||||
.include "images/images.s"
|
||||
|
||||
# PADDING region BE6D10-C00000 [192F0]
|
||||
.space 0x192F0, 0xFF
|
||||
|
||||
.include "src/data.s"
|
||||
.include "src/bss.s"
|
||||
.include "src/buffers.s"
|
||||
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
d7fdfbb50318016feb8ea6b238a257940674758e
|
|
@ -0,0 +1,20 @@
|
|||
.macro get_value name, value
|
||||
get_\name:
|
||||
lui $v0, %hi(\value)
|
||||
jr $ra
|
||||
addiu $v0, $v0, %lo(\value)
|
||||
.endm
|
||||
|
||||
.macro jump_via_reg location, register=$a3
|
||||
jump_\location:
|
||||
lui \register, %hi(\location)
|
||||
addiu \register, \register, %lo(\location)
|
||||
jr \register
|
||||
nop
|
||||
.endm
|
||||
|
||||
|
||||
.macro debug_handler_table_entry sp, string
|
||||
.word \sp
|
||||
.word \string
|
||||
.endm
|
|
@ -1 +1 @@
|
|||
73d3873bf4e2ae98c301302dd6d1b63953667182
|
||||
a4ceb469053ac4efd66cb0f157ababee045581ea
|
|
@ -1 +1 @@
|
|||
e9d5d918b2e50ec94ef3cabdf723b50978003d38
|
||||
cd9ca7879c25b807a81c06f40f9e55a009f319e1
|
Loading…
Reference in New Issue