ClassicOS
An x86 32 biit Operating System for 386, 486, Pentium class (P-60 to 233MHz, Pentium II, P3, P4, etc)
Install / Use
/learn @gbowne1/ClassicOSREADME
ClassicOS
ClassicOS is a 32-bit Intel x86 operating system built from scratch using C, NASM, and GCC. Designed for 386, 486, and Pentium-class CPUs, it runs in protected mode, outputs to VGA text mode and serial ports, and supports floppy/HDD boot with basic FAT support.
✨ Features
- MBR bootloader at
0x7C00 - Switch to protected mode with GDT
- A20 gate enabling
- Simple FAT12/FAT16 disk loader stub
- VGA text output (
0xB8000) - Serial COM1 support (
0x3F8) - Basic kernel (
kmain) written in C - Makefile-based build system
- Bootable floppy image for testing in QEMU
⚙️ Requirements
You’ll need the following tools installed:
nasmgcc(targeting i386)ldmakeqemu-system-i386
Optional:
gdbvncviewer(TigerVNC or similar)
🛠️ Building ClassicOS
Clone repository:
git clone https://github.com/gbowne1/ClassicOS.git
cd ClassicOS
Run configure script to build a cross-compiler toolchain for i386-elf:
./configure
Source the .build.env file to add the cross-compiler toolchain to your PATH:
source .build.env
Build the kernel:
make
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
