diff --git a/.gitignore b/.gitignore index 062cbd2..3434d8a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ *.bak *.lib capture/ +*.zip diff --git a/README.md b/README.md index c689fbb..0b89fd4 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,12 @@ -# MS-DOS VGA Arena Shooter Game +# DOS VGA Arena Shooter Game A Smash TV/Robotron-like game to help me learn a whole bunch of things about game programming, DOS & PC programming, x86 assembler & C, and VGA graphics! +
+ +
+ ## Play! The latest build of the game is under Releases. @@ -46,6 +50,11 @@ flatpak run com.dosbox_x.DOSBox-X "$@" `bin/game` builds and runs `game.exe` and `bin/test` builds and runs the unit tests. +### Make a release + +`bin/release` makes `release.zip` which contains the game and the DOS/4GW +wrapper. + ## What's in here? ### System access code @@ -74,7 +83,7 @@ sprites as a series of `mov` instructions sped up the game immensely. ### Inline assembler There's some non-trivial inline assembler in `system/vga.c` for drawing -font glyhps. https://github.com/dhepper/font8x8 is the source of the +font glyphs. https://github.com/dhepper/font8x8 is the source of the font. I probably could have gotten the performance fast enough in pure C, but I really wanted to try some inline assembler. diff --git a/bin/release b/bin/release new file mode 100755 index 0000000..9e6ae2d --- /dev/null +++ b/bin/release @@ -0,0 +1,5 @@ +#!/bin/sh + +wmake clean && wmake +cp $WATCOM/binw/dos4gw.exe . +zip -u release.zip game.exe dos4gw.exe