Skip to content
/ pinpog Public

Ping-Pong-like game in Assembly that works without OS

License

Notifications You must be signed in to change notification settings

tsoding/pinpog

Repository files navigation

Tsoding Build Status

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.

Dependencies

First install these programs:

Quick Start

Build the game

$ nasm pinpog.asm -o pinpog

Run the game in QEMU

$ qemu-system-i386 pinpog

Making Bootable USB stick

WARNING! THE AUTHORS OF THE GAME ARE NOT RESPONSIBLE FOR ANY DAMAGED HARDWARE. SEE LICENSE FOR MORE INFORMATION.

Linux

  1. Build the image of the game: $ make pinpog
  2. Get a USB stick (at least 512 bytes Kappa)
  3. Plug it in
  4. Find the block device of the USB drive using something like lsblk
  5. Use dd to write the image to the USB drive: sudo dd if=./pinpog of=/dev/<usb-drive>

Windows

TBD

Controls

  • a, d - move racket sideways,
  • f - restart the game,
  • space - toggle pause.

References

Support

You can support my work via