TinyCC 0.9.27 Compiler
Ported to run inside NyxOS ring-3 userspace. Emits 64-bit ELF executables directly to the EXT2 filesystem. Compiles and executes C applications in milliseconds with zero host dependencies.
A 64-bit operating system written from scratch in C and x86_64 Assembly — a preemptive kernel, a windowed desktop with the Selene web browser, a real TCP/IP stack, an EXT2 filesystem, and an in-OS C toolchain that self-hosts (TinyCC + xbm) plus the native N language. No libraries. Just the metal.
An interrupt-driven higher-half monolithic kernel engineered from first principles in C and NASM Assembly. Zero external runtime libraries.
Writes up to count bytes from buffer to open file descriptor. Checks user-space memory pointers before committing to VFS/framebuffer driver.
NyxOS renders a double-buffered 1080p compositor with live window dragging, drop shadows, and Selene — a native web browser that fetches live web pages over TCP/IP.
Every layer from PCI NIC ring descriptors up to an HTTP/1.1 server. Includes full-duplex nc and poll() I/O multiplexing.
NyxOS self-hosts. A ported TinyCC 0.9.27 compiles C code directly inside the operating system (tcc compiles tcc), paired with the xbm package manager and native N compiler.
Ported to run inside NyxOS ring-3 userspace. Emits 64-bit ELF executables directly to the EXT2 filesystem. Compiles and executes C applications in milliseconds with zero host dependencies.
The native binary package manager for NyxOS. Resolves recipe dependencies, manages disk storage in /mnt/bin, and installs user applications with checksum validation.
The native programming language designed specifically for NyxOS low-level applications. Compiled via ncc into fast, statically verified native machine code.
Persistent EXT2 filesystem with inode caching, sector write-through buffers, and hardware-accelerated 32-bit RGB framebuffer drawing primitives for graphics development.
Every build executes an exhaustive cryptographic test suite verifying PBKDF2-HMAC-SHA256, AES Key Wrap (RFC 3394), and SHA-256 primitives against NIST CAVP standards with zero warnings.
Build the kernel, boot the ISO in QEMU, forward network ports, and log in to the desktop.
Requires x86_64-elf-gcc or host GCC with 64-bit support.
git clone https://github.com/kazah-png/nyx-os.git
cd nyx-os
make -C kernel
Launches with GUI desktop, RTL8139 NIC, and EXT2 disk image.
qemu-system-x86_64 -cdrom NyxOS.iso \
-m 256M -nic user,model=rtl8139 \
-display sdl
PBKDF2-HMAC-SHA256 authenticated default credentials.
Username: nyx
Password: nyx
qemu-system-x86_64 -cdrom NyxOS.iso -m 256M -smp 2 -nic user,model=rtl8139 -audiodev dsound,id=snd0 -device sb16,audiodev=snd0 -vga std -display sdl
| Category | Commands | Description |
|---|---|---|
| System |
help
clear
nyxfetch
uname
date
version
reboot
|
System information, kernel version, diagnostics, clock, and ACPI reboot. |
| Files |
ls
cd
pwd
cat
touch
mkdir
rm
cp
mv
grep
|
VFS & EXT2 file manipulation, searching, directory traversal, and stream output. |
| Processes |
ps
mem
free
exec
spawn
jobs
kill
|
Preemptive process monitoring, memory layout inspect, job control, and signal dispatch. |
| Toolchain |
cc
xbm
ncc
tcc
|
In-OS C compiler & runner, package manager (xbm install), and N language toolchain. |
| Network |
ifconfig
dhcp
ping
setip
tcptest
tcpserve
nc
|
IP configuration, DHCP lease, ICMP echo with RTT, TCP client/server, and full-duplex netcat. |
| Applications |
selene
editor
paint
calc
gui
|
Launch Selene web browser, graphical text editor, paint studio, and window compositor. |
NyxOS. From scratch. No libraries. Just the metal.