-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
pinpog | ||
pinpog | ||
pinpog-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,27 @@ | ||
VERSION=1.0 | ||
|
||
.PHONY: all | ||
all: pinpog | ||
qemu-system-i386 -monitor stdio 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/<usb-drive>` | ||
|
||
## 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 |