Skip to content
项目

关于

极简、由多人协作编写的内核。

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Mellotron Kernel (MellOS)

A minimal, collaboratively written kernel

the most  v a p o r w a v e  OS

Why MellOS

Some ten years ago I was gifted a 1994 Compaq Presario, and I figured I could use it to learn how to write a simple operating system. In 2020 I started experimenting with some real mode programs, and eventually I moved on to writing a simple 32 bit kernel.

During the years the project gained some traction, and there are now several wonderful people that have contributed greatly to the project.

Some useful resources

Some of the resources I found most useful are the OSDEV wiki, osdever.net (from which I basically stole the part regarding interrupts), this keyboard scancode map, and of course the most fundamental of all resources: RTFM!!!

Another useful resource is the book "operating systems: principles and practice" by Thomas Anderson (no, not that Mr. Anderson) and Michael Dahlin. I used it to study for my OS class at university and I think it's a very good introduction to the subject.

Docs

WIP, there should be a markdown file in each directory, which will contain the docs. If you change or add something, try to integrate your change into the docs from now on.

Index


Building and Running

Anything-here

If you make a useful change or addition, you are allowed to use the anything_here file to write whatever you feel like writing; rules are:

  • You may only add content, not delete
  • Be polite
  • Be creative

Features

Current

  • GRUB Multiboot 1 compliant kernel
  • Interrupt request handling, keyboard and timer support
  • Paging
  • Dynamic memory allocation (kmalloc/krealloc/kfree...)
  • ATA disk driver
  • Simple shell
  • Very, very minimal file system
  • Text editor
  • Minimal VESA graphics driver
  • Mouse driver
  • Simple floppy disk driver

Funnies

  • Raycaster written in perk.
  • Passive juggling simulator
  • Frogs :frog:

Work in progress

  • Process scheduling
  • Graphics toolkit

Future

  • Spawning processes from the shell

探索相关项目

加载中…