DOS-like OS for Intel 8086 / NEC V30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nero 6bdb1da2ed Read disk geometry and DPT from BIOS 4 weeks ago
boot fat vbr: fix incorrect addition of partition offset 1 month ago
com WIP of asm86 2 months ago
inc Use uppercase non-struct constants for BPB 1 month ago
kernel Read disk geometry and DPT from BIOS 4 weeks ago
lib Revert "Remove unused stuff" 7 months ago
rom Remove skeleton of rom-based kernel 3 months ago
.gitignore i still dont know what im doing 9 months ago
Makefile Makefile: Fix KVM detection to not trigger on weird ass make versions 1 month ago Improve build transparency (documentation and inline version number) 2 months ago
fix-rom.c Improve inline commenting 8 months ago

Primary goals

  • Run on 8086 or up
  • Be able to load and execute a COM program from disk
  • Support for running programs in the NEC V30 8080 emulation mode

Secondary goals

  • CP/M syscall compatibility
  • Terminal emulator for COM1 (like picocom on linux)
  • Boot linux
  • Editor (nano or ed-like)
  • Self-hosting assembler


You can generate a 3.5” floppy image with make fd1440.img, a 5.25” floppy with make fd160.img.

Build requirements:

  • make
  • nasm
  • mtools >=4.0.20 (Debian buster or up)

Useful for testing:

  • C compiler
  • qemu-system-i386

The Makefile has other potentially interesting targets.