Skip to content

Examples from my book Programming Boot Sector Games

Notifications You must be signed in to change notification settings

nanochess/book8088

Repository files navigation

Programming Boot Sector Games

by Oscar Toledo G. http://nanochess.org/

Errata for the book: (Aug/31/2020)

Even though all my efforts, Craig Turner found a pair of mistakes on the instruction set appendix.

The instructions 0x9a and 0xea have inverted operands. The correct representation is:

CALL 0x5566:0x7788      9a 88 77 66 55
JMP 0x5566:0x7788       ea 88 77 66 55

This same mistake slipped into my sequel book.

James Cross found a small difference in sieve.asm between the book and the Git, also a small bug on page 28, where the byte count shown is 123 instead of 121.

Daniel @netsurf916 found a small bug in page 55, bullet 5, last word says "if direction flag is zero" instead of the correct "if direction flag is one".

Joseph Fortune found another errata in page 47, the text says "stosb instruction that writes the value of AX", and it should be "stosb instruction that writes the value of AL".

Notes:

If you found this Git for accident, do you need more details on the inner workings?

These programs are fully commented in my new book Programming Boot Sector Games and also you'll find a 8086/8088 crash course!

Now available from Lulu:

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.

These games/programs have its own Git and can differ slightly from the published version because of enhancements:

Don't forget to see also bootOS, a tiny operating system in only 512 bytes:

After the success of my first book, if you need even More Boot Sector Games then you must get this book!

These are some of the example programs documented profusely in the book:

  • Follow the Lights
  • bootRogue
  • bricks
  • cubicDoom
  • bootOS

About

Examples from my book Programming Boot Sector Games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published