https://github.com/mattiasgustavsson/dos-like Skip to content Sign up * Why GitHub? Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Issues - + 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 - [ ] * # 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 {{ message }} mattiasgustavsson / dos-like Public * Notifications * Star 74 * Fork 7 Engine for making things with a MS-DOS feel, but for modern platforms 74 stars 7 forks Star Notifications * Code * Issues 2 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code Latest commit @mattiasgustavsson mattiasgustavsson Update README.md ... 47ab49c Oct 8, 2021 Update README.md 47ab49c Git stats * 16 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github/workflows Fixing tcc build Oct 8, 2021 files Initial commit Oct 8, 2021 raycast Initial commit Oct 8, 2021 source Fixed midi bug, fixed mouse pos Oct 8, 2021 stranded Initial commit Oct 8, 2021 tcc Initial commit Oct 8, 2021 .gitignore Initial commit Oct 8, 2021 README.md Update README.md Oct 8, 2021 build_all.bat Initial commit Oct 8, 2021 View code dos-like Windows Mac Linux README.md build dos-like Engine for making things with a MS-DOS feel, but for modern platforms Includes a bunch of examples of classic DOS techniques and effects. Also available from https://mattiasgustavsson.itch.io/dos-like While running, you can use F11 to toggle between fullscreen and windowed mode. To start in windowed mode, add the flag -w or --window to the commandline when launching. Windows Tiny C Compiler for windows is included. To build all samples, run build_all.bat. To build individual samples, do: tcc\tcc source\stranded.c source\dos.c where stranded.c should be replaced with the sample you like to build. Alternatively, from a Visual Studio Developer Command Prompt, do: cl source\stranded.c source\dos.c where stranded.c should be replaced with the sample you like to build. Mac To build on Mac (which I don't test myself, but might work): clang source/stranded.c source/dos.c -lSDL2 -lGLEW -framework OpenGL where stranded.c should be replaced with the sample you like to build. SDL2 and GLEW are required - if you don't have then installed you can do so by running brew install sdl2 glew Linux To build on Linux (which I don't test myself, but might work): gcc source/stranded.c source/dos.c -lSDL2 -lGLEW -lGL -lm -lpthread where stranded.c should be replaced with the sample you like to build. SDL2 and GLEW are required - if you don't have them installed you can do so by running sudo apt-get install libsdl2-dev sudo apt-get install libglew-dev About Engine for making things with a MS-DOS feel, but for modern platforms Resources Readme Releases No releases published Packages 0 No packages published Languages * C 99.3% * Other 0.7% * (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.