{"id":19003445,"url":"https://github.com/magnetic-fox/unbzip2-watcom","last_synced_at":"2025-02-21T13:44:21.875Z","repository":{"id":228868046,"uuid":"772756441","full_name":"Magnetic-Fox/UnBZip2-Watcom","owner":"Magnetic-Fox","description":"Very simple patch of official BZip2 code, which compiles under Open Watcom for Win16","archived":false,"fork":false,"pushed_at":"2024-12-11T18:24:27.000Z","size":498,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T19:12:58.070Z","etag":null,"topics":["80286","80386","80486","8086","allocation","bzip2","c","cpp","experimental","forfun","halloc","huge-alloc","huge-pointers","openwatcom","patch","pointers","unbzip2","watcom","win16"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Magnetic-Fox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-15T20:43:02.000Z","updated_at":"2024-12-11T18:24:32.000Z","dependencies_parsed_at":"2025-01-01T19:12:59.274Z","dependency_job_id":"3bd59634-d967-4a4a-b796-36b528f8d50f","html_url":"https://github.com/Magnetic-Fox/UnBZip2-Watcom","commit_stats":null,"previous_names":["magnetic-fox/unbzip2-watcom"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magnetic-Fox%2FUnBZip2-Watcom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magnetic-Fox%2FUnBZip2-Watcom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magnetic-Fox%2FUnBZip2-Watcom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Magnetic-Fox%2FUnBZip2-Watcom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Magnetic-Fox","download_url":"https://codeload.github.com/Magnetic-Fox/UnBZip2-Watcom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240027412,"owners_count":19736209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["80286","80386","80486","8086","allocation","bzip2","c","cpp","experimental","forfun","halloc","huge-alloc","huge-pointers","openwatcom","patch","pointers","unbzip2","watcom","win16"],"created_at":"2024-11-08T18:19:09.193Z","updated_at":"2025-02-21T13:44:21.818Z","avatar_url":"https://github.com/Magnetic-Fox.png","language":"C++","readme":"# UnBZip2 for Open Watcom (16-bit targets)\n\nThis repository contains patched code of BZip2 v0.1 compression/decompression tool remade to decompress BZip2 data in memory.\nI haven't patched compression algorithms yet, but it's possible that I'll do that sometime.\n\n## Information about files inluded in this repository\n\nThe most important part of this repository are `unbzip2.c` and `unbzip2.h` codes.\n`main.cpp` is provided only as a very simple testing code.\n\n`main.cpp` contains raw data (compressed using BZip2) created from some articles from Wikipedia. These texts were created by authors listed on Wikipedia.\n\n## Information about BZip2\n\nI think it's good to provide some credits and information about BZip2 and where the original archive came from.\n\nAs can be found in the `bzip2.c` and `bzip2.h` codes, BZip2 was created by Julian Seward.\nHere is the official site of the project: https://sourceware.org/bzip2/\nYou can find the original archive in the `Downloads` section.\n\n## Why so old version?\n\nFor the first time I tried to compile the newest version, but after several hours and so many tries I still had no luck doing this. Of course the task wasn't easy - very old compiler and compiling for very old OS, such as Windows 3.11.\nThen I thought of finding very old version believing that compiling it would be at least possible. At least somehow. And that's why I decided to use version yet from August 1997. It took me some time (several days, to be fair ;) ), but finally decompression algorithm was ready to use as a 16-bit program, which perfectly decompressed data in memory under Windows XP. :)\n\n## What to use to compile this code?\n\nThe code provided here was made to compile using Open Watcom IDE, which is quite good for modern MS-DOS/WfW3.11 development.\nIt's possible that it would compile using old Microsoft compilers, but I haven't tested it. It's best to use Watcom for it.\nIn fact, this project is heavily tied to Watcom coding style, so I think there might be serious problems with compiling it outside such environment.\n\n## Disclaimer\n\n**At the moment this patch is only a beta version! There are still cases in which this code will end up with segmentation fault! Care must be taken when using this code!**\n\nI've made much effort to provide here working and checked codes with hope it will be useful.\n**However, these codes are provided here \"AS IS\", with absolutely no warranty! I take no responsibility for using them - DO IT ON YOUR OWN RISK!**\n\n## License\n\nAs far as I know, the original code has GNU license, so probably this kind of license applies to my very simple patch too.\nIf You want to use this code(s), remember to give credits to the original author(s) of BZip2 and, eventually, to me too.\n\nRemember that raw data in the test file `main.cpp` was created from articles from Wikipedia only for test purposes - it shouldn't be used in the production code.\n\n*Bartłomiej \"Magnetic-Fox\" Węgrzyn,\n14-20th March 2024*","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnetic-fox%2Funbzip2-watcom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagnetic-fox%2Funbzip2-watcom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnetic-fox%2Funbzip2-watcom/lists"}