-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 1,30 @@ | ||
# TETRIS-OS | ||
# TETRIS-OS: An operating system that only plays Tetris. | ||
|
||
![screenshot](images/0.png) | ||
|
||
#### 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 | ||
|
||
#### 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. |