Commit Graph

119 Commits

Author SHA1 Message Date
a8f39093bb Add support for negative sector addresses in read/write functions 2025-10-02 17:07:17 +01:00
5c7610c1c0 Use heuristics to setup table shift. 2025-10-02 04:40:16 +01:00
41aee42c53 Enhance documentation for various structures with detailed descriptions and formatting improvements 2025-10-01 05:35:39 +01:00
1f91ad1e08 Enhance documentation for enums with detailed descriptions and formatting improvements 2025-10-01 03:08:21 +01:00
641cb9824b Refactor include guards for consistency across header files 2025-10-01 02:55:59 +01:00
75c7ebfefd Enhance DDT entry functions to support existing entries and improve deduplication logic 2025-09-30 20:45:30 +01:00
f6ed0f1856 Add hash map implementation for sector deduplication 2025-09-30 20:10:40 +01:00
d0f7bd7127 Fix error codes in errors.h to use parentheses for consistency 2025-09-30 18:48:49 +01:00
495a5bc55a Add error code for DDT entry setting failure and update related functions to return status 2025-09-30 18:47:38 +01:00
dda0ee89e8 Refactor variable names for consistency and readability across multiple files 2025-09-30 15:11:27 +01:00
352850a698 Refactor function signatures to use const char* for string parameters 2025-09-30 13:48:31 +01:00
ed665ee763 Add cachedDdtPosition to track primary DDT position for new tables 2025-09-28 19:44:15 +01:00
f5304c3173 Change nextBlockPosition type to uint64_t for improved precision 2025-09-28 18:42:01 +01:00
90ca1ee872 Initialize index entries array and update index management for DDT entries 2025-09-28 17:08:33 +01:00
ce20e37007 Add DDT entry setting function and integrate it into write process 2025-09-28 15:27:30 +01:00
d8e39eb87b Add primary DDT offset and implement DDT entry setting functions 2025-09-28 15:15:05 +01:00
d62e3119c2 Add slog logging support and update error handling in various modules 2025-08-13 20:16:42 +01:00
64c58c0300 Add write functionality for sectors and implement block closing logic 2025-08-13 16:17:45 +01:00
3b012797cb Implement creating AaruFormat image and writing header. 2025-08-07 15:43:35 +01:00
b06078b041 Implement decoding of two level DDT2 tables. 2025-08-05 23:10:54 +01:00
8bef2c3d60 Implement decoding of single level DDT2. 2025-08-05 01:29:50 +01:00
a9ca79e5a4 Move decoding of DDT v1 entries to separate function. 2025-08-05 01:05:31 +01:00
23d656ecab Add enumeration of sector status. 2025-08-05 01:05:03 +01:00
88e03824e0 Take into account size types when reading DDT v2. 2025-08-04 19:44:56 +01:00
0e7dafc510 Implement processing of DDT v2. 2025-08-04 16:31:29 +01:00
4b537e60a9 Define DDT2 header. 2025-08-03 20:48:30 +01:00
45c9b2c17f Implement index v3. 2025-08-03 17:45:20 +01:00
b504c8392d Implement support for reading file format header version 2. 2025-08-02 20:23:32 +01:00
01fbaa0016 Split checksum block processing from open to a separate file. 2025-08-02 16:49:53 +01:00
e081f09a71 Split dump hardware block processing from open to a separate file. 2025-08-02 16:46:04 +01:00
0d28399041 Split CICM XML metadata block processing from open to a separate file. 2025-08-02 16:21:50 +01:00
793de582ca Split tracks block processing from open to a separate file. 2025-08-02 16:17:57 +01:00
7ed1002273 Split geometry block processing from open to a separate file. 2025-08-02 16:11:26 +01:00
727e172908 Split metadata block processing from open to a separate file. 2025-08-02 16:04:55 +01:00
abe8a2bc12 Split deduplication table processing from open to a separate file. 2025-08-02 14:52:11 +01:00
090ddfe2e7 Split data block processing from open to a separate file. 2025-08-02 14:25:15 +01:00
5de2fc8f84 Introduce index block version 3 with enhanced fault tolerance and previous block referencing 2025-08-02 01:45:27 +01:00
d518458a63 Update copyright year. 2025-08-01 21:19:45 +01:00
9a4c04b2ca Implement support for index v2. 2025-08-01 21:18:48 +01:00
4f25209145 Use utarray to process index entries. 2025-08-01 21:10:36 +01:00
2811f41734 [lib] Fix data size mismatch. 2025-08-01 02:48:16 +01:00
af6e384678 Fix typo in comment. 2025-08-01 02:42:50 +01:00
a8a18cf4d7 [lib] Split structures in separate headers. 2025-08-01 02:41:48 +01:00
818101bf42 [lib] Fix data size mishap. 2025-08-01 02:13:48 +01:00
15cf92efd7 [Specification] Add data and table shift definitions to header and structs 2025-07-31 17:54:49 +01:00
ed15aa09be Fix data size mishap. 2025-07-31 14:47:54 +01:00
b715366186 [Library] Add V2 header. 2025-07-31 10:11:58 +01:00
1f813feec9 General refactor and cleanup. 2024-04-30 15:51:32 +01:00
bf6de56bc2 Implement image verification. 2022-10-12 17:30:12 +01:00
a1a3ac3c51 Fix repeating error numbers. 2022-10-12 17:29:31 +01:00