Skip to content

Violyx v0.3.0

Choose a tag to compare

@Merecete Merecete released this 12 Nov 21:31
· 54 commits to main since this release

A keyboard-only 64-bit operating system for x86 PCs, with a retro text desktop in glowing violet. Written from scratch, with no Linux underneath.

What's new

  • C compiler: Violyx can now compile C programs on itself. Write a program in Write, then compile it in Commands with cc file.c -o file and start it right away. The compiler is based on chibicc and comes with its own small C library, and the SDK games compile with it too
  • XZN: many new formats:
    • AIFF, CAF, WavPack, True Audio (TTA), MP2, AC3 and DSD (.dsf and .dff)
    • Matroska audio (.mka) with MP3, FLAC, Vorbis, PCM, ALAC or AC3 inside
    • The info window now always shows the track that is playing, not the next one in the queue
  • CDs and DVDs: data discs can be read in drives on IDE, SATA or USB. A disc shows up as cd1 a few seconds after it is put in, with long file names from Joliet or Rock Ridge. Discs are read-only, and eject cd1 opens the tray. Violyx also starts from a CD or DVD as before
  • Clock: besides the analogue clock there is now a digital clock with the seven-segment digits from the screen saver. Switch with A and D or with Space
  • Help: the keyboard overview only opens on its own the first time Violyx starts. After that it is always available with F1
  • USB keyboards: keyboards that need a moment after being plugged in, or that do not report themselves as a simple boot keyboard, now work too. This includes gaming keyboards such as the Ducky One 3. The usb command shows more details about every device and the step where its setup stopped
  • Fixes: a custom background image could get damaged in places while XZN was open. Fixed

Features

  • Windowed text desktop, fully controlled by keyboard, with colour schemes and screen savers
  • Every program runs in protected memory, the built-in ones included
  • Web browser with HTTPS, images, tabs, bookmarks, search forms and downloads
  • Programs: Write, Files, Commands, Calculator, Calendar, Clock, Paint, Image viewer, XZN and Settings
  • XZN plays MP3, MP2, OGG, FLAC, WAV, AIFF, CAF, ALAC, WavPack, TTA, DSD, AC3 and Matroska audio
  • Games: Pong (also for two players), Invaders, Chomp, Mines, Snake, Bricks and Novastrike
  • Sound through HD Audio, AC'97 and USB
  • Built-in C compiler, installable programs (.vpk) and an SDK for your own programs in C, with dialogs and network access
  • Networking with DHCP, DNS and ping, wired on Intel E1000 and Realtek RTL8125B/RTL8126
  • IDE, AHCI, NVMe and USB storage, also behind USB hubs
  • CD and DVD drives on IDE, SATA and USB, read-only with ISO 9660, Joliet and Rock Ridge
  • FAT32 and exFAT USB sticks and SD cards with read and write support, formatting and hot-plugging
  • VioFS file system with folders and long file names
  • Installer for the entire disk or next to another system, with several safety prompts
  • English and German, with US and German keyboard layouts
  • Boots on BIOS and UEFI

Downloads

File Use
violyx_v0.3.0.iso Try Violyx in a VM without installing, or install it from there
violyx_v0.3.0.vdi Ready-to-use VirtualBox disk
violyx_v0.3.0.img Raw image for QEMU or for writing to a USB stick

In VirtualBox, choose Other/Unknown (64-bit), at least 512 MB of memory and the Intel PRO/1000 MT Desktop network adapter. For sound, enable audio with the Intel HD Audio or ICH AC97 controller. To pass through a USB stick, enable the USB 3.0 controller.

Known limitations

  • Experimental hobby project, tested in QEMU and VirtualBox and running on one real PC, including wired internet, USB sound, USB sticks, SD cards and a USB CD drive
  • The code has been reviewed for security, but Violyx is still a young hobby system, so please do not enter passwords or use it for anything sensitive
  • One network connection at a time: while one program loads, another one has to wait
  • Only one monitor: Violyx uses the screen the firmware switches on at startup
  • No sound over HDMI or DisplayPort: graphics cards only pass sound on with their own display driver
  • Browser: no JavaScript and no style sheets. WebP and SVG images are not shown. Downloads are saved in /downloads, /home or on USB drives
  • Network: Intel E1000 and Realtek RTL8125B/RTL8126 only, no Wi-Fi. The RTL8125B driver is untested on real hardware
  • USB requires an xHCI controller
  • USB sticks and SD cards: FAT32 and exFAT with 512-byte sectors, no NTFS. Formatting works for drives up to 2 TB. Card readers built into the PC without USB are not supported
  • CDs and DVDs: data discs only, no audio CDs and no UDF (many video DVDs and Blu-rays). Discs cannot be written
  • C compiler: programs use the Violyx SDK functions instead of a full standard C library
  • Installing next to another system needs a start by UEFI and a disk with a GPT partition table. Violyx does not shrink partitions, so make room first, for example in Windows Disk Management, and keep the BitLocker recovery key at hand if BitLocker is on
  • Partition install is tested in QEMU, not yet on real hardware

See the README for keyboard shortcuts and full documentation.