diff --git a/.gitignore b/.gitignore index b95538f..8645f18 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -pinpog \ No newline at end of file +pinpog +pinpog-* diff --git a/Makefile b/Makefile index 5f3a024..6de8041 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +VERSION=1.0 + .PHONY: all all: pinpog qemu-system-i386 -monitor stdio pinpog @@ -5,6 +7,21 @@ all: pinpog pinpog: pinpog.asm nasm pinpog.asm -o pinpog +.PHONY: dist + +dist: pinpog-$(VERSION).tgz pinpog-$(VERSION).zip + +pinpog-$(VERSION): pinpog README.release.md + mkdir pinpog-$(VERSION) + cp pinpog pinpog-$(VERSION)/ + cp README.release.md pinpog-$(VERSION)/README.release.md + +pinpog-$(VERSION).tgz: pinpog-$(VERSION) + tar fvc pinpog-$(VERSION).tgz pinpog-$(VERSION)/ + +pinpog-$(VERSION).zip: pinpog-$(VERSION) + zip -r pinpog-$(VERSION).zip pinpog-$(VERSION) + .PHONY: clean clean: rm pinpog diff --git a/README.release.md b/README.release.md new file mode 100644 index 0000000..305f21e --- /dev/null +++ b/README.release.md @@ -0,0 +1,41 @@ +# PinPog + +Our goal is to write a game that fits into 512 bytes bootloader and +works in 16 bit real mode on any IBM PC compatible machine without any +Operating System. + +- Development is done on https://twitch.tv/tsoding +- Archive of the streams: https://www.twitch.tv/collections/VAcjkyTlqRVXuA + +## Run the game in QEMU + +Install [qemu](https://www.qemu.org/) first. + +```console +$ qemu-system-i386 pinpog +``` + +## Making Bootable USB stick on Linux + +**WARNING! THE AUTHORS OF THE GAME ARE NOT RESPONSIBLE FOR ANY DAMAGED +HARDWARE. SEE LICENSE FOR MORE INFORMATION.** + +1. Get a USB stick (at least 512 bytes Kappa) +1. Plug it in +1. Find the block device of the USB drive using something like + [lsblk](https://linux.die.net/man/8/lsblk) +1. Use [dd](https://linux.die.net/man/1/dd) to write the image to the + USB drive: `sudo dd if=./pinpog of=/dev/` + +## Controls + +- `a`, `d` - move racket sideways, +- `f` - restart the game, +- `space` - toggle pause. + +## Support + +You can support my work via + +- Twitch channel: https://www.twitch.tv/subs/tsoding +- Patreon: https://www.patreon.com/tsoding