{"id":19864090,"url":"https://github.com/mohammadhb/gootloader","last_synced_at":"2025-05-02T05:30:43.717Z","repository":{"id":47440457,"uuid":"188004882","full_name":"mohammadhb/gootloader","owner":"mohammadhb","description":"Create your bootloader with Go.","archived":false,"fork":false,"pushed_at":"2019-05-28T20:56:06.000Z","size":2265,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T22:42:39.505Z","etag":null,"topics":["assembly","boot","bootloader","driver","go","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/mohammadhb.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}},"created_at":"2019-05-22T09:20:08.000Z","updated_at":"2023-11-09T14:15:50.000Z","dependencies_parsed_at":"2022-09-14T13:12:36.994Z","dependency_job_id":null,"html_url":"https://github.com/mohammadhb/gootloader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhb%2Fgootloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhb%2Fgootloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhb%2Fgootloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhb%2Fgootloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohammadhb","download_url":"https://codeload.github.com/mohammadhb/gootloader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251992598,"owners_count":21677018,"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":["assembly","boot","bootloader","driver","go","golang"],"created_at":"2024-11-12T15:17:28.118Z","updated_at":"2025-05-02T05:30:38.708Z","avatar_url":"https://github.com/mohammadhb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![alt text](https://github.com/mohammadhb/gootloader/blob/master/logo.png)\n\n# Gootloader\nCreate bootloaders with Go.\n\n## Getting Started\n\nStart with creating a Bootloader with your config :\n```go\n\nbl := Bootloader{\n    Name:     \"myBootloader\",\n    Arch:     1,      // Bootloader Architecture\n    ModeBit:  16,     // Bootloader Bit Mode\n    Loaddest: 0x7C00, // Destination of loading of bootloader in Memory\n}\n  \n```\n\nMaybe Print a Message :\n```go\n\nmessage := \"Dear BIOS, Load me into ram and give the control flow to me please\"\nbl.print(message)\n\n```\nCreate Your Bootloader :\n\u003e This generates `bl.name`.asm file\n```go\n\nbl.create();//AKA final file for bootloader\n\n```\n## Hello World Example\n\nin main.go file :\n\n```go\n\npackage main\n\nimport (\n\tgootloader \"github.com/mohammadhb/gootloader\"\n)\n\nfunc main() {\n\n\tbl := gootloader.Bootloader{\n\t\tName: \"MyFirstBootloader\",\n\t}\n\n\tbl.Print(\"Hello World!\")\n\tbl.Create()\n\n}\n\n```\n\u003e run go run main.gp\n\n## Emulate and Testings the Bootloader\n\nAfter you create your bootloader using `.create()`\nYou can use\n\n```bash\nnasm boot.asm -f bin -o boot.bin \u0026\u0026 qemu-system-i386 -fda boot.bin\n```\n\n\u003e Caution : You must install nasm and qemu in your device to be able to emulate your bootloader (qemu-system-i386 is x86 arch in this example)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadhb%2Fgootloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammadhb%2Fgootloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadhb%2Fgootloader/lists"}