{"id":17930867,"url":"https://github.com/acasamit/ratios","last_synced_at":"2025-04-30T06:00:26.559Z","repository":{"id":259815075,"uuid":"873674040","full_name":"acasamit/RatiOS","owner":"acasamit","description":"RatiOS is a simple operating system kernel developed from scratch in C and Assembly for BIOS (not EFI) on the i386 architecture.","archived":false,"fork":false,"pushed_at":"2024-10-28T02:27:53.000Z","size":6354,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T13:11:52.191Z","etag":null,"topics":["assembly","c","kernel"],"latest_commit_sha":null,"homepage":"","language":"C","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/acasamit.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,"publiccode":null,"codemeta":null}},"created_at":"2024-10-16T14:36:48.000Z","updated_at":"2025-01-12T18:27:38.000Z","dependencies_parsed_at":"2024-10-28T06:22:52.825Z","dependency_job_id":null,"html_url":"https://github.com/acasamit/RatiOS","commit_stats":null,"previous_names":["acasamit/ratios"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acasamit%2FRatiOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acasamit%2FRatiOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acasamit%2FRatiOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acasamit%2FRatiOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acasamit","download_url":"https://codeload.github.com/acasamit/RatiOS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251651220,"owners_count":21621710,"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","c","kernel"],"created_at":"2024-10-28T21:18:17.979Z","updated_at":"2025-04-30T06:00:26.530Z","avatar_url":"https://github.com/acasamit.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RatiOS (simple i386 kernel from scratch)\n![RatiOS](https://i.imgur.com/mO8gPhw.png)\n\nRatiOS is a simple operating system kernel developed from srcatch in **C** and **Assembly** for **BIOS** (not EFI) on the **i386 architecture**. It includes core components like a Global Descriptor Table (GDT) and an Interrupt Descriptor Table (IDT), providing a basic foundation for memory segmentation and interrupt handling. \n- **GDT (Global Descriptor Table)**: The GDT manages memory segmentation in protected mode, defining memory segments for code and data.\n- **IDT (Interrupt Descriptor Table)**: The IDT handles interrupt vectors, allowing RatiOS to respond to hardware and software interrupts.\n## Features\n### Basic Shell\nRatiOS includes a basic shell with the following commands:\n- **`test`**: Runs a test function to print the memory addresses of two hardcoded stack variables.\n- **`lock`**: Locks the session; password to unlock is `ratio`.\n- **`echo`**: Prints text to the screen.\n- **`clear`**: Clears the screen.\n- **`exit`**: Turns off the machine.\n- **`shutdown`**: Turns off the machine.\n- **`halt`**: Halts all system processes.\n- **`reboot`**: Restarts the machine.\n### Keyboard Shortcuts\n- **Ctrl + S (Switch)**: Switches between two available workspaces.\n- **Ctrl + C (Color)**: Changes the text color.\n- **Ctrl + L (Lock)**: Locks the session.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facasamit%2Fratios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facasamit%2Fratios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facasamit%2Fratios/lists"}