ISO C++23 Native Executive
Dave Cutler DEC MICA / PRISM Heritage
40 Horizons Implemented

Subsystem Architecture Deep Dive

A pure clean-room reimplementation of the Dave Cutler NT operating system model, engineered with modern zero-overhead C++23 abstractions, compile-time type safety, and zero telemetry.

The Sovereign Ring 0 Executive Map

MicaNT eliminates legacy 16-bit and 32-bit compatibility bloat, focusing exclusively on a pristine AMD64 microkernel-executive hybrid with handle-based object security.

[USERLAND SUBSYSTEMS]
  • • Win32 ConHost Desktop (cmd.exe)
  • • Service Control Manager (services.exe)
  • • Local Security Authority (lsass.exe)
  • • Session Manager Subsystem (smss.exe)
  • • Client/Server Runtime (csrss.exe)
[SYSTEM SERVICE DISPATCHER]
  • • AMD64 SYSCALL / SYSRET Traps
  • • Fast System Call MSR Table (0xC0000082)
  • • User-Mode Pointer Probing & ProbeForRead
  • • Structured Exception Handling (SEH)
  • • Asynchronous I/O Completion Ports (IOCP)
[RING 0 EXECUTIVE CORE]
  • • Pure Object Manager (ob/)
  • • Process & Thread Scheduler (ps/, ke/)
  • • 4-Level PML4 Virtual Memory (mm/)
  • • TitanCrashDumpEngine (bugcheck/)
  • • Security Reference Monitor (se/)
[DEVICE DRIVERS & BUSES]
  • • USB 3.2 xHCI Host Controller (Horizon 40)
  • • PrismX Direct3D 11/12 & Vulkan ICD
  • • NTFS MFT & FAT32 VFS Drivers
  • • NDIS 6.x & RFC 793 TCP/IP Stack
  • • NVMe / AHCI Storage Controllers

Core Subsystem Specifications

Explore the engineering decisions behind each major kernel subsystem.

โšก

Pure Object Manager (ob/)

Directly inspired by Dave Cutlerโ€™s DEC PRISM and Windows NT Object Manager. Provides a unified, hierarchical namespace (\Device, \DosDevices, \KernelObjects, \BaseNamedObjects). Every kernel entity (File, Process, Thread, Mutex, Event, Semaphore, Section) is represented as an Object Header with type descriptors, atomic reference counts, handle table entries, and access mask validations.

๐Ÿ›ก๏ธ

Security Trinity (SAM, LSASS, Winlogon)

Clean-room implementation of the sovereign Windows security subsystem: SAM user account database with RFC 1320 MD4 NT-Password hash generation; LSASS process hosting the MSV1_0 authentication package with cryptographically secure NTLM challenge/response verification; and Winlogon secure desktop isolation managing user sessions and primary token synthesis.

๐ŸŽฎ

PrismX & Prism3D Graphics Engine

DirectX 11/12 and Vulkan 1.3 presentation engine built without proprietary headers. Implements IDXGIFactory1, IDXGISwapChain (with FLIP_DISCARD presentation models), software barycentric Gouraud triangle rasterizer with Z-buffer depth testing, and WDDM kernel thunking (dxgkrnl.sys / D3DKMT).

๐Ÿ’พ

NTFS & FAT32 Storage Drivers

Zero-dependency, clean-room filesystem engines: Full 1024-byte NTFS Master File Table (MFT) record parser, non-resident runlist decompressor, multi-extent file reading, and B-Tree index allocation. Paired with a resilient FAT32 cluster chain crawler and Virtual File System (VFS) mount table.

๐ŸŒ

NDIS 6.x & RFC 793 TCP/IP Stack

Dual-stack IPv4 and IPv6 network pipeline implementing ARP resolution, ICMP echo requests/replies, UDP datagram processing, and a full RFC 793 11-state TCP state machine (LISTEN, SYN_SENT, SYN_RECEIVED, ESTABLISHED, FIN_WAIT, CLOSE_WAIT, etc.). Exposes a standard Winsock 2 (ws2_32.dll) userland API.

โฑ๏ธ

Preemptive Scheduler & Quantum Accounting

Multicore AMD64 scheduler featuring 32 priority levels divided into Real-Time (16โ€“31) and Variable (0โ€“15) classes. Implements round-robin quantum tracking, priority boosting upon I/O completion, inter-processor interrupts (IPI), and low-latency task state segment (TSS) context switching.

๐Ÿšจ

Titan Crash Dump Engine (BugCheck)

High-reliability crash dump writer that operates at elevated IRQL (HIGH_LEVEL / 0x1F). Bypasses memory paging to write triage minidumps directly to NVMe/AHCI block sectors, captures full CONTEXT64 AMD64 register state and unwound stack frames, and presents the multi-theme sovereign crash screen.

โš™๏ธ

Service Control Manager (SCM)

Clean-room services.exe daemon managing system services, automatic/manual startup dependencies, state transitions (START_PENDING, RUNNING, STOP_PENDING), and shared svchost.exe service host worker isolation via Named Pipe RPC.

Experience MicaNT

Test the graphics pipeline in your browser, try the interactive terminal shell, or explore the complete 40 Horizons chronicle.

Explore PrismX 3D → Launch Interactive Terminal View Horizons Roadmap