Embed video, get releases working

This commit is contained in:
John Bintz 2024-03-04 19:52:30 -05:00
parent e8ac1cc4e8
commit e140686bac
3 changed files with 17 additions and 2 deletions

.gitignore vendored
View File

@ -10,3 +10,4 @@

View File

@ -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!
<iframe title="DOS Arena Game -- Version 1" width="560" height="315" src="https://makertube.net/videos/embed/027d4ca0-f9ed-4f0d-b47e-15b92a197b87" frameborder="0" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups"></iframe>
## 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
## 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.

bin/release Executable file
View File

@ -0,0 +1,5 @@
wmake clean && wmake
cp $WATCOM/binw/dos4gw.exe .
zip -u release.zip game.exe dos4gw.exe