Skip to content

foreverbell/BadAppleOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BadAppleOS

Description

Displaying BadApple animation in the protected mode of an x86 operating system.

This operating system is quite rough - it doesn't have a file system, task scheduler and other more advanced things.

So it is not an operating system indeed, just a program running on a bare computer LOL :)

Highlight

  • Except some necessary booting codes written in Assembly and C, other codes are purely written in C++(11).
  • A minimal STL port.
  • Artify plain texts to a great ASCII Art.
  • ... and this operating system is only 168K (depends on your compiler)!

Notice you may see some weird designs in this OS, this is because our preliminary goal is to make it fit into a floppy.

Toolchains

Tested under Ubuntu 22.04.2 LTS with the following toolchains,

  • gcc (11.3.0)
  • nasm (2.15.05)
  • python (3.9.17)

I don't guarantee other versions of toolchains will work.

Build

BadAppleOS is multi-boot compliant, so you can boot it with GRUB. We also provide a minimal bootloader without GRUB.

No GRUB

make img

Run make qemu to load the OS under QEMU.

GRUB

make docker
make grub_iso

The docker step is sometimes necessary, because grub-mkrescue may not work properly under some systems.

Run make qemu_iso to load the OS under QEMU.

License

MIT

About

(touhou / 東方) x86 Operating System animating BadApple.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published