-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
86 lines (55 loc) · 2.35 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
______ _ _
| ___ \ (_) | |
| |_/ /_ __ _ ___| | _____
| ___ \ '__| |/ __| |/ / __|
| |_/ / | | | (__| <\__ \
\____/|_| |_|\___|_|\_\___/
Bricks, a paddle/ball game that fits in one boot sector (510 bytes)
by Oscar Toledo G. Nov/02/2019
http://nanochess.org
https://github.com/nanochess/bricks
It's compatible with 8088 (the original IBM PC)
If you want to assemble it, you must download the Netwide Assembler
(nasm) from www.nasm.us
Use this command line:
nasm -f bin bricks.asm -l bricks.lst -o bricks.img
nasm -f bin bricks.asm -Dcom_file=1 -o bricks.com
>> HOW TO PLAY <<
Press Left Shift to start the ball.
Press Left Ctrl to move to the left, and press Left Alt to move to the right.
Each brick scores for one point. To finish faster, try to get a streak of several bricks when the ball rebounds from brick to brick.
You have 4 balls to finish the courtyard.
There is sound using the PC speaker (doesn't work with VirtualBox except in the Linux version).
Enjoy it!
>> RESOURCES <<
jaens contributed optimizations of code and also has made a
C language version of Bricks, you can download it at:
https://github.com/jaens/bricks-cport
>> ATTENTION <<
Would you like to learn 8086/8088 programming? Then you
must get my new book Programming Boot Sector Games including
a 8086/8088/V20 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.
After the success of my first book, if you need even
More Boot Sector Games then you must get this book!
Soft-cover http://www.lulu.com/shop/oscar-toledo-gutierrez/more-boot-sector-games/paperback/product-24462035.html
Hard-cover http://www.lulu.com/shop/oscar-toledo-gutierrez/more-boot-sector-games/hardcover/product-24462029.html
* Follow the Lights
* bootRogue
* bricks
* cubicDoom
* bootOS