Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 1.47 KB

README.md

File metadata and controls

57 lines (44 loc) · 1.47 KB

The Nekosys OS

nekosys is an x86 operating system written from scratch

Build System

nekosys uses the custom NekoMake build system

Disk layout

  • Sector 0: MBR and boot.asm stage one loader: Loads Stage 2 so that we can use more than 512 bytes
  • Sector 1+: loader.asm stage two loader: Parses the FAT, loads the kernel into memory and executes it
  • The kernel is in a file called koneko.bin on the disk

The disk must be formatted with FAT-16. Neko's nkimg is a very useful tool for this job.

Memory layout

A map for nekosys' memory layout can be found at memory.md

Features

  • x86 (32-bit) kernel
  • pre-emptive multithreading
  • FAT-16 file system (vfs)
  • protected userspace
  • sometimes posix compliant
  • vesa hi-res graphics support
  • ...

Libraries

  • libc: Basic C functionality such as print, malloc etc.
  • libneko: Useful C++ tools library with containers, templates, etc.
  • libelf: Parser for ELF executables
  • libpng: PNG image loader (lodepng port)
  • ...

Userland

  • ...

Requirements

Building

 $  nkm 

made by Twometer