saitti/docs/roska/index.md

32 lines
1.1 KiB
Markdown
Raw Normal View History

2025-01-24 05:13:48 +02:00
# rOSka
Useless operating system that is *literally* trash
Probably written in FASM, who knows rly?
Source available at [https://git.jakest.us/roska](https://git.jakest.us/roska)
Run with multiboot (for example grub), yeah. It sets us a frmebuffer and stuff.
## Building and Running
- You need FASM to assemble source
- You need to boot the file using multiboot-compatible bootloader (grub is handy-dandy)
2025-03-12 07:36:55 +02:00
- To make a x86 bios compatible disk image for virtual machine or to burn onto a usb you need `grub-pc-bin` and `util-linux` or something along those lines. IDK, just refer the Makefile or something!
## SYSLINUX
1. Install syslinux package `sudo apt install syslinux`
2. Install syslinux to disk `sudo syslinux --install /dev/sdX`
3. Copy files and modify stuff
`sudo cp /usr/lib/syslinux/modules/ARCH/mboot.c32 /mntTARGET/`
`sudo cp /usr/lib/syslinux/modules/ARCH/libcom32.c32 /mntTARGET`
``` cfg title="/syslinux.cfg"
DEFAULT rOSka
LABEL rOSka
SAY rOSkataan...
2025-03-12 08:29:49 +02:00
KERNEL mboot.c32
APPEND roska.bin
2025-03-12 07:36:55 +02:00
```
4. Patch this literal crap to support plain TEXT mode