Skip to content

jpbottaro/minios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minios 0.01

Simple and minimal x86 OS.

Requirements

Build

  • nasm
  • binutils
  • mtools

Test

  • qemu

Compilation - Use

Everything is done in the bin folder:

  • make - create the kernel binary and diskette image to boot bochs
  • make clean - clean all
  • make test - clean, build everything and start bochs with the new image

The 'hdimage' file in a MinisFs v2 image, and it is used by the kernel to boot. To edit its contents in linux, issue:

mount -o loop -t minix hdimage FOLDER

To create a new one:

dd if=/dev/zero of=NAME bs=1k count=BLOCK_NR
mkfs.minix -v NAME BLOCK_NR

Currently only MinixFS v2 is supported (that is what the -v flags creates)

Folders

  • kernel: basic kernel, including mm, interrupt handles, scheduler...
  • fs: file system source
  • drivers: device drivers (hard disk, serial port, tty, etc.)
  • apps: some applications to use with the system
  • lib: various generic functions (eg mystrncpy, mystrncmp)
  • bin: build system (makefile et al)
  • include: system-wide include files (eg. the list interface)
  • doc: docs (mainly in spanish)

Applications

Every app is in the apps/ folder. These are already compiled and placed in a bin/ folder inside the 'hdimage'. In case you want to change or add any:

  • Modify apps/ and call make.
  • Add the .pso (these are the excecutables of minios) to the bin/ folder in 'hdimage'

About

Ugly Minimal OS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published