DOS-like OS for Intel 8086 / NEC V30
Go to file
2019-10-18 21:48:29 +00:00
boot Remove misplaced data 2019-10-12 15:10:19 +00:00
com Rename programs/ to com/ 2019-10-18 14:43:28 +00:00
kernel Mask raw directory bit when giving drive number to int13 2019-10-17 19:19:12 +00:00
lib Meh 2019-10-16 21:09:31 +00:00
rom debug.rom: show banner when loaded 2019-10-18 21:48:29 +00:00
utils Cosmetic fixes for emulator 2019-10-08 19:54:13 +00:00
.gitignore Ignore emul binary in the future 2019-10-03 17:01:42 +00:00
Makefile Rename programs/ to com/ 2019-10-18 14:43:28 +00:00
README.md Cosmetic changes for README 2019-10-08 10:24:36 +00:00

Memory Layout

On a 8080, there are no segments, the addresses are as displayed.

On on the 8086, a single segment with a value of 0x0100 is assumed. This implies that the first 4k of memory are not used.

The BDOS may be recompiled for starting at a lower address, in this case, the minimum memory requirement may be less than 64k.

Start Size Function
0xF000 4k BDOS and hw drivers
var BDOS data
SP var Stack, growing down
Free memory
0x0100 up to stack Transient Program Area
0x0080 128 bytes Command line and disk buffer
0x0000 128 bytes System data area

Application program interface

It is using the call 5 convention with CP/M compatible syscall numbers.

File I/O is done via FCB blocks.