{"id":17504379,"url":"https://github.com/celerizer/libh8300h","last_synced_at":"2025-07-09T19:33:54.389Z","repository":{"id":257962644,"uuid":"868198595","full_name":"celerizer/libh8300h","owner":"celerizer","description":"A Hitachi H8/300H emulation library written in ANSI C","archived":false,"fork":false,"pushed_at":"2025-05-26T18:53:18.000Z","size":320,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-26T19:51:32.823Z","etag":null,"topics":["ansi-c","c89","embedded","emulator","h8300"],"latest_commit_sha":null,"homepage":"","language":"C","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/celerizer.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}},"created_at":"2024-10-05T18:20:36.000Z","updated_at":"2025-05-26T18:53:21.000Z","dependencies_parsed_at":"2025-01-18T23:17:57.722Z","dependency_job_id":"7fe7ff38-1189-49e8-865e-3d6c6a4bca73","html_url":"https://github.com/celerizer/libh8300h","commit_stats":{"total_commits":50,"total_committers":1,"mean_commits":50.0,"dds":0.0,"last_synced_commit":"32dab949f91417a515ee80632cff3feb50e1de1c"},"previous_names":["celerizer/libh8300h"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/celerizer/libh8300h","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celerizer%2Flibh8300h","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celerizer%2Flibh8300h/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celerizer%2Flibh8300h/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celerizer%2Flibh8300h/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/celerizer","download_url":"https://codeload.github.com/celerizer/libh8300h/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celerizer%2Flibh8300h/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502490,"owners_count":23618617,"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":["ansi-c","c89","embedded","emulator","h8300"],"created_at":"2024-10-20T00:15:51.935Z","updated_at":"2025-07-09T19:33:54.361Z","avatar_url":"https://github.com/celerizer.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libh8300h\n\n**libh8300h** (name pending) is an emulation library for the Hitachi H8/300H, developed for the purpose of writing Stepdad, an emulator for small pedometer devices.\n\nlibh8300h is written to maintain maximum compatibility across different build targets by adhering to C89 standards, minimizing the use of standard libraries, and providing extensive configuration options.\n\n## Building\n\n- Include `libh8300h.mk` in your project makefile:\n\n```make\ninclude libh8300h/libh8300h.mk\n```\n\n- Add the exported `H8_SOURCES` and `H8_HEADERS` to your project makefile:\n\n```make\nSOURCES += $(H8_SOURCES)\nHEADERS += $(H8_HEADERS)\n```\n\n- Add any compile-time options you wish to change. A list of all compile-time options along with their default values can be found in `config.h`. As an example:\n\n```make\nCFLAGS += \\\n  -DH8_BIG_ENDIAN=1 \\\n  -DH8_REVERSE_BITFIELDS=1\n```\n\nThis will build for a big-endian target with bitfields represented as MSB-first.\n\n## Usage\n\n- The following example code can be used to initialize an NTR-032 console:\n\n```c\nh8_system_t system;\n\n/* Initialize an H8/300H system */\nh8_init(\u0026system);\n\n/* Hook up all devices of a specified console */\nh8_system_init(\u0026system, H8_SYSTEM_NTR_032);\n\n/* Add some program data */\nh8_write(\u0026system, /* pointer to program data */, 0, /* size of program data */, 0);\n```\n\n- Then, the system can begin processing using:\n\n```c\n/* Process one instruction... */\nh8_step(\u0026system);\n```\n\n## License\n**libh8300h** is distributed under the MIT license. See LICENSE for information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelerizer%2Flibh8300h","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcelerizer%2Flibh8300h","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelerizer%2Flibh8300h/lists"}