{"id":27400217,"url":"https://github.com/dokadev/legacyos","last_synced_at":"2025-06-20T05:38:34.187Z","repository":{"id":221351868,"uuid":"754133106","full_name":"DokaDev/LegacyOS","owner":"DokaDev","description":"ROM BIOS-based MBR Operating System Project","archived":false,"fork":false,"pushed_at":"2024-02-13T07:10:57.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T03:33:56.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DokaDev.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-02-07T13:17:15.000Z","updated_at":"2024-02-08T09:22:43.000Z","dependencies_parsed_at":"2025-04-15T22:31:25.764Z","dependency_job_id":null,"html_url":"https://github.com/DokaDev/LegacyOS","commit_stats":null,"previous_names":["dokadev/legacyos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DokaDev/LegacyOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DokaDev%2FLegacyOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DokaDev%2FLegacyOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DokaDev%2FLegacyOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DokaDev%2FLegacyOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DokaDev","download_url":"https://codeload.github.com/DokaDev/LegacyOS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DokaDev%2FLegacyOS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260890581,"owners_count":23077863,"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":[],"created_at":"2025-04-14T03:26:45.797Z","updated_at":"2025-06-20T05:38:29.174Z","avatar_url":"https://github.com/DokaDev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## LegacyOS\nROM BIOS-based MBR Operating System Project\n\n\u003c!-- The project is based on `mint64` project --\u003e\n\n### Build Instructions\nThis project is designed to be build for the i386 architecture, specifically targeting low-level systems programming.\n\nTo compile and build the project, you will need to have several tools and dependencies installed on your system.\n\n#### Prerequisites\nBefore you begin, ensure you have the following tools installed:\n\n* **GCC**: The GNU Compiler Collection, with support for compiling 32-bit(`-m32`) code. You can install GCC on most Linux distributions via your package manager. For Debian-based systems, use `sudo apt-get install gcc-multilib`.\n* **NASM**: The Netwide Assembler, a popular assembler for x86 architecture. Install it using your package manager, for example, `sudo apt-get install nasm` on Debian-based systems.\n* **GNU LD**: The GNU Linker, which should come with the binutils package. Ensure you have the 32-bit version capable of handling `elf_i386` format. For Debian-based systems, `sudo apt-get install binutils`.\n* **GNU Objcopy**: Part of the GNU Binutils for converting and copying object files; used here to create a binary from the ELF file.\n\n#### Build Process\nTo build the project, follow these steps:\n\n1. **Clone the Repository**: To clone the repository, execute the following command on your local machine:\n```bash\ngit clone https://github.com/DokaDev/LegacyOS.git\n```\n\n2. **Navigate to the Project Directory**: Change to the project directory using the command below:\n```bash\ncd LegacyOS\n```\n\n3. **Compile and Build Project**: After you clone the repository, just run `make` to build it. :)\n\nThe script contains `clean` label that automatically cleans the build temporary files before the build process begins.\n```bash\nmake\n```\n\n### Testing with QEMU\nTo ensure our OS works as expected in a virtualized environment, we leverage QEMU for comprehensive testing.\nFollow the steps below to run tests on your system using QEMU.\n\n#### Prerequisites\nBefore running tests, make sure you have QEMU installed on your system.\nQEMU is a generic and open source machine emulator and virtualizer, which is essential for our testing process.\n\n#### Running Tests\nTo run tests, simply use the `make test` command.\nThis command builds the necessary components and executes our operating system in a QEMU virtual machine, allowing us to observe and evaluate its behavior in a controlled environment.\n```bash\nmake test\n```\n\n#### Installing QEMU\nIf QEMU is not already installed on your system, you can install it using the following command on Debian-based systems(such as Ubuntu):\n```bash\nsudo apt-get install qemu-kvm\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdokadev%2Flegacyos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdokadev%2Flegacyos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdokadev%2Flegacyos/lists"}