Skip to content

Follow the Lights boot sector game in only 510 bytes of x86 machine code.

License

Notifications You must be signed in to change notification settings

nanochess/lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Follow the Lights, a boot sector game in 510 bytes.

by Oscar Toledo G. Mar/02/2020. https://nanochess.org/

https://github.com/nanochess/lights

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 lights.asm -l rogue.lst -o lights.img

nasm -f bin lights.asm -Dcom_file=1 -o lights.com

HOW TO PLAY

The computer will choose a sequence, and then you must enter the same sequence of numbers by pressing these on the keyboard.

The sequence then will be repeated with an added number, you win the game when you reach a sequence of 31 lights.

ATTENTION

Programming Boot Sector Games:

If you want to learn 8086/8088 programming then you must get this book including a 8086/8088/V20 crash course!

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

  • Guess the number.
  • Tic-Tac-Toe game.
  • Text graphics.
  • Mandelbrot set.
  • F-Bird game.
  • Invaders game.
  • Pillman game.
  • Toledo Atomchess.
  • bootBASIC language.

More Boot Sector Games:

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

About

Follow the Lights boot sector game in only 510 bytes of x86 machine code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published