[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114721":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":14,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":29,"discoverSource":30},114721,"bevel-os","andrisgauracs\u002Fbevel-os","andrisgauracs","A small Windows-95-style desktop OS for a single ESP32-S3 on a VGA monitor, written by Claude Fable 5.2",null,"C",133,26,51,2,0,52,79,16,76.19,"Other",false,"main",true,[],"2026-11-14 14:19:41","2026-11-23 18:42:37","# Bevel OS\n\n![Bevel OS desktop: the System window, the keyboard shortcut list and the Alt+Tab switcher](docs\u002Fimg\u002Fcover.png)\n\nA small graphical desktop operating system for one ESP32-S3 board, drawing a 640x480 VGA picture\nin 64 colours through six resistors. It has overlapping windows, a taskbar, a file manager, a text\neditor, a picture viewer, a terminal, Wi-Fi with a text web browser, and apps loaded from its own\ndrive as separate ELF files, including Snake and Doom.\n\nThe OS was written by an AI model, **Claude Fable 5.2**, working as a coding agent in Claude\nCode. The hardware bring-up before it (colour test, USB input, the 3D-printed box, and the brief\nfor the OS) was also done with Claude in an earlier session. A human did the physical work\n(wiring, plugging cables, 3D printing) and made a few decisions; every one of those actions is\nlogged in [INTERVENTIONS.md](INTERVENTIONS.md) and summarised [below](#what-the-human-did).\n\n## Screenshots\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd width=\"33%\">\u003Cimg src=\"docs\u002Fimg\u002Fapps.png\" alt=\"Files and the text editor\">\u003C\u002Ftd>\n\u003Ctd width=\"33%\">\u003Cimg src=\"docs\u002Fimg\u002Fdoom.png\" alt=\"Doom running in a window\">\u003C\u002Ftd>\n\u003Ctd width=\"33%\">\u003Cimg src=\"docs\u002Fimg\u002Fbrowser.png\" alt=\"The web browser showing FrogFind search results\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Files and the Text Editor\u003C\u002Ftd>\n\u003Ctd>Doom (shareware E1M1) as a loadable app\u003C\u002Ftd>\n\u003Ctd>The browser: FrogFind search results over Wi-Fi\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\nThese are pixel-exact framebuffer dumps taken over the serial port (`tools\u002Fbv.py dump`), shown\nat 2x, not photos. More in [captures\u002F](captures\u002F), all from the real board.\n\n## Contents\n\n- [Screenshots](#screenshots)\n- [What it does](#what-it-does)\n- [Hardware](#hardware)\n- [How it works](#how-it-works)\n- [Building and flashing](#building-and-flashing)\n- [Apps and files](#apps-and-files)\n- [Doom](#doom)\n- [Limitations](#limitations)\n- [What the human did](#what-the-human-did)\n- [Repository layout](#repository-layout)\n- [Licence](#licence)\n\n## What it does\n\n- Boots to the desktop in 0.7 s.\n- Windows move, resize, minimise, maximise and close; menus, dialogs, Alt+Tab, a task list\n  (Ctrl+Alt+Del). Everything works with the mouse alone and with the keyboard alone (F1 lists\n  every shortcut).\n- Built-in programs: Files, Text Editor, Picture Viewer (BMP, dithered to 64 colours), Terminal,\n  Settings, System Information, Tasks, Help, Benchmark, Widget Gallery, Network (Wi-Fi) and\n  Browser.\n- Loadable programs: ELF files in `\u002Fdisk\u002FApps`, run in their own task through a 24-function API\n  (`apps\u002Fbevel.h`). Included: Snake (4.8 KB), Hello, CrashTest and Doom.\n- A crash in an app's own code becomes an error dialog and the desktop keeps running; a hung app\n  is marked \"not responding\" and can be ended.\n- Original look in the mid-90s style: own bitmap fonts, icons and cursors (drawn as ASCII art in\n  `tools\u002Fassets\u002Fsrc\u002F`), no copied artwork.\n\nMeasured on the board (details in [docs\u002FPERF.md](docs\u002FPERF.md)):\n\n| | |\n|---|---|\n| Boot to desktop | 0.7 s |\n| Mouse pointer | 60 FPS, zero framebuffer writes per move |\n| Window drag, full contents, tear-free | 68 FPS (488x357 window) |\n| Full-screen redraw, tear-free | 76 FPS |\n| Doom (E1M1) | about 32 FPS |\n| Scan-out cost | 5.6% of one core, 0 late fills in every benchmark |\n| Keyboard-only test (`tools\u002Fkbtest.py`) | 34 of 34 steps |\n| Reset during a file write (`tools\u002Fpowercut.py`) | 12 of 12 boots with the drive intact |\n\n## Hardware\n\n### Parts\n\n- **ESP32-S3 board with 16 MB flash and 8 MB octal PSRAM (N16R8)**, chip revision v0.2. The board\n  used has two USB-C ports: **COM** (a WCH CH343 USB-serial chip; used for flashing, logs, the\n  serial tool and power) and **AUX** (the chip's native USB on GPIO19\u002F20, which must stay\n  unplugged because the firmware uses those pins as a USB host).\n- **Resistors for the DAC:** three 1 kΩ, and three 440 Ω made from two 220 Ω in series each.\n- **A VGA cable**, cut open, wired to the resistors and sync pins.\n- **Two 4-pad USB-C female breakouts** (pads V, G, D−, D+): one for the keyboard\u002Fmouse, one as\n  a 5 V power input.\n- **A 5 V USB charger** for the power-input breakout.\n- **A VGA monitor.** Optional: a VGA-to-HDMI adapter (one that takes a VGA *source*, with its own\n  USB power) and a VGA female-female gender changer, to view the screen through HDMI capture\n  or a network KVM. During development the screen was viewed through a JetKVM.\n- **A USB keyboard and mouse**, or a combined keyboard-and-mouse receiver (see\n  [Limitations](#limitations) about hubs).\n- Optional: the 3D-printed box in [enclosure\u002F](enclosure\u002F) (Blender scripts and STLs).\n\n\u003Cimg src=\"enclosure\u002Fout\u002Fpreview_exploded.png\" width=\"480\" alt=\"Render of the 3D-printed enclosure\">\n\n### VGA wiring (resistor DAC)\n\nEach colour channel uses two GPIOs joined after their resistors, a 2-bit DAC into the monitor's\n75 Ω input: about 0, 0.2, 0.45 and 0.65 V. Three channels of two bits give 64 colours (RGB222).\n\n| ESP32-S3 GPIO | Signal | Resistor | VGA pin |\n|---|---|---|---|\n| 4 | Red, high bit | 440 Ω (2 x 220 Ω) | 1 |\n| 5 | Red, low bit | 1 kΩ | 1 |\n| 6 | Green, high bit | 440 Ω | 2 |\n| 7 | Green, low bit | 1 kΩ | 2 |\n| 15 | Blue, high bit | 440 Ω | 3 |\n| 16 | Blue, low bit | 1 kΩ | 3 |\n| 17 | H-sync | none | 13 |\n| 18 | V-sync | none | 14 |\n| GND | Ground | | 5, 10, cable braid |\n\nThe pin numbers are in `main\u002Fvga.c`. The LCD peripheral's 8-bit bus maps D0-D5 to GPIO 5, 4, 7,\n6, 16, 15, so one byte is one pixel: `(B \u003C\u003C 4) | (G \u003C\u003C 2) | R`, each 0-3.\n\n**Video timing** (`main\u002Fvga.c`): 640x480 at 59.9 Hz, pixel clock 26.67 MHz (160 MHz \u002F 6),\nhorizontal 640 + 36 front porch + 102 sync + 70 back porch = 848, vertical 480 + 10 + 2 + 33 =\n525, both syncs negative; 31.45 kHz line rate. The standard 25.175 MHz clock needs the LCD\nperipheral's fractional divider, and the test monitor refused that signal, so only\ninteger-divided clocks are used.\n\nThe board in this build also has a wire from its 5V pin to VGA pin 9, but that pin of the board\nis input-only and carries no 5 V, so a VGA-to-HDMI adapter needs its own USB power.\n\n### USB input wiring\n\n| USB-C breakout pad | Connected to |\n|---|---|\n| D− | GPIO 19 |\n| D+ | GPIO 20 |\n| G | GND |\n| V | the board's 5V pin |\n\nThe board's 5V pin is input-only (it sits behind a diode and measured 0.7 V when the board ran\nfrom USB), so on its own it gives the breakout no power. A second breakout is wired as a power\ninput (V to the same 5V node, G to GND) and a USB charger is plugged into it. The breakouts have\nno CC resistors, so a USB-C-to-USB-C cable from a computer will not talk to them.\n\nMore detail: [docs\u002FHANDOFF.md](docs\u002FHANDOFF.md), [docs\u002FHANDOFF-AMENDMENT-USB.md](docs\u002FHANDOFF-AMENDMENT-USB.md),\n[docs\u002FNOTES.md](docs\u002FNOTES.md), [enclosure\u002FREADME.md](enclosure\u002FREADME.md).\n\n## How it works\n\nBevel OS runs on ESP-IDF 5.5.3 and FreeRTOS, which provide the boot chain, USB host stack, FAT,\nWi-Fi\u002FTLS and the scheduler. Everything visible is written from scratch (about 11 000 lines of\nC and a little assembly). The full description is in [docs\u002FOS-REPORT.md](docs\u002FOS-REPORT.md).\n\n- **VGA scan-out** (`main\u002Fvga.c`, `main\u002Fpie.S`): the RGB LCD peripheral runs in no-framebuffer\n  mode with two 10-line bounce buffers in internal RAM. Its interrupt calls a fill routine that\n  copies the next lines from the 300 KB framebuffer in PSRAM (a 128-bit SIMD loop when the buffer\n  is aligned), preloads the following lines into the cache, draws the mouse pointer on top as a\n  sprite, and records where the beam is. The pointer never touches the framebuffer.\n- **Compositor** (`main\u002Fcomp.c`, `main\u002Fgfx.c`): nothing draws straight into PSRAM, which is the\n  bottleneck (about 35 MB\u002Fs writes, shared with the display). Damage is tracked as rectangles,\n  painted strip by strip in a 20 KB internal-RAM buffer, then copied to PSRAM once, just behind\n  the beam. That gives tear-free updates with a single framebuffer; it also turned out cheaper\n  than not waiting, because the scan-out has just pulled those rows into the cache.\n- **Window manager and toolkit** (`main\u002Fwm.c`, `main\u002Fui.c`, `main\u002Fmenu.c`, `main\u002Fdlg.c`,\n  `main\u002Fshell.c`): z-order, focus, keyboard navigation, buttons, lists, text fields, sliders,\n  menus, dialogs, the taskbar and desktop. No LVGL.\n- **Cores:** the scan-out interrupt and the GUI task share core 1 (moving the interrupt to the\n  other core broke beam racing; see [docs\u002FPERF.md](docs\u002FPERF.md)). USB, the drive, the serial\n  channel and loaded apps run on core 0.\n- **Input** (`main\u002Fusb_input.c`, `main\u002Finput.c`): USB host HID on GPIO19\u002F20 with a report\n  descriptor parser, so boot keyboards, relative mice and absolute pointers all work. Hub support\n  is enabled in the USB host stack, and a watchdog revives the port after a failed enumeration.\n- **Storage** (`main\u002Fstorage.c`, `partitions.csv`): there is **no SD card**. The drive is a\n  12 MB wear-levelled FAT partition in the board's own flash, mounted at `\u002Fdisk`. It is formatted\n  automatically if it cannot be mounted. The bundled apps and sample files are also embedded in the\n  firmware and are written back to the drive when they are missing or when the firmware changes\n  (`\u002Fdisk\u002FSystem\u002Ffirmware.id`). Settings live in `\u002Fdisk\u002FSystem\u002Fsettings.ini`.\n- **Apps** (`main\u002Fapp_loader.c`, `apps\u002F`): position-independent ELF files loaded with Espressif's\n  `elf_loader` into PSRAM, each in its own task with a private canvas. Apps see only the function\n  table in `apps\u002Fbevel.h` plus a small C-library table; their memory and open files are tracked\n  and released when they exit or are ended.\n- **Wi-Fi and browser** (`main\u002Fnet.c`, `main\u002Fapp_net.c`, `main\u002Fapp_browser.c`): the radio starts\n  only when the Network panel or browser is opened or a network is saved. The browser does HTTP and\n  HTTPS GET, follows redirects, and lays out HTML as text: headings, lists, links, preformatted\n  text and simple search forms, pages up to 2 MB. No images, scripts or style sheets.\n- **Serial channel** (`main\u002Fserial.c`, `tools\u002Fbv.py`): a 2 Mbaud command line on the COM port\n  for framebuffer dumps (a PNG in 0.4 s), key and mouse injection, benchmarks and file upload.\n  This is how the agent saw and tested the screen.\n\n### Flash layout (`partitions.csv`)\n\n| Name | Type | Offset | Size |\n|---|---|---|---|\n| nvs | data\u002Fnvs | 0x9000 | 24 KB |\n| phy_init | data\u002Fphy | 0xF000 | 4 KB |\n| factory | app | 0x10000 | 3 MB |\n| storage | data\u002Ffat | 0x310000 | 12 MB |\n\n## Building and flashing\n\nRequirements: [ESP-IDF **v5.5.3**](https:\u002F\u002Fdocs.espressif.com\u002Fprojects\u002Fesp-idf\u002Fen\u002Fv5.5.3\u002Fesp32s3\u002Fget-started\u002F)\n(the version in `dependencies.lock`), target `esp32s3`. The checked-in `sdkconfig` and\n`sdkconfig.defaults` already select the target, 16 MB flash, octal PSRAM, the custom partition\ntable and the 2 Mbaud console.\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Fandrisgauracs\u002Fbevel-os\ncd bevel-os\n. $HOME\u002Fesp\u002Fesp-idf\u002Fexport.sh          # or wherever ESP-IDF v5.5.3 is installed\nidf.py build                            # downloads elf_loader and usb_host_hid on the first run\nidf.py -p PORT -b 921600 flash          # PORT = the board's COM port, e.g. \u002Fdev\u002Fcu.usbmodem... or \u002Fdev\u002FttyACM0\n```\n\nDo not run `idf.py set-target`; it would regenerate `sdkconfig`. `idf.py flash` writes the\nbootloader, the partition table and the app. The `storage` partition is not flashed: the\nfirmware formats it on first boot and fills it with the bundled files.\n\nThe prebuilt apps in `disk\u002FApps\u002F*.elf` are embedded into the firmware, so the build works without\nbuilding them first.\n\n### The serial tool\n\nOpening the COM port can reset the board, so `tools\u002Fbv.py` runs a small daemon that holds the\nport, logs to `build\u002Fserial.log` and serves commands on localhost. It needs `pyserial` (the\nESP-IDF Python environment has it). The port comes from `BV_PORT`, otherwise the first\n`\u002Fdev\u002Fcu.usbmodem*`, `\u002Fdev\u002FttyACM*` or `\u002Fdev\u002FttyUSB*` is used.\n\n```sh\npython3 tools\u002Fbv.py daemon &                         # hold the port\npython3 tools\u002Fbv.py dump screen.png                  # pixel-exact screenshot\npython3 tools\u002Fbv.py cmd \"key ctrl+esc\"               # inject a key (commands: handle_line() in main\u002Fserial.c)\npython3 tools\u002Fbv.py put local.txt \u002Fdisk\u002FDocuments\u002Flocal.txt   # copy a file to the drive\npython3 tools\u002Fbv.py quit                             # release the port before flashing\n```\n\nThe helper scripts (`tools\u002Fflash.sh`, `tools\u002Fbuild_apps.sh`, `tools\u002Fbuild_doom.sh`, ...) are zsh\nscripts written for the development Mac: they source ESP-IDF from `~\u002Fesp\u002Fesp-idf` and use the\nBSD `stat -f`. On Linux, adjust those two things.\n\n## Apps and files\n\nAn app is one C file that includes `apps\u002Fbevel.h` and exports\n`int app_main(const bevel_api_t *os, const char *arg)`. See `apps\u002FHello.c` and `apps\u002FSnake.c`.\n\n```sh\ntools\u002Fbuild_apps.sh                                  # apps\u002F*.c -> disk\u002FApps\u002F*.elf\npython3 tools\u002Fbv.py put disk\u002FApps\u002FSnake.elf \u002Fdisk\u002FApps\u002FSnake.elf\n```\n\nOr rebuild and flash the firmware, which embeds `disk\u002FApps\u002F*.elf` and writes them to the drive on\nthe next boot. Run an app from Files, the Bevel menu (Programs), or the Terminal (`run Snake`).\n\n## Doom\n\nDoom is a loadable app built from [doomgeneric](https:\u002F\u002Fgithub.com\u002Fozkl\u002Fdoomgeneric) (GPL v2,\nincluded in `third_party\u002Fdoomgeneric\u002F`) and the platform layer `apps\u002Fdoom\u002Fdoom_bevel.c`. It\nrenders 320x200 in 256 colours and is shown at 640x400, using each game pixel's four screen\npixels for a 2x2 dither into the 64-colour palette. Keyboard only, no sound (the board has no\naudio output).\n\n`Doom.elf` is already in `disk\u002FApps\u002F` and in the firmware. The game data is not in this\nrepository. `tools\u002Ffetch_doom.sh` downloads the shareware `doom1.wad` v1.9 from a third-party\nGitHub mirror,\n[github.com\u002FAkbar30Bill\u002FDOOM_wads](https:\u002F\u002Fgithub.com\u002FAkbar30Bill\u002FDOOM_wads), and checks its MD5\n(`f0cefca49926d00903cf57551d901abe`). Any shareware v1.9 `doom1.wad` with that checksum works;\nput it at `third_party\u002Fwad\u002Fdoom1.wad` and the script skips the download. Then copy it to the\ndrive (4.2 MB, about two minutes over the serial port):\n\n```sh\ntools\u002Ffetch_doom.sh                                  # downloads third_party\u002Fwad\u002Fdoom1.wad, checks the MD5\npython3 tools\u002Fbv.py put third_party\u002Fwad\u002Fdoom1.wad \u002Fdisk\u002FApps\u002Fdoom1.wad\n```\n\nTo rebuild `Doom.elf` from source: `tools\u002Fbuild_doom.sh`.\n\n## Limitations\n\n- **Two USB devices at once has not worked.** A single keyboard, a single mouse, or a combined\n  keyboard-and-mouse receiver works. Hub support is enabled but was never seen working: the\n  \"splitter\" tried was a Y-cable, not a hub, and two USB-C multiport dongles failed (one is not\n  detected at all, the other fails the first USB request).\n- **The browser is text only:** no images, JavaScript, style sheets or form POSTs. Google search\n  needs JavaScript and fails; typing words in the address bar searches FrogFind instead.\n- **The Wi-Fi password is stored in plain text** on the drive (`\u002Fdisk\u002FSystem\u002Fwifi.ini`).\n- **Loadable apps** get a canvas, events, files and a message box, but cannot create toolkit\n  widgets. An app that faults inside an OS call (for example, a bad pointer passed to a file call)\n  still restarts the system; faults in the app's own code are caught.\n- **doom1.wad is not restored** if the drive is reformatted (it is too big to keep a copy in the\n  firmware). Doom's saved games were not tested. Doom and the browser together were not tested;\n  with Wi-Fi on, free internal RAM drops from about 240 KB to about 125 KB.\n- **Tearing** was checked with the scan-out counters, not by eye.\n- **No real-time clock:** the taskbar shows uptime.\n- **The picture is 640 pixels on a line timed for 678**, so capture devices show narrow black\n  bars at the sides; a VGA monitor's auto-adjust removes them.\n- **Power loss:** the 12-of-12 test used resets during a file write. A real unplug was tested once\n  (the OS came back, but the JetKVM's USB input did not until a port watchdog was added; that fix\n  was not re-tested with the JetKVM).\n- PSRAM runs at 80 MHz. 120 MHz measured about 58% faster but is experimental in ESP-IDF, so it\n  is off.\n\n## What the human did\n\nThe full log, with times and reasons, is [INTERVENTIONS.md](INTERVENTIONS.md) (rows 0-38).\nIn short:\n\n- **Before the software started (row 0):** wired the resistor DAC, the VGA cable and the converter.\n- **Hardware bring-up (rows 1-26):**\n  - plugged and moved cables;\n  - three rewirings, each approved first: 5 V to VGA pin 9, the USB-C breakout on GPIO19\u002F20, and\n    the second breakout as a 5 V input;\n  - multimeter checks;\n  - described what the VGA monitor showed, before the agent could see the screen through a\n    JetKVM;\n  - allowed Chrome in a macOS privacy setting and typed a keyboard test;\n  - bought a replacement for a VGA converter that turned out to be the wrong direction;\n  - 3D-printed and fitted the enclosure.\n- **OS session (rows 27-38):**\n  - the JetKVM's USB cabling was already in place;\n  - decided not to use an SD card (so storage moved to internal flash);\n  - approved downloading doomgeneric and the shareware WAD;\n  - did an unplug\u002Freplug power test;\n  - tried USB splitters and dongles to get two input devices working;\n  - typed the Wi-Fi password on the board's keyboard and tried the browser.\n\nWhile the OS itself was built (renderer through Snake, tests and benchmarks), the human pressed\nno reset button, did no rewiring and plugged nothing in.\n\nHow the work went, including what failed and what the agent got wrong:\n[docs\u002FBRINGUP-SESSION-SUMMARY.md](docs\u002FBRINGUP-SESSION-SUMMARY.md) (hardware bring-up and\nenclosure) and [docs\u002FSESSION-SUMMARY.md](docs\u002FSESSION-SUMMARY.md) (the OS). The brief the agent\nwas given is [docs\u002FOS-BUILD-PROMPT.md](docs\u002FOS-BUILD-PROMPT.md).\n\n## Repository layout\n\n```\nmain\u002F            the OS: video, compositor, window manager, toolkit, shell, apps, storage,\n                 USB input, Wi-Fi, browser, serial channel\nmain\u002Fassets\u002F     fonts, icons and cursors as C arrays (generated by tools\u002Fassets\u002Fgen_assets.py)\napps\u002F            loadable apps and the app API header (bevel.h); apps\u002Fdoom\u002F is the Doom port\ndisk\u002F            files the firmware embeds and writes to the drive (Apps\u002F*.elf, Welcome.txt, Bevel.bmp)\ntools\u002F           bv.py serial tool, build\u002Fflash scripts, tests (kbtest.py, powercut.py), asset sources\nthird_party\u002F     doomgeneric (GPL v2); the Doom WAD is fetched, not committed\nenclosure\u002F       Blender scripts, STLs and renders for the 3D-printed box\ncaptures\u002F        framebuffer screenshots from the real board\ndocs\u002F            design notes, performance log, hardware notes, the build brief, session summaries\nINTERVENTIONS.md every manual action by the human\npartitions.csv   flash layout\nsdkconfig.defaults, sdkconfig   ESP-IDF configuration\n```\n\nDeep dives: [docs\u002FOS-REPORT.md](docs\u002FOS-REPORT.md) (what was built),\n[docs\u002FPERF.md](docs\u002FPERF.md) (every measurement and the experiments behind each decision),\n[docs\u002FNOTES.md](docs\u002FNOTES.md) (hardware and bring-up notes).\n\n## Licence\n\nBevel OS is released under the [MIT licence](LICENSE).\n\nDoom is the exception: `third_party\u002Fdoomgeneric\u002F` is GPL v2, so `apps\u002Fdoom\u002F` and the built\n`disk\u002FApps\u002FDoom.elf` are distributed under the GPL v2 as well. `Doom.elf` is a separate program\nthat the OS loads from the drive; the firmware also carries a copy of it so it can be restored to\nthe drive. If you distribute firmware images that include `Doom.elf`, the GPL's source\nrequirement applies to that part, and all of that source is in this repository. To build without\nDoom, remove `Doom.elf` from `EMBED_FILES` in `main\u002FCMakeLists.txt` and the `BUNDLED(Doom, ...)`\nline in `main\u002Fstorage.c`.\n\nThe Doom shareware data file (`doom1.wad`, id Software) is not included. The ESP-IDF components\n`elf_loader` and `usb_host_hid` (Apache-2.0) are downloaded by the component manager at build time.\n","Bevel OS 是一个运行在单颗 ESP32-S3 芯片上的微型图形化桌面操作系统，模拟 Windows 95 风格界面，通过电阻网络输出 64 色 VGA（640×480）信号。核心功能包括重叠窗口管理、任务栏、文件管理器、文本编辑器、图片查看器、终端、Wi-Fi 支持及内建文本网页浏览器（FrogFind）；支持从内置存储加载独立 ELF 格式应用（如 Snake、Doom）。系统具备进程隔离与崩溃恢复能力，所有 UI 元素均为原创位图资源。适用于嵌入式系统教学演示、复古 UI 实验、低资源图形框架验证等场景。","2026-11-24 04:49:29","CREATED_QUERY"]