x86-native 0.1.6

Cross-platform native x86 machine library with image, bootloader, and saved-state APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Architecture

![x86-native architecture](../assets/architecture.png)

The diagram separates the project into four layers.

| Layer | Role |
| --- | --- |
| Application and console | Native Rust programs that configure a machine and present terminal output. |
| Public API | `Image`, `Resource`, `SavedState`, `MachineConfig` and `Machine`. |
| Execution boundary | `ExecutionBackend` for CPU, memory, interrupts and devices. |
| Platform adapters | Filesystem, networking and terminal integration for Linux, macOS and Windows. |

The machine host owns resources and lifecycle state, while the execution backend owns instruction stepping and device semantics. This separation keeps the core crate portable and avoids browser-specific assumptions.

The editable diagram source is [`architecture.mmd`](../assets/architecture.mmd). It can be rendered locally with `manus-render-diagram` or any Mermaid-compatible tool.