Skip to content
gradmnaPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

gubic (GUH-bih-ck)

TODO: ss

a huge work in progress, successful, cool:

  • kernel
  • operating system
  • desktop environment + window manager + 3d renderer
  • userland(?)
  • and so much more!

why "gubic"?

well, first of all, i used the totro fantasy name generator made by a kind lad.

second of all, it kind of sounds like "cubic" which sits well with the fact the whole desktop is a glorified 3d scene. :trollface:

thirdly, it sounds funny! can't a man have some fun with a random namegen? no? then go poop yourself! >:'(

why a 3d desktop?

i see, that most desktops try to look 3d, so i thought, if i wanted to have a 3d looking desktop, then why not just do one which is actually 3d?

where should i expect gubic to work nicely?

  1. the copy.sh v86 emulator made with wasm. why?: because it's cool that an os i made could run in just a browser tab. :)
  2. qemu. why?: it's the industry standard!

support not guaranteed, but probably works

  1. bochs. if you enable the vesa extensions for bochs, there might be some chance of gubic working.
  2. virt-manager. although would be cool, i haven't truly tried that out so soon, even though virt-manager virtualizes with the help of kvm/qemu.
  3. real hardware. if you disable secure boot (unless you build grub with uefi support? havent done that yet), gubic might just work, but don't expect zero missing drivers for your specific hardware.

todo

  1. do the gdt
  2. move mouse and keyboard to some separate driver or something like that
  3. way to disable the g key (for fun)
  4. separate keys which would be generated by holding shift

requirements…

…for building:

  1. qemu (if you set the RUN flag to 1)
  2. gcc (to compile utils for host environment)
  3. binutils
  4. grub tools (grub-file, grub-install, etc.) (or similar tools that insert a multiboot2 compatible bootloader)
  5. 32bit gcc (gcc -m32) (and probably gcc-multilib too? im not sure…)
RUN=1 ./build.sh

…for running

  1. normal hardware (emulators should work best)
  2. gdb (if GDB flag is enabled)
flag meaning
RUN pretty straightforward. if y, executes a qemu command (depending on your other args). this will be y when DEBUG=y and unspecified.
DEBUG if y, enables GDB and RUN unless specified otherwise. enables qemu debugcon piping to stdout.
GDB adds -S -s to qemu flags.
ANTICRASH adds a few anti crash flags to the qemu command. disables kvm.
VNC tells qemu to display gubic in a vnc server at port 5900 instead of opening a graphical window.
KDISASM whether to disassemble the entire kernel after building kernel.
LOG if not blank, qemu logs get piped to this flag's value plus a .log file extension.

to add extra flags to kernel compilation, feed some argv to the build script.

huge thanks to…

  1. the catk maintainers, who demonstrate examples of grub configuration and installation, qemu debugcon, and so much more!

note: i do NOT vibecode.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages