{"id":13838441,"url":"https://github.com/SartoxSoftware/Batch2OS","last_synced_at":"2025-07-10T21:32:58.338Z","repository":{"id":110333538,"uuid":"489939906","full_name":"SartoxSoftware/Batch2OS","owner":"SartoxSoftware","description":"A Batch to native 16-bit x86 compiler, made in Rust.","archived":true,"fork":false,"pushed_at":"2023-04-17T02:08:46.000Z","size":62,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-08-05T15:07:41.469Z","etag":null,"topics":["batch","kernel","native","osdev","rust","x86"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SartoxSoftware.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}},"created_at":"2022-05-08T12:39:17.000Z","updated_at":"2024-03-10T08:44:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"c62acd15-dd65-4a70-a369-3d2a05417025","html_url":"https://github.com/SartoxSoftware/Batch2OS","commit_stats":null,"previous_names":["sartoxsoftware/batch2os"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SartoxSoftware%2FBatch2OS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SartoxSoftware%2FBatch2OS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SartoxSoftware%2FBatch2OS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SartoxSoftware%2FBatch2OS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SartoxSoftware","download_url":"https://codeload.github.com/SartoxSoftware/Batch2OS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225657480,"owners_count":17503558,"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":["batch","kernel","native","osdev","rust","x86"],"created_at":"2024-08-04T15:01:57.228Z","updated_at":"2024-11-21T01:31:05.529Z","avatar_url":"https://github.com/SartoxSoftware.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"[![SAY NO TO THE TRADEMARK POLICY ](https://gist.githubusercontent.com/blyxyas/8f17fbe1cafdeff65bbe6b332d4f4723/raw/715a24df3ad74b838c6b0ff8079d3f7f9172b0db/banner.svg)](https://github.com/blyxyas/no-rust-policy-change)\n\n# Batch2OS\nA Batch to native 16-bit x86 compiler, made in Rust.\n\n![img.png](img.png)\n\n# Usage\n``Batch2OS \u003cinput\u003e \u003coutput\u003e \u003cbaseAddress\u003e \u003cloadAddress\u003e``\n\n## Example\n``Batch2OS os.bat kernel.bin 0x7C00 0x1000``\n\n# Try it out!\nAfter you've compiled your batch script as a bootable image file, you may want to try it on bare metal now. If that isn't possible, you can try it out in a VM. Here's an example with QEMU:\n\n``qemu-system-i386 kernel.bin``\n\n# Compatibility\nBatch2OS emits x86 code that is theoretically compatible starting from the Intel 8086. That is because Batch2OS currently uses real mode BIOS interrupts, which are 16-bit and were introduced back in the 8086.\u003c/br\u003e\n\n# Supported commands\n- ``help``\n- ``cls``\n- ``echo``\n- ``pause``\n- ``ver``\n- ``color``\n- ``goto``\n\n# Limitations\n- Uses BIOS interrupts to do pretty much everything\n- It's limited to loading up to 255 sectors because of the byte limit\n\n# TODO\n- Go into protected mode (and figure out how to replace the BIOS interrupts with equivalent code??)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSartoxSoftware%2FBatch2OS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSartoxSoftware%2FBatch2OS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSartoxSoftware%2FBatch2OS/lists"}