https://github.com/jdah/tetris-os Skip to content Sign up Sign up * Why GitHub? Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Project management - + Integrations - + GitHub Sponsors - + Customer stories- * Team * Enterprise * Explore + Explore GitHub - Learn and contribute + Topics - + Collections - + Trending - + Learning Lab - + Open source guides - Connect with others + The ReadME Project - + Events - + Community forum - + GitHub Education - + GitHub Stars program - * Marketplace * Pricing Plans - + Compare plans - + Contact Sales - + Education - [ ] [search-key] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up Sign up {{ message }} jdah / tetris-os * Notifications * Star 833 * Fork 25 An operating system, but it only plays Tetris. MIT License 833 stars 25 forks Star Notifications * Code * Issues 4 * Pull requests 2 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights master Switch branches/tags [ ] Branches Tags Nothing to show {{ refName }} default View all branches Nothing to show {{ refName }} default View all tags 1 branch 0 tags Go to file Code Clone HTTPS GitHub CLI [https://github.com/j] Use Git or checkout with SVN using the web URL. [gh repo clone jdah/t] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching Xcode If nothing happens, download Xcode and try again. Go back Launching Visual Studio If nothing happens, download the GitHub extension for Visual Studio and try again. Go back Latest commit @jdah jdah Update README.md ... 3b458cf Apr 19, 2021 Update README.md 3b458cf Git stats * 8 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time bin Literally everything Apr 18, 2021 images Update to screenshot Apr 18, 2021 src Remove object files Apr 18, 2021 .gitignore Literally everything Apr 18, 2021 LICENSE LICENSE and README.md Apr 18, 2021 Makefile Literally everything Apr 18, 2021 README.md Update README.md Apr 19, 2021 View code TETRIS-OS: An operating system that only plays Tetris. Features: Resources Used Running Mac OS Unix-like Windows Real hardware README.md TETRIS-OS: An operating system that only plays Tetris. screenshot Features: * It's Tetris. * 32-bit (x86) * Fully custom bootloader * Soundblaster 16 driver * Custom music track runner * Fully hardcoded tetris theme * Double-buffered 60 FPS graphics at 320x200 pixels with custom 8-bit RGB palette Resources Used * osdev.org wiki * Sortix * ToaruOS * James Molloy's Kernel Development Tutorials Running NOTE: This has only been tested in an emulator. Real hardware might not like it. Mac OS $ make iso $ qemu-system-i386 -drive format=raw,file=boot.iso -d cpu_reset -monitor stdio -device sb16 -audiodev coreaudio,id=coreaudio,out.frequency=48000,out.channels=2,out.format=s32 Unix-like Use the same command as Mac OS, but try with pulseaudio as the audio device. Windows Absolutely no idea. Real hardware You probably know what you're doing if you're going to try this. Just burn boot.iso onto some bootable media and give it a go. If things break, try disabling all of the music since you probably don't have something with a SB16 in it. About An operating system, but it only plays Tetris. Resources Readme License MIT License Releases No releases published Packages 0 No packages published Languages * C 91.6% * Assembly 6.3% * Makefile 1.5% * C++ 0.6% * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.