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 adf67d9723 Rework fat boot sector, load FAT only once instead of partial 14 hours ago
boot Rework fat boot sector, load FAT only once instead of partial 14 hours ago
com WIP of asm86 1 week ago
inc Make kernel and fat.bs use BPB struct 1 week ago
kernel Fuck up the kernel, i have other ideas now 1 week ago
lib Revert "Remove unused stuff" 5 months ago
rom Remove skeleton of rom-based kernel 1 month ago
.gitignore i still dont know what im doing 6 months ago
Makefile Revert to more sensible kernel.bs boot scheme 3 days ago
README.md Improve build transparency (documentation and inline version number) 1 week ago
fix-rom.c Improve inline commenting 6 months ago

README.md

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

Building

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.