A fully custom operating system with Linux binary compatibility, enterprise server features, and advanced desktop environment.
_ __ ______ ______ __
| | / /___ / / __/__/_ __/__ _____/ /_
| | /| / / __ \/ / /_____/ / / _ \/ ___/ __ \
| |/ |/ / /_/ / / __/____/ / / __/ /__/ / / /
|__/|__/\____/_/_/ /_/ \___/\___/_/ /_/
WOLFTECH INNOVATIONS
Enterprise Server Operating System
- β Custom Bootloader - Animated boot sequence with WolfTech branding
- β 32-bit Protected Mode Kernel - Full interrupt handling and memory management
- β ELF Binary Loader - Can load and execute Linux ELF binaries!
- β Linux Syscall Compatibility - Translates Linux system calls to native calls
- β Driver Framework - Modular driver registration system
- β Employee Database - Full CRUD operations for employee management
- β SSO Server - Single Sign-On authentication system
- β Session Management - Secure session tracking with expiration
- β HTTP Web Server - Serves dashboard and API endpoints
- β REST API - Full API for employee and session management
- β
Wallpaper Engine - Multiple animated wallpaper types:
- Static backgrounds
- Gradient transitions
- Animated wave patterns
- Particle systems
- Matrix rain effect
- β Window Manager - Full window management with borders and titles
- β Enterprise Dashboard - Real-time system monitoring
- β Corporate Theme - Professional dark theme with WolfTech branding
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β APPLICATIONS & SERVICES β
β Employee DB | SSO Server | Web Dashboard | API β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β DESKTOP ENVIRONMENT (Userspace) β
β Wallpaper Engine | Window Manager | UI Framework β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β ELF LOADER & SYSCALL TRANSLATION β
β Binary Loader | Linux Compatibility Layer β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β KERNEL LAYER β
β Process Mgmt | Memory Mgmt | Driver Framework β
β Interrupts (Timer, Keyboard, Syscalls) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β HARDWARE LAYER β
β Framebuffer | Keyboard | Timer | VGA β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Ubuntu/Debian
sudo apt-get install nasm gcc make binutils gcc-multilib qemu-system-x86
# Fedora
sudo dnf install nasm gcc make binutils glibc-devel.i686 qemu-system-x86
# Arch Linux
sudo pacman -S nasm gcc make binutils lib32-gcc-libs qemu# Build the OS
make
# Run in QEMU
make run
# Run fullscreen
make run-fullscreen
# Debug mode (with GDB support)
make debug- 16-bit real mode β 32-bit protected mode transition
- Animated boot sequence with company branding
- Loads kernel from disk sectors
- Enables A20 line
- Sets up GDT (Global Descriptor Table)
- Memory Management: 4MB heap with alignment
- Process Management: Support for up to 64 processes
- ELF Binary Loader: Full 32-bit ELF support
- Syscall Handler: Linux syscall compatibility
- sys_exit (1)
- sys_write (4) - stdout/stderr
- sys_brk (45) - memory allocation
- Interrupt Handling: Timer, keyboard, syscalls
- Driver Framework: Pluggable driver system
typedef struct {
uint32_t id;
char username[32];
char full_name[64];
char email[64];
char department[32];
char role[32];
uint32_t access_level; // 1=user, 2=manager, 3=admin
uint8_t active;
} employee_t;Features:
- Store up to 1000 employees
- CRUD operations
- Search by username
- Access level management
typedef struct {
uint32_t session_id;
uint32_t employee_id;
uint32_t created_time;
uint32_t expiry_time;
uint8_t active;
char ip_address[16];
} sso_session_t;Features:
- Session creation and validation
- Automatic expiration (1 hour default)
- IP tracking
- Secure logout
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/sso/login |
Authenticate and create session |
| POST | /api/sso/logout |
Destroy session |
| GET | /api/employees |
List all employees |
| POST | /api/employees |
Add new employee |
| GET | /api/employees/{id} |
Get employee details |
| PUT | /api/employees/{id} |
Update employee |
| GET | /api/sessions |
List active sessions |
- Static: Solid color background
- Gradient: Smooth color transitions
- Animated Wave: Sine-wave based animations
- Particles: 100-particle system with physics
- Matrix: Code rain effect (coming soon)
wallpaper_config_t wallpaper = {
.type = WALLPAPER_ANIMATED_WAVE,
.color1 = COLOR_BG,
.color2 = COLOR_WOLF_BLUE,
.animation_speed = 1,
.enabled = 1
};- Multiple window support (up to 16 windows)
- Window decorations (title bar, borders)
- Close buttons
- Window types (normal, dashboard, employee)
- Focus management
- Real-time system status
- Employee count
- Session monitoring
- Uptime display
- Service health checks
WolfTech Corporate Theme:
Background: #0a0e1a (Deep Navy)
Panel: #1a1f35 (Dark Slate)
Window: #1e2330 (Charcoal)
Border: #2a3f5f (Steel Blue)
Accent: #00d4aa (Cyan Green)
Text: #e0e0e0 (Light Gray)
Success: #00ff88 (Bright Green)
Warning: #ffaa00 (Amber)
Error: #ff4444 (Red)
Wolf Blue: #0066ff (Brand Blue)
Wolf Cyan: #00ccff (Brand Cyan)
The system comes pre-loaded with 5 employees:
| Username | Name | Department | Role | Access Level |
|---|---|---|---|---|
| admin | Administrator | IT | System Administrator | 3 (Admin) |
| jsmith | John Smith | Engineering | Senior Developer | 2 (Manager) |
| mjones | Mary Jones | Sales | Sales Manager | 2 (Manager) |
| bwilson | Bob Wilson | Engineering | Junior Developer | 1 (User) |
| sjohnson | Sarah Johnson | HR | HR Manager | 2 (Manager) |
WolfTech OS can load and execute standard Linux ELF binaries!
- β ELF32 format
- β Program headers (PT_LOAD)
- β BSS section zero-initialization
- β Entry point execution
The OS translates Linux syscalls to native kernel calls:
// Linux program can call:
write(1, "Hello\n", 6); // Syscall 4
// Kernel translates to:
vga_print("Hello\n");// Compile on Linux:
gcc -m32 -nostdlib -static hello.c -o hello
// The kernel's ELF loader will:
1. Verify ELF magic number
2. Load program segments into memory
3. Initialize BSS
4. Create process entry
5. Jump to entry pointRegister custom drivers:
int my_driver_init(void) {
// Initialize hardware
return 0;
}
int my_driver_read(void *buf, size_t len) {
// Read from device
return len;
}
int my_driver_write(const void *buf, size_t len) {
// Write to device
return len;
}
// Register driver
register_driver("mydevice", my_driver_init,
my_driver_read, my_driver_write);// Create a process from ELF binary
load_elf_binary(binary_data, binary_size);
// Process info stored in:
process_t {
pid, entry_point, page_directory, name, state
}# Test employee database
./test_employee_db
# Test SSO server
./test_sso_server
# Test ELF loader
./test_elf_loader# Full system test
make test-integrationadd_employee(
"rjones", // username
"Robert Jones", // full name
"rjones@wolftech.io", // email
"Marketing", // department
"Marketing Manager", // role
2 // access level
);// Find employee
employee_t *emp = find_employee("jsmith");
// Create session
uint32_t session_id = sso_create_session(emp->id, "192.168.1.100");
// Validate session
if (sso_validate_session(session_id)) {
// Session is valid
}
// Logout
sso_destroy_session(session_id);// Set to gradient
wallpaper.type = WALLPAPER_GRADIENT;
wallpaper.color1 = 0xFF000033;
wallpaper.color2 = 0xFF003366;
// Set to animated wave
wallpaper.type = WALLPAPER_ANIMATED_WAVE;
wallpaper.animation_speed = 2;
// Set to particles
wallpaper.type = WALLPAPER_PARTICLES;
init_particles();- Session expiration (1 hour default)
- IP address tracking
- Access level enforcement
- Password hashing (simulated - use bcrypt in production)
- Secure session IDs
This OS demonstrates:
- Bootloader development
- Kernel programming
- Memory management
- Process management
- File format parsing (ELF)
- System call implementation
- Driver frameworks
- GUI development
- Network protocols (HTTP)
- Database systems
- Authentication systems
- Boot time: ~2 seconds
- Memory usage: ~60MB
- Frame rate: 30-60 FPS (wallpaper animations)
- Database: In-memory (very fast)
- Session lookup: O(n) - optimizable to O(1) with hash table
- Mouse support
- File system (FAT32)
- Network stack (TCP/IP)
- More syscall support
- 64-bit support
- Multi-core support
- Graphical login screen
- More wallpaper types
- Application launcher
- Terminal emulator
- Text editor
- No mouse support yet
- No file system (all in-memory)
- No networking (HTTP server is simulated)
- Limited syscall support
- Single-core only
This is an educational/demonstration project, but contributions are welcome!
Educational/Research purposes. Β© 2026 WolfTech Innovations
- OSDev Wiki - Invaluable OS development resource
- Intel x86 Architecture - For comprehensive documentation
- Linux Kernel - For syscall interface inspiration
- Tokyo Night Theme - Color scheme inspiration
For issues or questions, please refer to the documentation or create an issue.
Built with β€οΈ by WolfTech Innovations
"Innovation Through Code"