p.enthalabs

GitHub - hrasityilmaz/TamgaOs: Experimental BareMetal RTOS written in Zig and C and Arm Assembly

Skip to content

Navigation Menu

Toggle navigation

[](https://github.com/)

Sign in

Appearance settings

* Platform

* AI CODE CREATION

- GitHub Copilot Write better code with AI

- GitHub Copilot app Direct agents from issue to merge

- MCP Registry New Integrate external tools

* DEVELOPER WORKFLOWS

- Actions Automate any workflow

- Codespaces Instant dev environments

- Issues Plan and track work

- Code Review Manage code changes

* APPLICATION SECURITY

- GitHub Advanced Security Find and fix vulnerabilities

- Code security Secure your code as you build

- Secret protection Stop leaks before they start

* EXPLORE

- Why GitHub

- Documentation

- Blog

- Changelog

- Marketplace

View all features

* Solutions

* BY COMPANY SIZE

- Enterprises

- Small and medium teams

- Startups

- Nonprofits

* BY USE CASE

- App Modernization

- DevSecOps

- DevOps

- CI/CD

- View all use cases

* BY INDUSTRY

- Healthcare

- Financial services

- Manufacturing

- Government

- View all industries

View all solutions

* Resources

* EXPLORE BY TOPIC

- AI

- Software Development

- DevOps

- Security

- View all topics

* EXPLORE BY TYPE

- Customer stories

- Events & webinars

- Ebooks & reports

- Business insights

- GitHub Skills

* SUPPORT & SERVICES

- Documentation

- Customer support

- Community forum

- Trust center

- Partners

View all resources

* Open Source

* COMMUNITY

- GitHub Sponsors Fund open source developers

* PROGRAMS

- Security Lab

- Maintainer Community

- Accelerator

- GitHub Stars

- Archive Program

* REPOSITORIES

- Topics

- Trending

- Collections

* Enterprise

* ENTERPRISE SOLUTIONS

- Enterprise platform AI-powered developer platform

* AVAILABLE ADD-ONS

- GitHub Advanced Security Enterprise-grade security features

- Copilot for Business Enterprise-grade AI features

- Premium Support Enterprise-grade 24/7 support

- Pricing

Search or jump to...

Search code, repositories, users, issues, pull requests...

Search

Clear

Search syntax tips

Provide feedback

We read every piece of feedback, and take your input very seriously.

- [x] Include my email address so I can be contacted

Cancel Submit feedback

Saved searches

Use saved searches to filter your results more quickly

Name

Query

To see all available qualifiers, see our documentation.

Cancel Create saved search

Sign in

Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

{{ message }}

hrasityilmaz/**TamgaOs**Public

- NotificationsYou must be signed in to change notification settings

- Fork 0

- Star 6

- Code

- Issues 0

- Pull requests 0

- Actions

- Projects

- Security and quality 0

- Insights

Additional navigation options

- Code

- Issues

- Pull requests

- Actions

- Projects

- Security and quality

- Insights

[](https://github.com/hrasityilmaz/TamgaOs)

hrasityilmaz/TamgaOs

main

**1**Branch**0**Tags

[](https://github.com/hrasityilmaz/TamgaOs/branches)[](https://github.com/hrasityilmaz/TamgaOs/tags)

Go to file

Code

Open more actions menu

Folders and files

| Name | Name | Last commit message | Last commit date | | --- | --- | --- | --- |

| ## Latest commit ![Image 3: hrasityilmaz](https://github.com/hrasityilmaz)hrasityilmaz stm32H7 file included to docs Jun 30, 2026 f1a7369·Jun 30, 2026 ## History 166 Commits Open commit details [](https://github.com/hrasityilmaz/TamgaOs/commits/main/)166 Commits |

| [docs](https://github.com/hrasityilmaz/TamgaOs/tree/main/docs "docs") | [docs](https://github.com/hrasityilmaz/TamgaOs/tree/main/docs "docs") | [stm32H7 file included to docs](https://github.com/hrasityilmaz/TamgaOs/commit/f1a736980e3e14122a0209338b184388f44649b6 "stm32H7 file included to docs") | Jun 30, 2026 |

| [images](https://github.com/hrasityilmaz/TamgaOs/tree/main/images "images") | [images](https://github.com/hrasityilmaz/TamgaOs/tree/main/images "images") | [gif file tamgaos rtos](https://github.com/hrasityilmaz/TamgaOs/commit/8cbe3654586bd8994be41ee9be371a7d9580a7b9 "gif file tamgaos rtos") | Jun 28, 2026 |

| [kernels](https://github.com/hrasityilmaz/TamgaOs/tree/main/kernels "kernels") | [kernels](https://github.com/hrasityilmaz/TamgaOs/tree/main/kernels "kernels") | [populated sched_wake_task to scheduler.c](https://github.com/hrasityilmaz/TamgaOs/commit/5678fa926aed3fadec72b373c378af5651c1bb49 "populated sched_wake_task to scheduler.c") | Jun 29, 2026 |

| [.clangd](https://github.com/hrasityilmaz/TamgaOs/blob/main/.clangd ".clangd") | [.clangd](https://github.com/hrasityilmaz/TamgaOs/blob/main/.clangd ".clangd") | [clangd for editor warnings](https://github.com/hrasityilmaz/TamgaOs/commit/e17912695da061f036f979f742ef7c7edd261e95 "clangd for editor warnings") | Jun 13, 2026 |

| [.gitignore](https://github.com/hrasityilmaz/TamgaOs/blob/main/.gitignore ".gitignore") | [.gitignore](https://github.com/hrasityilmaz/TamgaOs/blob/main/.gitignore ".gitignore") | [Added hex also to ignore](https://github.com/hrasityilmaz/TamgaOs/commit/9c7576ada7d61a6bd2394c217cd0b58b313f0780 "Added hex also to ignore") | Jun 18, 2026 |

| [README.md](https://github.com/hrasityilmaz/TamgaOs/blob/main/README.md "README.md") | [README.md](https://github.com/hrasityilmaz/TamgaOs/blob/main/README.md "README.md") | [README updated](https://github.com/hrasityilmaz/TamgaOs/commit/ec3d05bdb25db1748823db43d635b2cdf3f370d5 "README updated") | Jun 29, 2026 | | View all files |

Repository files navigation

- README

More items

TamgaOS

[](https://github.com/hrasityilmaz/TamgaOs#tamgaos)

Bare-metal RTOS written in C and ARM assembly for the NXP K64F (Cortex-M4).

Started as a learning project — bootloaders, memory layouts, context switching, executable formats.

Later will add zig port

![Image 4: TamgaOS](https://github.com/hrasityilmaz/TamgaOs/blob/main/images/tamgaos_rtos.gif)![Image 5: TamgaOS](https://github.com/hrasityilmaz/TamgaOs/blob/main/images/tamgaos_rtos.gif)[](https://github.com/hrasityilmaz/TamgaOs/blob/main/images/tamgaos_rtos.gif)

ARM port — K64F (Cortex-M4)

[](https://github.com/hrasityilmaz/TamgaOs#arm-port--k64f-cortex-m4)

Currently active. All kernel work targets the NXP K64F board. Zig port planned for later.

**Boot**

- Startup file

- Linker script (linker.ld)

- MCG clock init

**Kernel**

- Preemptive scheduler

- PendSV context switch

- PSP per-task isolation

**Sync**

- Mutex (LDREX/STREX)

- Semaphore

- Critical section (cpsid/cpsie)

**Drivers**

- SysTick

- UART

- PIT timer

Still improving — development notes at https://auctra.app

x86 port — Zig & C kernel

[](https://github.com/hrasityilmaz/TamgaOs#x86-port--zig--c-kernel)

Experimental dual implementation for comparing low-level Zig vs C. Boots via Limine with a Multiboot2 header.

**Implemented**

- GDT setup

- Serial monitor

- ISO via xorriso

- Zig + C comparison

**Boot output**

``` Zig -> TamgaOS KERNEL OK C -> TamgaOS __C__ GDT OK __C__ Kernel OK __C__ ```

![Image 6: TamgaOS](https://github.com/hrasityilmaz/TamgaOs/blob/main/images/tamgaos.gif)![Image 7: TamgaOS](https://github.com/hrasityilmaz/TamgaOs/blob/main/images/tamgaos.gif)[](https://github.com/hrasityilmaz/TamgaOs/blob/main/images/tamgaos.gif)

Build

[](https://github.com/hrasityilmaz/TamgaOs#build)

ARM — K64F

[](https://github.com/hrasityilmaz/TamgaOs#arm--k64f)

undefinedshell make clean make make flash undefined

x86 — Zig

[](https://github.com/hrasityilmaz/TamgaOs#x86--zig)

undefinedpowershell zig build -Doptimize=ReleaseFast .\mkiso.ps1 qemu-system-i386 -cdrom .\TamgaOS.iso -boot d -serial stdio undefined

x86 — C

[](https://github.com/hrasityilmaz/TamgaOs#x86--c)

undefinedpowershell .\mkiso_c.ps1 qemu-system-i386 -cdrom .\TamgaOS_C.iso -boot d -serial stdio undefined

Allredy x86 part will not continue active development will be on ARM part !

- * *

Not a production OS. Development log: https://auctra.app

About

Experimental BareMetal RTOS written in Zig and C and Arm Assembly

[auctra.app/](https://auctra.app/ "https://auctra.app/")

Topics

[c](https://github.com/topics/c "Topic: c")[arm](https://github.com/topics/arm "Topic: arm")[kernel](https://github.com/topics/kernel "Topic: kernel")[zig](https://github.com/topics/zig "Topic: zig")[osdev](https://github.com/topics/osdev "Topic: osdev")[cortex-m4](https://github.com/topics/cortex-m4 "Topic: cortex-m4")[cortex-m7](https://github.com/topics/cortex-m7 "Topic: cortex-m7")[devlog](https://github.com/topics/devlog "Topic: devlog")[devlogs](https://github.com/topics/devlogs "Topic: devlogs")[osdevel](https://github.com/topics/osdevel "Topic: osdevel")

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

**6** stars

Watchers

**0** watching

Forks

**0** forks

Report repository

Releases

No releases published

Packages 0

No packages published

Contributors 1

- ![Image 8: @hrasityilmaz](https://github.com/hrasityilmaz)**hrasityilmaz**Rasit

Languages

- C 70.8%

- Zig 16.0%

- Assembly 7.9%

- Makefile 3.6%

- Linker Script 1.2%

- PowerShell 0.5%

Footer

[](https://github.com/) © 2026 GitHub,Inc.

Footer navigation

- Terms

- Privacy

- Security

- Status

- Community

- Docs

- Contact

- Manage cookies

- Do not share my personal information

You can’t perform that action at this time.