Commit Graph

9 Commits

Author SHA1 Message Date
92995bc62e Added new Marker type. 2021-01-14 16:46:05 +00:00
f56ef6b136 Made Data fully immutable and removed it's *Eq impl.
Moved `DataTable::search_instruction` to `Data`.
Completely revised `DataTable`'s implementation.
Fixed duplicate and mis-typed data in `known_data`.
2021-01-14 16:22:07 +00:00
25c32f977c Function table heuristics now take the known data table for filtering.
`Directive::decode_with_data` now returns a `Result`.
Fixed `DataType` not rounding strings to the next word.
`Data` now sorts by smallest first in case positions are equal.
Fixed `get_containing` in `DataTable` and added `get_starting_at`.
2021-01-13 22:33:10 +00:00
29643a72db Removed custom implementation of DataType.
Removed `DataType::AsciiChar` and added `DataType::AsciiStr`.
`inst::Inst::decode` now takes a data and func table.
2021-01-12 15:19:07 +00:00
38ea8db1db Split dcb into dcb-io, dcb-exe, dcb-util and dcb.
Also worked on `dcb-exe` slightly, but still not fully supported.
2020-11-11 17:56:37 +00:00
e62561f228 Discovered some extra functions and data relating to start and main_loop. 2020-11-01 17:14:43 +00:00
06f67c4cf0 Data and DataTable now acknowledge stacked / 'specialized' data locations.
Improved replacement of addresses with their labels somewhat.
Grealy extended the known data locations with hardware locations.
2020-11-01 05:51:55 +00:00
6f70c110c4 Data, DataTable, Func and FuncTable now just use String instead of providing a S: AsRef<str> generic.
Fixed `Pos` not decoding normal integers correctly.
Unwrapper all string-encoded hex values to simply hex values.
`Func` and `Data` now have some fields defaulted.
2020-11-01 04:28:38 +00:00
21c2019713 Modified DataTable and FuncTable to dynamically load the known functions instead of describing them in code.
Removed unecessary dependencies for `dcb` and `dcb-tools`.
`dcb::game::exe::Pos` is now deserialized properly as a hex-string.
2020-11-01 04:01:11 +00:00