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
0 parents
commit dd24cbe
Showing
12 changed files
with
2,130 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.DS_Store | ||
backup/ | ||
|
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,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 |
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,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! |
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,4 @@ | ||
nasm -f bin pillman.asm -Dcom_file=1 -o pillman.com | ||
nasm -f bin pillman.asm -o pillman.img | ||
rem pillman | ||
|
Oops, something went wrong.