367 Commits

Author SHA1 Message Date
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
9ac6dbfa19 Updated SetValue's possible value0 values. 2021-08-06 21:02:47 +01:00
dc47e015ed Merged Unknown0a's kind and value together. 2021-08-06 21:01:10 +01:00
de2ea0facf Some kinds are now read as a single u16.
Renamed `Test.value0` to `var`, as per other commands that use variables.
2021-08-06 20:58:34 +01:00
79def41250 Renamed Test.value0 to var, as per other commands that use variables. 2021-08-06 19:49:12 +01:00
45f31aee40 Label and value files are now optional. 2021-08-06 19:14:17 +01:00
8c957bb643 Added getting labels and value names from file in dcb-unmsd.
Renamed `ChoiceJump` to `Test`.
2021-08-06 19:10:45 +01:00
3bf6616a0b Changing naming scheme for msd files. 2021-08-06 01:07:03 +01:00
8db33b9868 Added mode commands to msd decoding.
Updated format of `msd` decoding.
2021-08-06 00:39:57 +01:00
ea8332abe9 Updated to rustc 1.56.0-nightly. 2021-08-05 19:48:03 +01:00
481b5ca737 Updated dcb-deck-editor to 0.1.1. 2021-08-04 19:11:13 +01:00
b6ab14b8a0 Added ability to import / export to dcb-deck-editor. 2021-08-04 19:10:51 +01:00