Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

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

Provide feedback

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

Saved searches

Use saved searches to filter your results more quickly

Sign up

A simple, text-based, single-tasking operating system written in C

License

NotificationsYou must be signed in to change notification settings

allkern/koalaos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KoalaOS

A simple, text-based, single-tasking operating system written in C

Features

  • Read-only access to ext2 filesystems
  • GPU-accelerated terminal renderer with limited support for ANSI escape sequences
  • Minimal implementation of standard Unix utilities (cat,ls, etc.)
  • Lightweight, minimal implementation of the C standard library
  • A built-in CHIP-8 emulator!
  • RTC support

Building

You have to get your hands on a MIPS R3000-compatible GCC toolchain, I usedmipsel-linux-gnu- and this is what the Makefile is currently configured to use.

Once you have an R3000 toolchain, building should be very easy, execute the following commands in this order:

makemake kernel

Additionally, runningmake fs (needs root access) will copy the compiled binaries to theroot folder (not/), and will generate a disk image for use in anemulator.

Configuration

src/config.h contains a couple configuration switches:

  • GPU_FONT16/GPU_FONT8 allow selecting the height of the font for the GPU-based renderer
  • TERM_GPU/TERM_UART allow selecting whether to use the GPU-based terminal or write all output to the emulated UART chip

Using

Warning

KoalaOS has become somewhat unstable after the introduction of dynamic memory mapping, use at your own risk

There's no real reason to use this OS other than fun or torture, but if you decide to do so anyways, here's some useful information!

(WIP)

Acknowledgements

KoalaOS' standard C library implementation contains code from GCC, MUSL and Apple Open Source

About

A simple, text-based, single-tasking operating system written in C

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp