UMIX/86 - the OS

Boot

  1. Boot sector reads the 128-sector kernel image to 1000:0000.
  2. Kernel mounts the volumes, loads users, loads UMIX.SYS.
  3. Loads CHAT.SYS (stub) and API.SYS, then runs C:\STARTUP.JCL before the first prompt.
  4. CGA shell on slot 0; serial sessions start on demand.

Memory map

segmentuse
1000kernel, 64 KB (full 128-sector image)
2000UMIX.SYS overlay (~40 KB): shell/editor/BASIC/JCL
2900TCP.SYS or CHAT.SYS window; chat history ring
3000, 4000program slots 11 and 12 (RUN)
6000..6B00per-session task stacks
6C00 / 6E00file and TFTP buffers
7000RAM disk (M:)
8000kernel stack
9000API.SYS overlay (JSON API)

Tasks and scheduler

13 slots: 0 is the CGA console, 1..10 are serial sessions, 11..12 are program slots. The timer runs a preemptive round-robin; QUANTUM sets 18..1000 Hz (default 18). A task yields with INT 60h AH=7 and exits with AH=8. Critical sections use a byte counter (crit) so the timer skips switching.

Storage

A: floppy, C: hard disk, M: RAM disk. FAT12 or FAT16, 8.3 names, 64 KB file limit. WRITE ON is required before anything writes to C:.

Shell

DIR TYPE COPY DEL REN EDIT RUN BASIC JCL USER USERS PRIV DRIVE WEB TFTP CHAT API PS MEM WHO SPEED QUANTUM BAUD CLS HELP BYE.

Limits

BASIC lines 61 chars; 16-bit integers; 63-char strings; static web pages 4000 bytes; API request bodies 767 bytes; one running BASIC job at a time.