69 Commits

Author SHA1 Message Date
57ef5b3127 Func now stores the argument overrides. 2021-08-16 14:28:12 +01:00
dfc5ff49c7 Renamed Func::comments to block_comments. 2021-08-16 13:03:39 +01:00
38fdaa0cb6 Added File1.FlushBuffer. 2021-08-16 12:49:07 +01:00
f1892ddc4a Added File1.{WriteChar, FlushBuffer}. 2021-08-16 12:40:53 +01:00
d09c2b6790 Moved assembly files to resources/asm. 2021-08-16 11:23:37 +01:00
f6110023ad Increased default memory for debugger.
Fixed some game function documentation.
2021-08-14 15:48:16 +01:00
766c57c59f Added several more instructions, as well as improved formatting for existing ones. 2021-08-13 14:57:24 +01:00
551f838bfa Added decoding msds to yaml format. 2021-08-13 14:57:24 +01:00
d8fe710451 Improved and switched to implementation of Inst::display. 2021-08-07 22:20:14 +01:00
b5434499dc Removed dot generation.
Fixed swapped labels in `city00`.
Added values for unknown triggers, likely to do with game progression.
2021-08-07 17:54:51 +01:00
dd24925fd1 Now generating a .dot graph of all 'blocks' of the msd. 2021-08-07 17:04:14 +01:00
7ceae0d4b8 Bytes of commands aren't printed anymore.
Added labels for `city01`.
Added values for `city01`.
2021-08-07 14:59:15 +01:00
1e60fd0b00 Various city00 specific values now have city00_ preprended to them. 2021-08-07 14:20:04 +01:00
ee5d34dd78 Added some battle cafe tai values. 2021-08-07 00:11:29 +01:00
177b9fe928 Updated consecutive wins value to reflect how it's used in all msds. 2021-08-06 23:58:20 +01:00
e3ae4762cf Now sharing values between all msds. 2021-08-06 23:55:40 +01:00
8b42a6df05 Added some more values. 2021-08-06 23:52:53 +01:00
26cec2a0c5 Added all data about arenas in city00.msd.
Now not running clippy until fuse building errors can be addressed.
2021-08-06 23:40:19 +01:00
4409e55d4d Added more labels and values to city00.msd. 2021-08-06 23:07:19 +01:00
25396dc1c8 Sorted city00 labels and added one. 2021-08-06 21:59:03 +01:00
2edd0137bc Added more labels and values for city00. 2021-08-06 21:57:46 +01:00
ecae601b54 Added some more values to city00.msd.
Although they might be shared, so this might be renamed to just `msd.values` in the future.
2021-08-06 21:33:50 +01:00
69d57f27c0 Added labels + values of CITY00.MSD. 2021-08-06 21:22:42 +01:00
03de391f0f Started finding info about the card table. 2021-05-16 13:49:24 +01:00
7845039dc0 Refactored funcs and data related to interruptse and added extra. 2021-05-11 01:49:58 +01:00
edb1571608 Revised documentation for start. 2021-05-10 20:19:36 +01:00
05f1579dfd Moved some data to foreign. 2021-05-09 20:50:08 +01:00
ab15d12099 Added FromStr impl for DataType. 2021-05-09 04:17:01 +01:00
aeb373c3ba Removed the need to specify kind on known / foreign data. 2021-05-09 04:13:59 +01:00
b34b4c9caf Added new data, functions and overrides. 2021-05-08 21:10:39 +01:00
6b3528507f Now parsing and requiring branch delay slot markers.
Fixes #2.
2021-05-07 21:27:01 +01:00
1749b78fed Added function validation.
Fixed issue with function `modify_spu_delay1`.
`dcb_util::fmt_err{_wrapper}` not supports non-static errors.
2021-04-30 15:54:49 +01:00
49c8ee53cc Added missing labels to all known functions. 2021-04-30 15:25:46 +01:00
e04317c091 Functions now have a kind. 2021-04-30 15:00:15 +01:00
475c3c241b Added warning on unused overrides. 2021-04-29 22:58:16 +01:00
80a85d6ca2 Decompiler now outputs + after any jump / condition instruction. 2021-04-29 22:20:28 +01:00
c211a2fc86 Revised some names in parse::line and added some unit tests. 2021-04-29 12:06:25 +01:00
b572f1d922 Removed existing Addr{Hi, Lo} and renamed AddrSigned{Hi, Lo} to Addr{Hi, Lo}, as all addresses are siged when obtaining their lo and hi. 2021-04-28 20:13:04 +01:00
bff47fad58 Switched all current @addr_ to @signed_addr_, as they all use addiu, thus they are addresses. 2021-04-28 20:05:07 +01:00
a98c971306 Added some more overrides. 2021-04-28 20:03:58 +01:00
64c7d09b4b Added AddrSignedLo and AddrSignedHi label functions. 2021-04-28 19:40:37 +01:00
a5beaa479d Turned all heuristically found data locations used in the overrides to known data. 2021-04-28 16:48:34 +01:00
cd6f64cb34 Updated parse::line to support label functions.
Fixed single-argument "nop" not being parsed.
2021-04-28 15:25:56 +01:00
cb07f9cd60 Added better instruction argument override.
Added more instruction argument overrides.
2021-04-27 19:58:41 +01:00
e5fae97779 `Added overriding for certain positions. 2021-04-27 19:15:04 +01:00
23c98ecd47 nop now doesn't have any arguments if only 1 nop exists.
Renamed and added some data / functions.
2021-04-27 17:48:06 +01:00
c25f1f2092 Moved some foreign data from game to foreign. 2021-04-20 02:38:43 +01:00
cceddaaa1e Added some more data related to a currently wip function. 2021-04-19 05:09:52 +01:00
76a76439b7 Fixed major bug in range_disjoint.
Added some more data and functions.
2021-04-19 03:12:52 +01:00
6c2de4fd80 Renamed function table's comments to inline comments and added block comments.
Found some of C's standard library functions.
Added random functions found.
`dcb-decompiler` will now properly align inline comments.
2021-04-18 23:12:32 +01:00