777 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
ac6a777d7d Now using a global lint list for use with cargo clippy-lints. 2021-10-13 22:29:04 +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
0a91758a7d Added simple python script to unpack game. 2021-08-17 07:36:53 +01:00
4922c8ca15 Added dcb-extract-card-table. 2021-08-17 07:36:06 +01:00
eab0e260b3 Fixed trailing whitespace in fonz's example mod. 2021-08-16 14:38:19 +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
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
a2ef3bca39 Added \r escape to LineArgExpr::ByteChar. 2021-08-16 12:39:32 +01:00
0defa853ab Added byte characters to line arg expressions. 2021-08-16 12:08:14 +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
ac706b1db3 Added missing libxkbcommon-x11-dev library dependency for CI. 2021-08-14 10:32:02 +01:00
8978434fbb Now installed the proper fuse3 version. 2021-08-14 10:25:59 +01:00
5d5294acdc Now installing fuse for github CI. 2021-08-14 10:22:35 +01:00
432105ee02 Added dependencies to github actions.
Removed only checking librarys
2021-08-14 10:19:29 +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
592b5ffa1b Commented out the patch, as it shouldn't be pushed. 2021-08-14 09:56:26 +01:00
41835d4c6e Re-added github workflow with only library checking and testing. 2021-08-14 09:45:53 +01:00
5920947f0d zutil is now patched properly. 2021-08-14 09:45:23 +01:00
7bcab4ee95 Now no longer erroring on line overflow with rustfmt. 2021-08-13 20:58:12 +01:00
d5f8474f1f Now using edition2021 in dcb-exe.
Removed all usage of `array::IntoIter::new` for `into_iter`.
Changed some instructions to have their arguments as arrays instead of array iterators.
2021-08-13 20:57:05 +01:00
83c0499497 Added register logging for instructions. 2021-08-13 16:11:43 +01:00
7673922533 Removed the Index[Mut] requirement from ExecCtx. 2021-08-13 15:58:22 +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
00b7473ef8 Added FileReader::size. 2021-08-13 14:57:24 +01:00
c9c54ac9a9 Removed unused dbg!. 2021-08-13 14:57:24 +01:00
6b5c3bb57c [dcb-exe] Now using local version of zutil. 2021-08-13 14:57:24 +01:00
2f78a8caa6 [dcb] Fixed missing use_serde feature for zutil. 2021-08-13 14:57:24 +01:00