{"id":50709449,"url":"https://github.com/playday3008/rbil-parser","last_synced_at":"2026-06-09T14:02:26.661Z","repository":{"id":348070480,"uuid":"1196070652","full_name":"playday3008/rbil-parser","owner":"playday3008","description":"Parser for Ralf Brown's Interrupt List (RBIL) Release 61 — converts CP437-encoded data files into structured YAML","archived":false,"fork":false,"pushed_at":"2026-03-30T16:47:20.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-30T18:24:58.338Z","etag":null,"topics":["cp437","dos","ghidra","interrupt-list","parser","ralf-browns-interrupt-list","rbil","reverse-engineering","x86","yaml"],"latest_commit_sha":null,"homepage":null,"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/playday3008.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-30T10:44:31.000Z","updated_at":"2026-03-30T16:47:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/playday3008/rbil-parser","commit_stats":null,"previous_names":["playday3008/rbil-parser"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/playday3008/rbil-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playday3008%2Frbil-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playday3008%2Frbil-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playday3008%2Frbil-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playday3008%2Frbil-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playday3008","download_url":"https://codeload.github.com/playday3008/rbil-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playday3008%2Frbil-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34110012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cp437","dos","ghidra","interrupt-list","parser","ralf-browns-interrupt-list","rbil","reverse-engineering","x86","yaml"],"created_at":"2026-06-09T14:02:25.616Z","updated_at":"2026-06-09T14:02:26.653Z","avatar_url":"https://github.com/playday3008.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rbil-parser\n\nParser for [Ralf Brown's Interrupt List](https://www.cs.cmu.edu/~ralf/files.html) (Release 61) into structured YAML.\n\nPre-generated output is available at [**rbil-yaml**](https://github.com/playday3008/rbil-yaml).\n\n## Usage\n\n```sh\nuv run parse-rbil \u003cinput_dir\u003e \u003coutput_dir\u003e\n```\n\n- `input_dir` — path to the RBIL data directory (containing `inter61a/` through `inter61f/`)\n- `output_dir` — path to write YAML output files\n\n## Output\n\n- `interrupts/int_XX.yaml` — one file per interrupt number\n- `ports.yaml` — I/O port entries\n- `tables.yaml` — reference tables\n- `metadata.yaml` — release info, categories, and file map\n- Additional files for glossary, bibliography, CPU bugs, SMM, etc.\n\n## Known Parsing Limitations\n\nThe following are not fully parsed and end up as raw text, fallback types, or dropped entirely:\n\n- **Return registers** — lines in `Return:` blocks that don't match register syntax or CF/`---if` conditions are stored as `raw_lines` strings rather than structured register objects.\n- **Cross-references** — MSR, CMOS, and I2C references in `SeeAlso` lack dedicated reference types and fall back to a generic `InterruptRef` with just a `name` field.\n- **Table rows** — rows that don't match the value/bitfield/format regex are silently appended to the previous row's description, which can mangle data if a row has unusual formatting.\n- **Sub-values** — in register sub-value lists, lines not matching the hex or bit-range patterns are silently dropped if there's no prior result to append to.\n- **Unparseable dividers** — blocks whose divider line can't be parsed (malformed or wrapped) are either captured as uncaptured content or skipped entirely.\n- **Blocks without entry lines** — if the first non-empty line after a divider doesn't match any known entry prefix (`INT`, `PORT`, `MEM`, etc.), the entire block is skipped.\n- **Unrecognized field labels** — only the labels in the hardcoded `FIELD_LABELS` set are detected; any other label-like lines are not identified as fields.\n- **Entry flags** — invalid flag characters in divider lines are silently discarded.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayday3008%2Frbil-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplayday3008%2Frbil-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayday3008%2Frbil-parser/lists"}