A real-mode DOS game for Ludum Dare #31, playable in DOSBox with joystick support.
DOS Defender is a real-mode DOS game developed for the Ludum Dare #31 game jam in 2014. It's a compact 10kB executable that runs in DOSBox emulation environments, requiring minimal system resources and no external assets. The game demonstrates efficient low-level programming techniques for retro gaming platforms.
Retro gaming enthusiasts, low-level programmers interested in DOS development, and game jam participants studying efficient game programming techniques.
It showcases extreme code optimization for DOS platforms, treating the environment as an embedded system while delivering a complete gaming experience with joystick support and no dependencies.
DOS Defender (Ludum Dare #31)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The game compiles to a mere 10kB COM file, achieved through single translation unit compilation and aggressive GCC optimization, as highlighted in the README for maximizing code size efficiency.
Requires only 64kB of RAM and 64kB of video memory, making it runnable on extremely limited systems or within DOSBox emulation, aligning with its embedded system philosophy.
All game assets are embedded within the binary, eliminating the need for external files and simplifying distribution, as stated in the README's key features.
Optimized for joystick input and designed for DOS real-mode, providing a genuine retro gaming experience that targets DOSBox emulation for modern play.
The code is written in GCC's dialect of C and may not compile with other compilers, restricting toolchain flexibility and portability, as admitted in the README.
Building requires handling linker scripts and working around MinGW bugs with objdump, which can be tricky for developers unfamiliar with low-level toolchains, as noted in the README.
Primarily targets DOSBox emulation, with potential issues on actual DOS hardware, reducing its authenticity for retro purists and limiting native platform support.