-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathREADME
65 lines (43 loc) · 1.76 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
F-Bird, a text bootsector game.
by Oscar Toledo G. Jun/05/2017
http://nanochess.org
https://github.com/nanochess
Run it as a COM file or write it to the bootsector of a floppy disk.
Press any key to start, gravity makes you to fall, press any key to fly!
This game is written using pure 8088 instructions, so it should work
on an original IBM PC with CGA card. No Hercules support (though it
would be a matter of changing the video segment to B000)
Here is a Youtube video of it running over emulation:
https://www.youtube.com/watch?v=p31XFFAeze4
If you want to assemble it, you must download the Netwide Assembler
(nasm) from www.nasm.us
Use this command line:
nasm -f bin fbird.asm -o fbird.com
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 fbird.com
Note that VirtualBox doesn't emulate the PC speaker, so the "flap"
sound doesn't sound at all.
Enjoy it!
>> THE BOOK <<
Do you would like more details on the inner workings? This program
is fully commented in my new book Programming Boot Sector Games
and you'll also find a 8086/8088 crash course!
Now available from Lulu:
Soft-cover
http://www.lulu.com/shop/oscar-toledo-gutierrez/programming-boot-sector-games/paperback/product-24188564.html
Hard-cover
http://www.lulu.com/shop/oscar-toledo-gutierrez/programming-boot-sector-games/hardcover/product-24188530.html
eBook
https://nanochess.org/store.html
These are some of the example programs documented profusely
in the book:
* Guess the number.
* Tic-Tac-Toe game.
* Text graphics.
* Mandelbrot set.
* F-Bird game.
* Invaders game.
* Pillman game.
* Toledo Atomchess.
* bootBASIC language.