Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nanochess committed Jul 8, 2019
0 parents commit dd24cbe
Show file tree
Hide file tree
Showing 12 changed files with 2,130 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
.DS_Store
backup/

24 changes: 24 additions & 0 deletions Makefile
@@ -0,0 +1,24 @@
# Makefile contributed by jtsiomb

src = invaders.asm

.PHONY: all
all: invaders.img invaders.com

invaders.img: $(src)
nasm -f bin -o $@ $(src)

invaders.com: $(src)
nasm -f bin -o $@ -Dcom_file=1 $(src)

.PHONY: clean
clean:
$(RM) invaders.img invaders.com

.PHONY: rundosbox
rundosbox: invaders.com
dosbox $<

.PHONY: runqemu
runqemu: invaders.img
qemu-system-i386 -fda invaders.img
38 changes: 38 additions & 0 deletions README
@@ -0,0 +1,38 @@

______ __ __ __ __ __ ______ __ __
/\ == \ /\ \ /\ \ /\ \ /\ "-./ \ /\ __ \ /\ "-.\ \
\ \ _-/ \ \ \ \ \ \____ \ \ \____ \ \ \-./\ \ \ \ __ \ \ \ \-. \
\ \_\ \ \_\ \ \_____\ \ \_____\ \ \_\ \ \_\ \ \_\ \_\ \ \_\\"\_\
\/_/ \/_/ \/_____/ \/_____/ \/_/ \/_/ \/_/\/_/ \/_/ \/_/


Pillman game in 512 bytes (boot sector or COM file)
by Oscar Toledo G. Jul/08/2019

http://nanochess.org
https://github.com/nanochess

This a game about a yellow man eating pills in 512 bytes. It can be
run as a COM file or put into a boot sector of a floppy disk to be
run.

Move with arrow keys.

It's compatible with 8088 (the original IBM PC). So you now have
to look for a 8-bit compatible VGA card if you want to run it in
original hardware ;)

If you want to assemble it, you must download the Netwide Assembler
(nasm) from www.nasm.us

Use this command line:

nasm -f bin pillman.asm -Dcom_file=1 -o pillman.com
nasm -f bin pillman.asm -Dcom_file=0 -o pillman.img

Tested with VirtualBox for Mac OS X running Windows XP running this
game, it also works with DosBox and probably with qemu:

qemu-system-x86_64 -fda pillman.img

Enjoy it!
4 changes: 4 additions & 0 deletions e.bat
@@ -0,0 +1,4 @@
nasm -f bin pillman.asm -Dcom_file=1 -o pillman.com
nasm -f bin pillman.asm -o pillman.img
rem pillman

0 comments on commit dd24cbe

Please sign in to comment.