{"id":20090466,"url":"https://github.com/64/byteos","last_synced_at":"2025-07-03T01:31:46.000Z","repository":{"id":106826527,"uuid":"69802507","full_name":"64/ByteOS","owner":"64","description":"A simple hobby operating system for the x86-64 architecture","archived":false,"fork":false,"pushed_at":"2021-02-23T09:54:41.000Z","size":509,"stargazers_count":70,"open_issues_count":0,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-06T03:38:17.609Z","etag":null,"topics":["kernel","operating-system","os","x86-64"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-10-02T14:44:09.000Z","updated_at":"2025-05-02T03:25:34.000Z","dependencies_parsed_at":"2023-06-26T02:01:22.729Z","dependency_job_id":null,"html_url":"https://github.com/64/ByteOS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/64/ByteOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64%2FByteOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64%2FByteOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64%2FByteOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64%2FByteOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/64","download_url":"https://codeload.github.com/64/ByteOS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64%2FByteOS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263243691,"owners_count":23436352,"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":["kernel","operating-system","os","x86-64"],"created_at":"2024-11-13T16:24:36.447Z","updated_at":"2025-07-03T01:31:45.961Z","avatar_url":"https://github.com/64.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ByteOS\n\nA simple hobby operating system for the x86_64 architecture, written in C.\n\n![Screenshot](https://i.imgur.com/EXdOfS4.jpg)\n\nThe design is heavily influenced by the Linux kernel, and as such you may find many similarities between the two.\n\nThis repository is licensed under the GPLv3. See `LICENSE.md` for more details.\n\n## Historical Note\n\nI wrote most of the code here when I was 16-17 and didn't know better. There are some parts (mainly the bits involving atomics) that I'm not particularly proud of, so copy at your own peril. If you find a problem, feel free to open an issue or send a PR.\n\n## Building\n\nYou will need:\n* GNU `binutils` for `x86_64-elf`\n* `gcc` for `x86_64-elf` with `-mno-red-zone` and C11 capabilities ([instructions](http://wiki.osdev.org/Libgcc_without_red_zone))\n* Make\n* NASM\n* GRUB 2.02 (Multiboot2 compatible - may need to build from source)\n\nThen, to build `byteos.iso`, simply run:\n```sh\nmake\n```\n\n## Running\n\nYou will need (in addition to the above dependencies):\n* QEMU `x86_64`\n\nThen, to run in QEMU:\n```sh\nmake run\n```\n\n## Debugging\n\nDebugging requires a [specially patched version of GDB](http://wiki.osdev.org/QEMU_and_GDB_in_long_mode#Workaround_2%3A_Patching_GDB) for interoperability with QEMU. Once you have this installed, simply run the `debug` make target.\n\n## Testing\n\nFirst run the `update-modules` make target to download the necessary files. Then, simply run `make test`.\n\nSee [`Makefile`](https://github.com/64/ByteOS/blob/master/Makefile) for more details.\n\n## Contributing\n\nFeel free to open an issue if you have any questions/concerns or a pull-request if you would like to contribute some code.\n\nSpecial thanks to [no92](https://github.com/no92) for massively cleaning up the build system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F64%2Fbyteos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F64%2Fbyteos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F64%2Fbyteos/lists"}