378 Commits

Author SHA1 Message Date
8f417f562d
Project now compiles with rustc 1.76.0-nightly (1fdfe1234 2023-12-06). 2024-01-17 11:00:46 +00:00
2a1a06464d Fixed most arising clippy lints from the global linting. 2021-10-13 22:31:37 +01:00
9ac6dce346 Removed stabilized feature iter_map_while. 2021-10-13 22:30:17 +01:00
4397b0dfd9 Fixed delay slot instructions' inline comments not being formatted properly. 2021-08-19 22:03:28 +01:00
bb734a5fea [dcb-disasm] Separated item displaying into it's own function 2021-08-17 09:09:38 +01:00
28db17776f [dcb-disasm] Improved external resource loading.
[`dcb-exe`] Added `len` methods to both data and function tables.
2021-08-17 09:06:39 +01:00
1129ba1db4 [dcb-disasm] Renamed cli module to args. 2021-08-17 08:40:53 +01:00
8ee7b9fac2 Slightly reorganized binaries. 2021-08-17 08:35:07 +01:00
4922c8ca15 Added dcb-extract-card-table. 2021-08-17 07:36:06 +01:00
57ef5b3127 Func now stores the argument overrides. 2021-08-16 14:28:12 +01:00
44a252e0af Slightly refactored dcb-disasm's variable names. 2021-08-16 14:07:05 +01:00
dfc5ff49c7 Renamed Func::comments to block_comments. 2021-08-16 13:03:39 +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
f8cfc67296 Slightly refactored user input. 2021-08-14 12:00:35 +01:00
c815f08862 Now only printing writes if anything changed. 2021-08-14 11:39:33 +01:00
27e041e2b3 Added nop parsing and displaying for basic::shift::imm::Inst.
No longer printing reads in `dcb-dbg`.
2021-08-14 11:35:12 +01:00
e7e34b1445 Updated zutil to 896cf73ac7ca2551a1d0fad2fb2eb7d98941d00a. 2021-08-14 11:22:24 +01:00
703f180d88 Refactored executable file reading. 2021-08-14 11:17:15 +01:00
055c2a525c Game is now opened in a separate function. 2021-08-14 10:57:54 +01:00
e9b6d72df3 The bios must now be specified as an argument. 2021-08-14 10:53:56 +01:00
676f77caa5 Updated dbg_hex to 0.1.1. 2021-08-14 10:03:44 +01:00
c3fe067514 Updated zutil to fd560358d75f7ddb43524879cf0bf017bc6dfeda.
Updated crates still using a local `zutil`.
2021-08-14 10:01:53 +01:00
5920947f0d zutil is now patched properly. 2021-08-14 09:45:23 +01:00
83c0499497 Added register logging for instructions. 2021-08-13 16:11:43 +01:00
94965f3b73 Introduced ExecCtx::{store_load}_[mult_]reg. 2021-08-13 15:52:14 +01:00
1042d78f21 Added result logging for each instruction. 2021-08-13 15:48:48 +01:00
9012efec3a Started work on a repl for dcb-dbg. 2021-08-13 14:57:24 +01:00
b97664bdd3 Now loading the bios and correctly adjusting addresses. 2021-08-13 14:57:24 +01:00
57e25709b0 Started turning dcb-dbg into a general purpose debugger. 2021-08-13 14:57:24 +01:00
f818e9a756 Now using a local version of zutil for testing. 2021-08-13 14:57:24 +01:00
6cd572ee0f [dcb-dbg] Renamed cli to args and CliData to Args. 2021-08-13 14:57:24 +01:00
766c57c59f Added several more instructions, as well as improved formatting for existing ones. 2021-08-13 14:57:24 +01:00
f8d84c501a Started checking on jump's variables. 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
8ff9f32a58 Renamed Inst::parse to decode. 2021-08-07 20:10:41 +01:00
8543f536aa Added Screen for all open instructions.
Moved all `open` instructions to `OpenScreen`.
2021-08-07 19:52:07 +01:00
93efca5ff7 Renamed Command to Inst. 2021-08-07 19:45:25 +01:00
166e31f499 Documented and renamed most commands. 2021-08-07 19:43:22 +01:00
6293b937c2 Started moving msd related stuff to dcb-msd. 2021-08-07 19:24:32 +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
da0ab8b8db Added call conditions. 2021-08-07 17:40:00 +01:00
dd24925fd1 Now generating a .dot graph of all 'blocks' of the msd. 2021-08-07 17:04:14 +01:00
37ba47e20f Removed battle1 and battle2 as they aren't related to just battles. 2021-08-07 15:15:53 +01:00
0a22cc89e5 Added Reset. 2021-08-07 15:15:00 +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
e3ae4762cf Now sharing values between all msds. 2021-08-06 23:55:40 +01:00
29e4cab820 Started work on figuring out jump variables. 2021-08-06 21:17:24 +01:00
d58c5dc90d Figured out set value operation. 2021-08-06 21:14:17 +01:00