MenuetOS
2024-03-26 17:02:57 阿炯

MenuetOS是由大英帝国的高级程序员于2005年开始用纯汇编编写的操作系统。其未参考其他任何操作系统,更没有基于包括 Unix 或 POSIX 等为人熟知的常见标准。


MenuetOS is an operating system in development for PC, written completely in 64bit assembly language. Features include pre-emptive and real-time multitasking with multiprocessor support and Graphical User Interface. Menuet64 is released under License and Menuet32 under GPL. Menuet supports assembly programming for much faster, smaller and less resource hungry applications.



Menuet isn't based on other operating system nor has it roots within UNIX or the POSIX standards. The design goal has been to remove the extra layers between different parts of an OS, which normally complicate programming and create bugs.

Features

- Pre-emptive multitasking with 1000hz scheduler, multiprocessor, multithreading, ring-3 protection
- Responsive GUI with resolutions up to 1920x1080, 16 million colours
- Free-form, transparent and skinnable application windows, drag'n drop
- SMP multiprocessor support with up to 32 cpus
- Time critical process support: an uninterrupted process execution on any cpu
- Kernel/user mode pre-empting, including SMP
- Up to 100000 hz process scheduler, below millisecond audio latency
- IDE Editor/Assembler for applications
- USB 2.0 Classes: Storage, Printer, Webcam Video and TV/Radio support
- USB 1.1 Keyboard and Mouse support
- TCP/IP stack with Loopback & Ethernet drivers
- Email/ftp/http/chess clients and ftp/mp3/http servers
- Hard real-time data fetch
- Fits on a single floppy, boots also from CD and USB drives


其被压缩得非常之小,以至于可以放到一张 1.44MB 的软盘上,因此官网上提供了软盘镜像下载。提供了Windows工具要写到 A 盘,也就是软盘。官方说了支持 64 位和 32 位系统。而 64 位系统流行的今天怎么可能还用软盘呢,因此官网又提供了另外一种支持光盘镜像的方法。

但需要自己动手将 ISO-header 引导信息与前面说的 MenuetOS 磁盘镜像合并来生成可引导的 ISO 镜像文件。换言之:引导信息 + 磁盘镜像 = 可引导启动的完整 ISO 文件。先将 isohdr.zip 和 M6413970.zip 两个文件烧录,前者是镜像引导文件,后者是系统主体文件。这两个压缩包分别解压后各自放出两个文件,一个叫 isohdr ,另一个叫 M6413970.IMG。

Dos/Windows 系统使用copy /b 表示以二进制方式进行操作
copy /b isohdr + M6413970.img MenuetOS.iso

Unix/Linux 系统
cat isohdr M6413970.img > MenuetOS.iso

合并后也未能超过1.5MB。接下来用制作好的镜像启动,VirtualBox下的启动引导过程会非常快速。


文件资源管理器、文本编辑器,终端等基本的程序都有,不过用过后感觉还在起步阶段。它还带有表格编辑软件以及像计算器之类的小程序。还有一些复古游戏,比如 Quake 和 Doom 等等,官网上另提供一个 CD 下载。网卡连接方式选择桥接模式,控制芯片要选择 Intel PRO/1000 T Server (83543GC);然后在桌面的 SETUP 中设置界面中应用网卡驱动。开开始菜单,选择 SYSTEM > DRIVERS ,在驱动界面中确认网卡状态为正常工作状态。


再然后,点击开始菜单中的 INTERNET > SETUP > STACKCFG ,或是直接点击桌面的 STACKCFG。


在网卡配置中,点中 Ethernet 一项,并在右侧确认 IP 地址,可以是服务器自动分配,也可以手动设定。


自带的这个 HTTPC 浏览器并不支持 https 协议。另提供了 HTTP SERVER 和 ftp SERVER 等网络服务功能。

开机初始设置
前面说过它好像是个只读的系统,其实那只是它的某些开关在一开始就被关上了。当看到 MenuetOS 开机启动时,就在那个黑色背景界面出现时快速按下 ESC 键,就能进入到配置程序中。网卡、声卡之类的设备都可以在这儿预先设定好。类似于BIOS设置。

最新版本:1.5
于2024年1月上旬发布。

官方主页:http://www.menuetos.net/