
Sylphide OS 将廉价微控制器变成具有图形桌面、鼠标支持和复古氛围的 1980 年代风格台式 PC。
现代微控制器已经变得非常强大,许多产品的处理能力在 1980 年代的家用电脑上是不可想象的。然而,大多数仍然无法运行像 Linux 这样的成熟操作系统,主要是因为它们缺少内存管理单元 (MMU),并且 RAM 相对有限。然而,这并不意味着它们无法提供桌面计算体验。开发者 Thomas Capricelli 正通过 Sylphide OS 证明这一点,这是一个开源操作系统,旨在将基于微控制器的硬件变成类似老式家用电脑的设备。
与使用原始组件或模拟来重现老式机器的复古计算项目不同,Sylphide OS 采取了不同的方法。它使用现代、廉价的微控制器来构建全新的计算机,捕捉 1980 年代和 1990 年代初与硬件交互的感觉。目标不是模拟任何特定机器,而是重现那个时代受限的计算环境。
对于 Capricelli 来说,一台计算机需要的不仅仅是处理器和几个 GPIO 引脚。它应该支持键盘和鼠标,通过标准 VGA 或 HDMI 连接输出视频,并具有存储能力。一个合适的帧缓冲区也是必需的,而不是即时生成视频信号。网络连接对 Capricelli 来说也是一个很大的加分项。Sylphide OS 支持所有这些功能,使微控制器看起来更像是单板计算机。
Sylphide OS 依赖于 FreeRTOS,这是一种轻量级的实时操作系统,常用于嵌入式应用。FreeRTOS 处理底层任务管理,而 Sylphide OS 提供创建桌面环境所需的硬件驱动程序、图形渲染、用户界面和应用程序。
该软件主要用 C 和 C++ 编写,一些平台特定的驱动程序使用了汇编语言。资源效率是一个主要考量,因为该操作系统旨在跨能力差异巨大的硬件运行,包括具有单色显示器、小帧缓冲区和极少 RAM 的系统。
Sylphide OS 目前支持三个硬件平台:Olimex ESP32-P4-PC,这是旗舰目标;一个使用 RP2350 微控制器并带有 VGA 和 USB 的极简 Raspberry Pi Pico 2 配置;以及基于 FabGL 并具有 VGA 输出和 PS/2 输入的硬件。还提供了 Linux 托管的模拟器以简化开发。
该项目仍处于 0.1 版本,但它已经拥有一个带有窗口、窗口管理器、菜单和桌面图标的图形桌面。还有一个信息面板,在展示系统图形能力的同时显示硬件和软件细节。对于那些记得早期图形操作系统的人来说,这个界面应该看起来很熟悉。
前面还有很多工作要做。存储支持、网络连接、界面组件以及加载和执行外部程序的能力都在计划中,但尚未实现。目前,Capricelli 专注于构建稳定的基础并让硬件驱动程序正常工作。
硬件设计和源代码都可以在项目的代码库中获得,让感兴趣的开发者有机会尝试 Sylphide OS 或帮助将其扩展到更多的微控制器平台。
本文来源:https://www.hackster.io/news/sylphide-os-brings-desktop-computing-to-microcontrollers-446441a706b1
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。
Sylphide OS turns cheap microcontrollers into 1980s-style desktop PCs with a graphical desktop, mouse support, and a retro feel.
Modern microcontrollers have become very powerful, with many offering processing capabilities that would have been unimaginable in a home computer from the 1980s. Yet most still aren't capable of running a full-fledged operating system like Linux, largely because they lack a memory management unit (MMU) and have relatively limited RAM. That doesn't mean they can't provide a desktop computing experience, however. Developer Thomas Capricelli is demonstrating that with Sylphide OS , an open source operating system designed to turn microcontroller-based hardware into something resembling a vintage home computer.
Unlike retrocomputing projects that recreate vintage machines using original components or emulation, Sylphide OS takes a different approach. It uses modern, inexpensive microcontrollers to build entirely new computers that capture the feel of working with hardware from the 1980s and early 1990s. The goal isn't to emulate any particular machine, but rather to recreate the constrained computing environment of that era.
For Capricelli, a computer needs more than a processor and a few GPIO pins. It should support a keyboard and mouse, output video through a standard VGA or HDMI connection, and have storage capabilities. A proper framebuffer is also a requirement, rather than on-the-fly video signal generation. Networking is another big plus for Capricelli. Sylphide OS supports all of these features, making microcontrollers look more like single-board computers.
Sylphide OS relies on FreeRTOS, a lightweight real-time operating system commonly used in embedded applications. FreeRTOS handles low-level task management, while Sylphide OS provides the hardware drivers, graphics rendering, user interface, and applications needed to create a desktop environment.
The software is written primarily in C and C++, with some assembly language used for platform-specific drivers. Resource efficiency is a major consideration, as the operating system is intended to work across hardware with vastly different capabilities, including systems with monochrome displays, small framebuffers, and very little RAM.

Sylphide OS currently supports three hardware platforms: the Olimex ESP32-P4-PC, which serves as the flagship target; a minimalist Raspberry Pi Pico 2 configuration using the RP2350 microcontroller with VGA and USB; and FabGL-based hardware with VGA output and PS/2 input. A Linux-hosted emulator is also available to simplify development.
The project is still at version 0.1, but it already has a graphical desktop complete with windows, a window manager, menus, and desktop icons. There's also an information panel that displays hardware and software details while demonstrating the system's graphical capabilities. The interface should look familiar to anyone who remembers early graphical operating systems.
There's still plenty of work ahead. Storage support, networking, interface widgets, and the ability to load and execute external programs are all planned, but haven't been implemented yet. For now, Capricelli has concentrated on building a stable foundation and getting the hardware drivers working properly.
Both the hardware designs and source code are available in the project's repository , giving interested developers an opportunity to experiment with Sylphide OS or help bring it to additional microcontroller platforms.