r/osdev • • 22h ago

TETRIS!

24 Upvotes

Tetris (now also for 64-dem!)!

Footage included.

Repo: https://github.com/itay-insert/64-dem.git

So after working on my command line UI for my 64 operating system, I coded a bunch of user applications that can run on 64-dem, some of the famous ones are:

HELLO.ELF // prints hello world!

CALC.ELF // a basic calculator for the terminal

ClOCK.ELF // a clock

CMD.ELF // the terminal itself

MEM.ELF // allocates array and prints it's address

MEMCONS.ELF // shows important kernel and memory data in a simple text viewer

And later:

WRITE.ELF // a broken text editor i made

And the greatest:

VIM.ELF // a port of vim for my os with AI assistance

But even with vim ported, I decided it's still wasn't enough, so I opened vs code a few days ago and made a bunch of new files:

tetris.cpp

pieces.cpp

graphics.cpp

collision.cpp

And so TETRIS.ELF was born;

And here I wanted to share me testing it...

Can't wait to make DOOM.ELF and CALC2.


r/osdev • • 19h ago

[banan-os] 4 year update

Thumbnail
gallery
23 Upvotes

I guess it's time for my yearly update again. banan-os is my custom unix-like operating system written completely from scratch (kernel, libc, gui). It has now been a bit over 4 years since I started the project (mid November 2022).

Since the last post I have added some new features, including:

  • I wrote a portable X11 compatibility layer xbanan which allows me to run X11 programs while still using my own GUI environment. This allowed me to "easily" port gtk and webkitgtk, so I can now properly browse the web!
  • I finally added everything missing for selfhosting. banan-os can now be cloned, compiled and ran using qemu all within banan-os!
  • I have ported a lot of new software including mpv and gimp
  • A lot of stability and performance improvements + bug fixes

Some of the major features from earlier:

  • SMP
  • Network stack (TCP/UDP/IPv4)
  • USB stack (xHCI controller, HID devices)
  • Audio (AC97, iHDA)

I have not used AI at all for the development, except a few times to find sources or to diagnose issues in large ports.

The source code can be found at https://git.bananymous.com/Bananymous/banan-os or a github mirror at https://github.com/Bananymous/banan-os.


r/osdev • • 1h ago

Is the bootloader considered part of the system?

5 Upvotes

It says that I am building the operating system from scratch, but the bootloader is used limine to relieve me of the load of booting on 3 processor architectures


r/osdev • • 21h ago

WindogeOS v0.4

Thumbnail
gallery
3 Upvotes

rewriten whole kernel 🥀
also got a single xhci driver just for keyboard
and a C compiler that it's binaries implode (fixed later)

needs 6MB of RAM and 24MB of RAM to use the broken C compiler

repo: https://github.com/NoTheIdiot/WindogeOS