Commit graph

  • fdbb746053
    Merge 9f9d0b532d into 989a86b369 MelonSpeedruns 2025-05-07 09:29:11 -04:00
  • 9f9d0b532d Fixed path for additional files MelonSpeedruns 2025-05-07 09:29:10 -04:00
  • 3dfd9814de Fixed paths with spaces not being able to compress properly. MelonSpeedruns 2025-05-07 09:25:53 -04:00
  • c8a179746d
    Merge 0cd1440f13 into 989a86b369 Rucadi 2025-03-03 22:48:40 +00:00
  • a275e29379
    Merge dbff802ad0 into 989a86b369 Ikko Eltociear Ashimine 2025-03-03 15:11:55 -03:00
  • ed043be57d
    typo Frédéric Mahé 2025-03-03 18:47:39 +01:00
  • 1861b225bb
    Merge 91be352ee0 into 989a86b369 Ethan Lafrenais 2025-02-28 16:05:36 -08:00
  • f18a17af22
    Merge 34db152266 into 989a86b369 LittleCube 2025-02-28 00:13:48 -05:00
  • 34db152266 fix passing no args LittleCube 2025-02-28 00:11:04 -05:00
  • 5677a4c654
    Merge b0cdff8733 into 989a86b369 Rainchus 2025-02-27 16:01:55 -06:00
  • b0cdff8733 add dmtc1 and dmfc1 to recompiler Rainchus 2025-02-27 16:00:49 -06:00
  • 57b26efe38 Merge branch 'main' of https://github.com/N64Recomp/N64Recomp Rainchus 2025-02-27 16:00:04 -06:00
  • 989a86b369
    Make osPiReadIo no longer ignored (#133) main mod-tool-release Rainchus 2025-02-27 15:58:59 -06:00
  • 9d04698fef remove added dmtc1/dmfc1 functionality Rainchus 2025-02-27 15:55:56 -06:00
  • 99ca32baf8 make osPiReadIo no longer ignored Rainchus 2025-02-27 15:52:07 -06:00
  • d660733116
    Implement reloc pairing GNU extension (#131) Wiseguy 2025-02-13 18:20:48 -05:00
  • d24c8dd8a3 Implement reloc pairing GNU extension Mr-Wiseguy 2025-02-13 02:30:46 -05:00
  • 8781eb44ac
    Add a mechanism to provide original section indices for jump table regeneration (#130) Wiseguy 2025-02-11 22:36:33 -05:00
  • b3abbff5b4 Add a mechanism to provide original section indices for jump table regeneration Mr-Wiseguy 2025-02-11 22:30:04 -05:00
  • be65d37760
    Added config option parsing for mod toml and populate them in the mod manifest (#129) Wiseguy 2025-01-31 02:36:33 -05:00
  • 6e7f0ae7c0 Added config option parsing for mod toml and populate them in the mod manifest Mr-Wiseguy 2025-01-31 02:32:25 -05:00
  • 2af6f2d161
    Implement shim function generation (#128) Wiseguy 2025-01-30 23:48:20 -05:00
  • 8e0bade40c Implement shim function generation Mr-Wiseguy 2025-01-30 23:44:59 -05:00
  • 198de1b5cf
    Move handling of HI16/LO16 relocs for non-relocatable reference sections into elf parsing by patching the output binary (fixes patch regeneration) (#127) Wiseguy 2025-01-30 02:54:27 -05:00
  • ee0f5b4f0a Move handling of HI16/LO16 relocs for non-relocatable reference sections into elf parsing by patching the output binary (fixes patch regeneration) Mr-Wiseguy 2025-01-30 02:40:59 -05:00
  • b18e0ca2dd
    Fix function signature for RSP microcodes that don't have overlays (#126) Wiseguy 2025-01-26 22:32:15 -05:00
  • 4d6af9e539 Fix function signature for RSP microcodes that don't have overlays Mr-Wiseguy 2025-01-26 22:31:04 -05:00
  • b2d07ecd5a
    Renamed mod manifest to mod.json, added display_name, description, short_description fields (#125) Wiseguy 2025-01-26 21:57:00 -05:00
  • 38df8e3ddc
    Mod function hooking (#124) Wiseguy 2025-01-26 21:52:46 -05:00
  • 9a07e135e5 Renamed mod manifest to mod.json, added display_name, description, short_description fields Mr-Wiseguy 2025-01-26 19:10:27 -05:00
  • cb2a5487e2 Fix sign extension issue with mfc1, add TODO for banker's rounding Mr-Wiseguy 2025-01-25 21:17:55 -05:00
  • e2e5b349b4 Fix which relocs were being emitted for patch sections Mr-Wiseguy 2025-01-25 21:17:19 -05:00
  • 3a37b4503d Add manual patch symbols (syms.ld) to the output overlay file and relocs Mr-Wiseguy 2025-01-23 02:48:48 -05:00
  • bccc4990b4 Include R_MIPS_26 relocs in symbol file dumping/parsing Mr-Wiseguy 2025-01-23 01:33:24 -05:00
  • 5dce42d07e Include relocs in overlay data Mr-Wiseguy 2025-01-20 15:41:33 -05:00
  • 8641508cd3 Add an option to the context to force function lookup for all non-relocated function calls Mr-Wiseguy 2025-01-09 01:56:43 -05:00
  • f09031e84e Add support for function hooks in live generator Mr-Wiseguy 2025-01-05 14:51:53 -05:00
  • c9e082d574 Add function sizes to section function tables Mr-Wiseguy 2025-01-05 02:05:23 -05:00
  • 985c02e979 Add function hooks to mod symbol format Mr-Wiseguy 2025-01-05 02:05:06 -05:00
  • 91be352ee0
    Also apply reimplemented_funcs and ignored_funcs Ethan Lafrenais 2025-01-16 01:00:31 -05:00
  • 37dabfb295
    Apply renamed_funcs to reference symbols Ethan Lafrenais 2025-01-16 01:00:31 -05:00
  • 36b5d9ae33
    PIC Jump Table Support (#120) Ethan Lafrenais 2025-01-16 00:40:50 -05:00
  • 916d16417e
    RSPRecomp overlay support (#118) Ethan Lafrenais 2025-01-16 00:32:29 -05:00
  • 4a186ec8b5
    Change overlay_slot.offset config to text_address Ethan Lafrenais 2025-01-13 00:16:26 -05:00
  • cf29be0942
    Merge remote-tracking branch 'forkof/main' into rsp-overlay-support Ethan Lafrenais 2025-01-13 00:03:08 -05:00
  • 875ea3f584
    Rename gp to got in various places to better reflect what's actually going on Ethan Lafrenais 2025-01-12 23:50:16 -05:00
  • 361568071a
    Merge remote-tracking branch 'forkof/main' into pic-jump-table Ethan Lafrenais 2025-01-12 23:33:50 -05:00
  • 331217ab98
    Merge branch 'main' into pic-jump-table Ethan Lafrenais 2025-01-12 22:55:46 -05:00
  • 53ffee96fd
    Add ldl, ldr, sdl, sdr implementations (#119) Ethan Lafrenais 2025-01-12 22:43:46 -05:00
  • f81082c38e
    Add ldl, ldr, sdl, sdr implementations Ethan Lafrenais 2025-01-12 00:03:49 -05:00
  • 237395ed13
    RSPRecomp overlay support Ethan Lafrenais 2025-01-11 15:56:34 -05:00
  • 49bf144b0d
    Add TRACE_RETURN (#117) LittleCube 2025-01-04 22:10:29 -05:00
  • cea014e99b add indentation for return; line LittleCube 2025-01-04 22:06:39 -05:00
  • 351482e9c6
    Fix TRACE_ENTRY and move function_sizes (#112) LittleCube 2025-01-04 21:49:31 -05:00
  • 75a9a58a80 add TRACE_RETURN LittleCube 2025-01-04 21:41:44 -05:00
  • 6dafc108f3
    Skip internal symbols when dumping context (#116) Wiseguy 2025-01-02 20:50:46 -05:00
  • 8d9e9ad4af Skip internal symbols when dumping context Mr-Wiseguy 2025-01-02 20:44:58 -05:00
  • fc696046da
    Fix some calling convention issues with the live recompiler (#115) Wiseguy 2024-12-31 19:12:54 -05:00
  • fe048e9c08 Fix some calling convention issues with the live recompiler Mr-Wiseguy 2024-12-31 19:09:01 -05:00
  • 66062a06e9
    Implement live recompiler (#114) Wiseguy 2024-12-31 16:11:40 -05:00
  • 22b75679bb Change generated recomp.h include to account for the header being moved into this repo Mr-Wiseguy 2024-12-29 20:36:38 -05:00
  • f3e0d9bbd7 Rename F32 and F64 compare operations to Float and Double for consistency with other operations Mr-Wiseguy 2024-12-29 20:35:34 -05:00
  • 8c89f01df6 Restore ability to call static functions by name in C generator Mr-Wiseguy 2024-12-29 19:52:14 -05:00
  • f09587bf1f Properly handle relocated jump tables in the live recompiler Mr-Wiseguy 2024-12-29 19:07:47 -05:00
  • 75f2abdb7d (Live recompiler) Add dedicated float compare operations, fix switch case handling with multiple functions, add reference symbol handling, other misc fixes Mr-Wiseguy 2024-12-29 17:44:44 -05:00
  • 3672805121 Implemented unaligned stores in live generator, begin improving error handling in live generator Mr-Wiseguy 2024-12-18 02:49:57 -05:00
  • aa765c435f Implement relocations in live recompiler Mr-Wiseguy 2024-12-11 21:32:44 -05:00
  • 9fa9adbe3a Implement float operations for live generator, switch to native rounding mode for cop1 cs, fix 128-bit typedef errors Mr-Wiseguy 2024-12-10 17:47:38 -05:00
  • 8b019567bc Add doubleword support to recomp.h (#107) Tharo 2024-11-22 00:21:25 +00:00
  • c6d7eae742 Add support for cop1 writes and reads to live recompiler, WIP relocation support Mr-Wiseguy 2024-11-10 17:51:17 -05:00
  • cc5294efa4 Implement switch statements and special function calls (break, syscall, trigger event) in live recompiler Mr-Wiseguy 2024-10-13 01:47:39 -04:00
  • 4a44e2b4c0 Fixed divu sign extension in live recompiler and fixed warnings Mr-Wiseguy 2024-10-12 13:30:07 -04:00
  • dc2a5b6a46 Implement indirect calls and fix signed branch conditions in live recompiler Mr-Wiseguy 2024-10-07 21:39:39 -04:00
  • 898de82da7 Implemented calling internal functions in live recompiler, added bltzal/bltzall to branch operations Mr-Wiseguy 2024-10-07 00:15:11 -04:00
  • b7abe0ac4e Fix shifts and implement integer multiply and divide instructions in live generator Mr-Wiseguy 2024-10-05 22:40:23 -04:00
  • a6c81e37df Add WIP live recompiler for mods (direct machine code output) Mr-Wiseguy 2024-10-04 02:32:33 -04:00
  • 1aa4ad6518 Reorganized headers and add recomp.h from modern runtime Mr-Wiseguy 2024-10-04 01:52:33 -04:00
  • adaca23f09 Remove luajit backend Mr-Wiseguy 2024-10-03 01:56:15 -04:00
  • c7543aa99b Split Negate operation into NegateFloat and NegateDouble, added support for custom recompiler backends Mr-Wiseguy 2024-10-02 23:05:39 -04:00
  • 772c1d0252 Removed output file from generator signatures, implement some of the luajit generator Mr-Wiseguy 2024-09-29 17:17:05 -04:00
  • 8e9c182689 Fixed pair of bugs with float compare flag that cancelled each other out Mr-Wiseguy 2024-09-29 02:18:20 -04:00
  • ef319b1aad Add LuajitGenerator class Mr-Wiseguy 2024-09-29 01:02:46 -04:00
  • 46ab6f758d Moved remaining instruction processing text generation into Generator class Mr-Wiseguy 2024-09-28 23:58:25 -04:00
  • 0e578a19b1 make formatting for if-else more consistent LittleCube 2024-12-27 18:47:31 -05:00
  • 71eca4b045 fix typo LittleCube 2024-12-26 23:18:29 -05:00
  • a6a927f70d preserve error checking from old get_func_sizes LittleCube 2024-12-26 19:38:55 -05:00
  • 0d0e93e979
    Check if mod context is good in mod tool (#113) LittleCube 2024-12-26 18:49:22 -05:00
  • 58d064a7c2 check if mod context is good LittleCube 2024-12-26 18:44:00 -05:00
  • fd2f36ed94 move function_sizes in the toml to input instead of patches LittleCube 2024-12-24 22:10:22 -05:00
  • 7d4ede6369 fix TRACE_ENTRY emission LittleCube 2024-12-24 22:08:25 -05:00
  • 17438755a1
    Implement nrm filename toml input, renaming list, trace mode, and context dumping flag (#111) LittleCube 2024-12-24 02:10:26 -05:00
  • 5c52194e44 fix arg2 check and usage string LittleCube 2024-12-24 01:05:49 -05:00
  • fe84307d7f fix some renaming and trace mode comments, revert no toml entrypoint code, add TODO to broken block LittleCube 2024-12-24 00:46:48 -05:00
  • f2e58c106d adjust trace mode to use a general TRACE_ENTRY() macro LittleCube 2024-12-24 00:32:45 -05:00
  • da5ec4c824 refactor re_mode to function_trace_mode LittleCube 2024-12-23 23:09:18 -05:00
  • 7e04b95d71 fix --dump-context arg, fix entrypoint detection LittleCube 2024-12-23 23:00:07 -05:00
  • 0cc8edcf40 add renaming and re mode LittleCube 2024-12-23 16:11:22 -05:00
  • 2632d435b0 change name of mod toml setting to 'mod_filename' LittleCube 2024-12-19 14:07:54 -05:00
  • ef0e7a575a implement nrm filename toml input LittleCube 2024-12-19 13:47:53 -05:00
  • fb417695b6 Add doubleword support to recomp.h Thar0 2024-11-22 00:04:49 +00:00