This special open source “operating system” has dominated GitHub for two days!


[introduction]: Recently, a very special open source operating system topped the GitHub daily list for two consecutive days.

Why is it so special? Because it is an OS that can only be used to play Tetris  。

This special open source

The project address is:…

brief introduction

Tetris OS can be seen from its name. It is an operating system that can be used to play Tetris, and can only be used to play Tetris, and can’t do anything else. Its developer jdah is a Tetris enthusiast. He had the idea of running a Tetris only operating system for a long time.

Tetris OS does not manage files, control communication between processes, or handle logins. In fact, this is a version of Tetris running in the boot loader, running a small space on any disk (or ISO file) on your computer. In fact, many game disks in the 1980s and 1990s contained their own “operating system”.

This special open source

Tetris OS does not support Windows system temporarily. It has the following characteristics:

  • Can only be used to play Tetris
  • Only 32-bit systems are supported
  • Fully customized bootstrap
  • SoundBlaster 16 driver
  • You can customize the background music player
  • Fully hard coded Tetris theme
  • 320×200 pixel double buffered 60 FPS graphics with custom 8-bit RGB palette

Build run

  • In the MacOS environment, the commands to build and run are as follows:
$ 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  
  • In UNIX like systems, the commands to build and run are as follows:

$ make iso  
$ qemu-system-i386 -drive format=raw,file=boot.iso -d cpu_reset -monitor stdio -device sb16 -audiodev pulseaudio,id=pulseaudio,out.frequency=48000,out.channels=2,out.format=s32  

If you like playing Tetris as much as the author, take a look at this project.

Open source outpostShare popular, interesting and practical open source projects on a daily basis. Participate in maintaining the open source technology resource library of 100000 + star, including python, Java, C / C + +, go, JS, CSS, node.js, PHP,. Net, etc.

Recommended Today

On the mutation mechanism of Clickhouse (with source code analysis)

Recently studied a bit of CH code.I found an interesting word, mutation.The word Google has the meaning of mutation, but more relevant articles translate this as “revision”. The previous article analyzed background_ pool_ Size parameter.This parameter is related to the background asynchronous worker pool merge.The asynchronous merge and mutation work in Clickhouse kernel is completed […]