Commit Graph

93 Commits

Author SHA1 Message Date
5684185+vsariola@users.noreply.github.com
f502bf4e28 optimize dos stub size to save 2 bytes (discovered by qkumba) 2023-01-26 22:04:59 +01:00
2eb8f230ba add documentation, make pbr optional as well 2022-10-26 23:40:41 +02:00
4eab36b9d9 add some api documentation 2022-10-25 23:33:32 +02:00
7cec54f62b make crossterm dependency optional 2022-10-25 22:40:56 +02:00
7fa6be6ff4 implement printing heatmap as hexdump 2022-10-24 23:34:07 +02:00
cab51e06ff implement heatmap calculation 2022-10-23 23:06:09 +02:00
c4fce626da some clean up - move dos unpacker, fix arm32 unpacker formatting 2022-10-19 22:32:57 +02:00
0d7cda06bb Merge pull request #6 from vsariola/dev/x86
implement three versions of a decompression stub for 16-bit x86 DOS
2022-10-19 22:11:04 +02:00
5684185+vsariola@users.noreply.github.com
140678ae20 implement three versions of a decompression stub for 16-bit x86 DOS 2022-10-17 15:50:09 +03:00
d7bdc8c1c7 add --version flag to output upkr version v0.2.0 2022-10-17 01:03:01 +02:00
887722a66b prepare for 0.2.0 release 2022-10-17 00:45:52 +02:00
39c95598f2 more arm32 optimizations, now 228b 2022-10-05 13:54:04 +02:00
3e31b37c1c first version of arm32 unpacker: 240 bytes 2022-10-04 22:44:28 +02:00
83c023de45 more rv optimizations, rv32imc now 204b 2022-10-03 15:38:43 +02:00
a46eb0e7f5 some more optimizations to the rv unpacker 2022-10-03 08:47:12 +02:00
32cd8e5b6c add --x86b preset 2022-09-30 04:23:53 +02:00
90fa31ce1a strip debuginfo in release build 2022-09-28 09:19:55 +02:00
31fb91c629 Merge branch 'ped7g-z80_ped7g' 2022-09-27 22:34:19 +02:00
e429f252a5 Merge branch 'z80' 2022-09-27 22:28:12 +02:00
f6642f07c9 more config options, unpack error handling, fuzzing v0.2.0-pre3 2022-09-27 17:16:05 +02:00
8715dede0e add --eof-in-length option 2022-09-26 23:41:17 +02:00
b12c8f8d93 add parameter to print out margin for overlapped unpacking 2022-09-25 23:44:03 +02:00
af5fe898bf add --no-repeated-offsets to help v0.2.0-pre2 2022-09-25 16:24:24 +02:00
331857a711 add option to disable repeated offsets 2022-09-25 16:23:11 +02:00
12e6f95fe8 add remaining encoding config options + presets for x86 and z80 v0.2.0-pre1 2022-09-24 22:00:50 +02:00
23872b3222 implement encoding options 2022-09-24 20:52:39 +02:00
ced6cc8c32 some more risc-v optimizations 2022-09-24 08:45:14 +02:00
8c9e4311b9 first (poorly optimized) risc-v unpacker 2022-09-23 22:40:47 +02:00
31c31bdcfb clean up command line interface 2022-09-21 22:45:06 +02:00
8f33ae0b1e add reverse compression option 2022-09-21 21:37:30 +02:00
f5fc9bd005 implement optional parity contexts 2022-09-20 23:24:19 +02:00
cc41feb5cd alternative way to write state/prob update 2022-09-19 18:33:02 +02:00
Peter Helcmanovsky (Ped)
8a32e1384c z80_unpacker: readme.txt and comment update 2022-09-19 15:19:39 +02:00
Peter Helcmanovsky (Ped)
9913dcf4bb z80_unpacker: comment with possible LUT variant of updating probs value
missing 512 byte table generator, which doesn't look trivial to do
(especially in terms of code size).
Not tested, but looks as decent speed up.
2022-09-19 14:31:00 +02:00
Peter Helcmanovsky (Ped)
a8fd3dc573 z80_unpacker: optimisation: -1B in decode_number (fwd 170B / rev 167B)
slightly slower code, ROM unpack is back to ~22.6s
2022-09-19 13:20:44 +02:00
Peter Helcmanovsky (Ped)
e1f9fa143a z80_unpacker: comment with caller size optimisation tip 2022-09-19 11:58:32 +02:00
Peter Helcmanovsky (Ped)
db1c7d2d14 z80_unpacker: optimisation: -1B in decode_number (fwd 171B / rev 168B) 2022-09-19 11:49:53 +02:00
Peter Helcmanovsky (Ped)
c1ffd0e7ed z80_unpacker: attempt for faster decode_number (+6B, ~1% faster) => not good
archived in comments for future reference
2022-09-19 11:42:56 +02:00
Peter Helcmanovsky (Ped)
00d084105a z80_unpacker: optimisation: -2B in backward unpack (fwd 172B / rev 169B)
backward was already -1B, so now the total difference is -3B.
2022-09-19 01:31:22 +02:00
Peter Helcmanovsky (Ped)
8e5298caee z80_unpacker: optimisation: -1B in decode_number = 172B (but +4T per length) 2022-09-19 01:09:21 +02:00
Peter Helcmanovsky (Ped)
1fb29f3a1b z80_unpacker: optimisation: -1B and -1T in decode_bit = 173B 2022-09-18 23:44:18 +02:00
c8924456aa -r reverses both input and output 2022-09-18 23:38:41 +02:00
7b0e22f459 Merge pull request #3 from ped7g/z80_ped7g
backward unpacker + example extended
2022-09-18 23:24:28 +02:00
5c7aee046a optimize decode_bit some more -> 166b 2022-09-18 23:11:26 +02:00
Peter Helcmanovsky (Ped)
165f593a11 z80_unpacker: (codestyle) whitespace + temporary label rename 2022-09-18 23:04:37 +02:00
Peter Helcmanovsky (Ped)
d4bce4bf7c z80_unpacker: optimisation: -3B and ~-10T in decode_bit = 174B
unpack zx48.rom is now ~22.6s (from 23.0s)
(performance version is now 199 bytes, zx48.rom unpack 19.4s -> 19.0s)
2022-09-18 22:54:10 +02:00
612084a5bf decode_length returns negative value -> 172b 2022-09-18 22:36:31 +02:00
ad731c2e75 Merge pull request #4 from Ferdi265/master
unpack_armv6m: update comment headers and remove unneeded pushed register
2022-09-18 18:51:37 +02:00
Ferdinand Bachmann
52f9778c0f unpack_armv6m: update comment headers and remove unneeded pushed register 2022-09-18 18:49:20 +02:00
49a611e8ba some more optimizations -> 176 bytes 2022-09-18 17:17:37 +02:00