31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
# 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)
|
|
- 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...
|
|
KERNEL mboot.c32
|
|
APPEND roska.bin
|
|
```
|
|
|
|
4. Patch this literal crap to support plain TEXT mode
|