diff --git a/ge007.u.s b/ge007.u.s new file mode 100644 index 0000000..9e3b7a9 --- /dev/null +++ b/ge007.u.s @@ -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" + + + diff --git a/ge007.u.s.REMOVED.git-id b/ge007.u.s.REMOVED.git-id deleted file mode 100644 index 20ce4f1..0000000 --- a/ge007.u.s.REMOVED.git-id +++ /dev/null @@ -1 +0,0 @@ -d7fdfbb50318016feb8ea6b238a257940674758e \ No newline at end of file diff --git a/macros.inc b/macros.inc new file mode 100644 index 0000000..03d4b0c --- /dev/null +++ b/macros.inc @@ -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 diff --git a/src/code.s.REMOVED.git-id b/src/code.s.REMOVED.git-id index 76fc61a..c2d73a2 100644 --- a/src/code.s.REMOVED.git-id +++ b/src/code.s.REMOVED.git-id @@ -1 +1 @@ -73d3873bf4e2ae98c301302dd6d1b63953667182 \ No newline at end of file +a4ceb469053ac4efd66cb0f157ababee045581ea \ No newline at end of file diff --git a/src/data.s.REMOVED.git-id b/src/data.s.REMOVED.git-id index 643e00d..2e6522a 100644 --- a/src/data.s.REMOVED.git-id +++ b/src/data.s.REMOVED.git-id @@ -1 +1 @@ -e9d5d918b2e50ec94ef3cabdf723b50978003d38 \ No newline at end of file +cd9ca7879c25b807a81c06f40f9e55a009f319e1 \ No newline at end of file