{"id":33146533,"url":"https://github.com/flydeoo/mya","last_synced_at":"2025-11-20T07:02:04.238Z","repository":{"id":215780344,"uuid":"717717871","full_name":"flydeoo/mya","owner":"flydeoo","description":"a fun project to create OS from scratch","archived":false,"fork":false,"pushed_at":"2024-02-21T07:37:57.000Z","size":95,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-23T15:34:05.324Z","etag":null,"topics":["cprogramming-language","operating-system","x86assembly"],"latest_commit_sha":null,"homepage":"","language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flydeoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-11-12T11:16:56.000Z","updated_at":"2024-02-28T21:53:15.000Z","dependencies_parsed_at":"2024-01-19T09:57:50.117Z","dependency_job_id":"ddfbe3c4-9116-4611-bd26-ebcbe55afea1","html_url":"https://github.com/flydeoo/mya","commit_stats":null,"previous_names":["flydeoo/mya"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/flydeoo/mya","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flydeoo%2Fmya","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flydeoo%2Fmya/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flydeoo%2Fmya/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flydeoo%2Fmya/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flydeoo","download_url":"https://codeload.github.com/flydeoo/mya/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flydeoo%2Fmya/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285389437,"owners_count":27163377,"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","status":"online","status_checked_at":"2025-11-20T02:00:05.334Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cprogramming-language","operating-system","x86assembly"],"created_at":"2025-11-15T13:00:37.649Z","updated_at":"2025-11-20T07:02:04.226Z","avatar_url":"https://github.com/flydeoo.png","language":"Assembly","funding_links":[],"categories":["Books and Guides"],"sub_categories":["Tutorials"],"readme":"# what is mya\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://repository-images.githubusercontent.com/717717871/cb51134d-cf2a-4552-b633-7acae2573303\" alt=\"mya\" style=\"width: 700px;\"\u003e\n\u003c/p\u003e\n\n**`mya`** is a fun project to create a tiny OS from scratch using **x86 assembly** and **C programming language**.\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n# how to use\nYou can either read each episode from the [doc section](#docs) or [Medium](#other-media).\n\nFor each episode that includes code, there is a corresponding [release](https://github.com/flydeoo/mya/releases) with the same name as the episode.\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n# docs\n\n- [episode 0: introduction to the journey of making tiny OS](https://github.com/flydeoo/mya/blob/main/docs/episode%200%3A%20introduction%20to%20the%20journey%20of%20making%20tiny%20OS.md)\n\u003cbr\u003e\u003cbr\u003e![Static Badge](https://img.shields.io/badge/concepts-%20-blue) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[`introduction`]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n- [episode 1: my understanding of CPU and Memory interaction](https://github.com/flydeoo/mya/blob/main/docs/episode%201%3A%20my%20understanding%20of%20CPU%20and%20Memory%20interaction.md)\n\u003cbr\u003e\u003cbr\u003e![Static Badge](https://img.shields.io/badge/concepts-%20-blue) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[`the need for labels`, `era of uni programming and multiprogramming`, `linker and Hardware/software based relocation`, `segmentationm`, `OS loader`]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n- [episode 2: write our very first tiny bootloader](https://github.com/flydeoo/mya/blob/main/docs/episode%202%3A%20write%20our%20very%20first%20tiny%20bootloader.md)\n\u003cbr\u003e\u003cbr\u003e![Static Badge](https://img.shields.io/badge/concepts-%20-blue) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `flat binary`, `assembler base address`, `org directive`, `far jump` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003chr\u003e\n![Static Badge](https://img.shields.io/badge/accomplishments-%20-green) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `writing a simple bootloader`, `using bios interrupt 0x10`, `qemu kickstart` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n- [episode 3: Tracing Stack and Function Calls with GDB](https://github.com/flydeoo/mya/blob/main/docs/episode3%3A%20Tracing%20Stack%20and%20Function%20Calls%20with%20GDB.md)\n\u003cbr\u003e\u003cbr\u003e![Static Badge](https://img.shields.io/badge/concepts-%20-blue) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `stack registers: SS, SP, BP` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003chr\u003e\n![Static Badge](https://img.shields.io/badge/accomplishments-%20-green) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `start using GDB`, `define stack`, `add some functionality to bootloader`, `start using makefile`, `trace stack` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n- [episode 4: CPU interaction with memory and IO](https://github.com/flydeoo/mya/blob/main/docs/episode%204%3A%20CPU%20interaction%20with%20memory%20and%20IO.md)\n\u003cbr\u003e\u003cbr\u003e![Static Badge](https://img.shields.io/badge/concepts-%20-blue) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `cpu interaction with RAM and ROM via address and control bus`, `CPU address space`, `binary black magic`, `Memory mapped I/O`, `Isolated mapped I/O` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n- [episode 5: switch to protected mode](https://github.com/flydeoo/mya/blob/main/docs/episode%205%3A%20switch%20to%20protected%20mode.md)\n\u003cbr\u003e\u003cbr\u003e![Static Badge](https://img.shields.io/badge/concepts-%20-blue) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `Global Descriptor Table (GDT)`, `CHS addressing`, `absolute vs relative addressing`, `protectd mode` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003chr\u003e\n![Static Badge](https://img.shields.io/badge/accomplishments-%20-green) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `writing second stage bootloader`, `implementing GDT`, `switch to protected mode`, `using bios interrupt 0x13 and CHS` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n- [episode 6: migrate preparation](https://github.com/flydeoo/mya/blob/main/docs/episode%206%3A%20migrate%20preparation.md)\n\u003cbr\u003e\u003cbr\u003e![Static Badge](https://img.shields.io/badge/concepts-%20-blue) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `why migrate to c` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003chr\u003e\n![Static Badge](https://img.shields.io/badge/accomplishments-%20-green) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `build toolchain (GCC, linker, assembler)` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n- [episode 7: migrate to C](https://github.com/flydeoo/mya/blob/main/docs/episode%207%3A%20migrate%20to%20C.md)\n\u003cbr\u003e\u003cbr\u003e![Static Badge](https://img.shields.io/badge/concepts-%20-blue) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `linker script`, `compiler and linker options: -nostdlib -lgcc -ffreestanding` , `C compilation environment: Freestanding and Hosted`, `C call conventions` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003chr\u003e\n![Static Badge](https://img.shields.io/badge/accomplishments-%20-green) \u003cbr\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e\u003cdl\u003e\u003cdd\u003e[ `writing linker script`, `migrate from assembly to C`, `start writing kernel with C` ]\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/dd\u003e\u003c/dl\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n# Upcoming episodes\n\n\n\n\u003e  More episodes will be determined soon.\n\n\n\n# other media\n\nYou can also access these episodes on Medium via this link: [flydeoo](https://medium.com/@thisisflydeoo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflydeoo%2Fmya","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflydeoo%2Fmya","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflydeoo%2Fmya/lists"}