# Windows 95 on ESP32-P4

在 ESP32-P4 与 10.1 英寸屏上运行 Windows 95 的复古实验。

Windows 95 running on an ESP32-P4 (Guition JC8012P4A1C, 10.1" 1280x800 MIPI-DSI) - a tiny386 port, with the measurements that found the real bottleneck

在 ESP32-P4 与 10.1 英寸屏上运行 Windows 95 的复古实验。

- id: winitboonkliang-windows95-esp32p4
- author: winitboonkliang
- repository: https://github.com/winitboonkliang/windows95-esp32p4
- license: BSD-3-Clause
- shape: wide
- scenes: tools
- boards: ESP32-P4
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/winitboonkliang-windows95-esp32p4/
- html_zh: https://esp32gallery.com/zh/projects/winitboonkliang-windows95-esp32p4/
- json: https://esp32gallery.com/data/catalog/projects/winitboonkliang-windows95-esp32p4.json

## Hardware

ESP32-P4. Verify the exact board revision, wiring and power requirements in the upstream build guide.

ESP32-P4；请在上游构建文档中核对具体板型、供电与接线。

## English

```
A Guition JC8012P4A1C — a 10.1-inch ESP32-P4 board — boots Windows 95 OSR2 from a microSD image on its 1280×800 MIPI-DSI panel, reaching the desktop in roughly 155 seconds. The project is a measurement exercise as much as a port: profiling showed Windows spending 97% of wall clock waiting on the disk, until a 4 KB-line, 2 MB block cache lifted hit rates to 78-87%. The guest gets 16 MB of RAM and runs at about 1.5 MIPS, close to a 386SX. It is built with ESP-IDF v5.4.x, and Wi-Fi is disabled on purpose because the hosted stack claims the SDMMC host. No Microsoft software ships here; supply your own licensed hard-disk image.
```

## 中文

```
把 1995 年的系统塞进一块 10.1 英寸的 Guition JC8012P4A1C，从 microSD 上的映像启动 Windows 95 OSR2，约 155 秒进桌面。真正的看点不是能开机，而是账怎么算：起先 97% 的墙钟耗在等 SD 卡，固件每 10 秒打一行 [perf]，把整机时间拆成执行、停机和阻塞在磁盘，最后靠 4 KB 行、2 MB 的块缓存把命中率提到 78-87%。客人机只有 16 MB 内存，速度约 1.5 MIPS，接近 386SX。ESP-IDF v5.4.x 构建，Wi-Fi 被刻意关掉，因为 esp_hosted 会抢走 SDMMC 主机。不含任何微软系统，硬盘镜像得自备授权，装不装得起来还得看手上那张卡的读写速度。
```
