A new p7zip fork with additional codecs and improvements (forked from https://sourceforge.net/projects/sevenzip/ AND https://sourceforge.net/projects/p7zip/).
808
stars
111
forks
source link
Idea: Convert upstream assembly files to NASM syntax #166
because I only cared about x64 and Linux. Some of the definitions could be changed en masse. Others, like pointers had to be individually reviewed.
Lastly, I did not care about most of the modules since lrzip-next uses libgcrypt for hashing and encryption. The latest 21.06 version of lzma adds code for LzFind in asm which I added. So other than the decompress functions and the match finder, I ignored the rest.
It took a lot of work to convert the code. The @catstr macro is merely a string concatenation. But the references had no meaning for me in Linux. See
which merely became
because I only cared about x64 and Linux. Some of the definitions could be changed en masse. Others, like pointers had to be individually reviewed.
Lastly, I did not care about most of the modules since
lrzip-next
uses libgcrypt for hashing and encryption. The latest 21.06 version of lzma adds code forLzFind
in asm which I added. So other than the decompress functions and the match finder, I ignored the rest.Good luck with the project. Glad p7zip is back.