{"id":19764278,"url":"https://github.com/theobori/i686-kit","last_synced_at":"2026-05-03T11:32:06.986Z","repository":{"id":159533844,"uuid":"571395763","full_name":"theobori/i686-kit","owner":"theobori","description":"🐧 Tools to manage some kernel features (Intel syntax only)","archived":false,"fork":false,"pushed_at":"2024-06-19T15:11:28.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-19T20:39:06.035Z","etag":null,"topics":["assembly","font","gdt","i686","module","osdev"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theobori.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-11-28T03:00:46.000Z","updated_at":"2024-06-19T15:12:11.000Z","dependencies_parsed_at":"2024-11-12T04:13:03.422Z","dependency_job_id":"b68f135d-d671-4546-968d-e972b8314096","html_url":"https://github.com/theobori/i686-kit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theobori/i686-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theobori%2Fi686-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theobori%2Fi686-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theobori%2Fi686-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theobori%2Fi686-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theobori","download_url":"https://codeload.github.com/theobori/i686-kit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theobori%2Fi686-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["assembly","font","gdt","i686","module","osdev"],"created_at":"2024-11-12T04:13:01.384Z","updated_at":"2026-05-03T11:32:06.968Z","avatar_url":"https://github.com/theobori.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i686 toolkit\n\n## How to build and run ?\n\n1. Install the dependencies \n   - Python \u003e=3.11.0\n2. You can just run the scripts in `scripts/`.\n3. You can use install the Python module.\n\n```bash\npython setup.py install\n```\n\n## Usage example\n\n#### Build and dump/save a GDT\n```python\nfrom ostools.gdt import Gdt\nfrom ostools.gdt import GdtEntry\nfrom ostools.gdt import GdtAccessByte\nfrom ostools.gdt import GdtFlags\nfrom ostools.gdt import CpuPrivilevel\n\na = Gdt() \\\n.add_entry(\n    GdtEntry(\"gdt_code\")\n    .set_access_byte(\n        GdtAccessByte(0x9a)\n    )\n    .set_flags(GdtFlags())\n) \\\n.add_entry( \n    GdtEntry(\"gdt_data\")\n    .set_access_byte(\n        GdtAccessByte()\n            .set_p(True)\n            .set_dpl(CpuPrivilevel.RING0)\n            .set_s(True)\n            .set_rw(True)\n    )\n    .set_flags(0xcf)\n) \\\n.add_end() \\\n.add_descriptor() \\\n.dump_asm() # or .save_asm(\"test.asm\")\n```\n\n#### Convert a Linux PC Screen Font to x86 assembly data\n\n```python\nfrom ostools.psf import Psf\n\na = Psf(\"ter-v32n.psf\") \\\n.parse() \\\n.save_asm(\"test.asm\")\n```\n\n## Scripts\n\nThe directory `scripts/` contains scripts intended to do metaprogramming. Most of them concern the 32 bits interrupts.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheobori%2Fi686-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheobori%2Fi686-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheobori%2Fi686-kit/lists"}