Skip to content

CompeyDev/bad-apple-efi

Repository files navigation

bad-apple-efi

The bad apple video but bootable, powered by 🦀

Note

The EFI application does not actually include the audio, it has merely been ffmpeg'd into the demo video. Audio support would involve a complete refactor and removal of all reliance on GOP, and instead move towards writing directly to the frame buffer, so that PC Speaker can be used, which requires an exit of boot services. Pull requests are welcome!

Preview
bad-apple-efi.mp4

Usage

Source

The following guide assumes you have rustup and the base-devel installed. The package names are specific to Arch Linux, but install commands can be modified to equivalents for other distributions.

# Install prerequisites
sudo pacman -S qemu-base qemu-ui-gtk ovmf python3 python-pillow python-opencv

# Clone the repository
git clone https://git.devcomp.xyz/DevComp/bad-apple-efi.git

# Generate ASCII frames & compile EFI
make build

# Run in QEMU
make qemu-run

Precompiled

Soon.