Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Programming Boot Sector Games

    Programming Boot Sector Games

    Oscar Toledo Gutierrez · 2019

    "So in this book we are going through a crash course on 8086/8088 assembly language. We will fly fast and try to practice each thing as we learn it. And no example exceeds 512 bytes of machine code! Also you'll see how you can build small games using assembly language speaking directly to the heart of the computer. I've included 4 of my best examples of boot sector games: F-Bird, Invaders, Pillman, and Toledo Atomchess. For learning purposes I've included screen art programs in sections 4.3 (text mode) and 5.6 (Mandelbrot set). For this book I assume you have previous knowledge of programming in any high-level language that includes hexadecimal numbers, like C, C++, PHP, Java, Javascript, etc., and how to use command-line on Windows, Linux or Mac OS X." -- page x.

    Programming
    Open LibraryAmazon
    Stats for nerds
    6recommend
    14mentions
    10people
    2019–2026years
    57% recommend43% neutral

    Mentions per year

    20192020202120222023202420252026

    What Hacker News says

    1. 20wentyDec 2025
      I've had a goal for the past three years to learn Assembly language. This December, I finally put some real effort into learning the language. I followed the tutorials in Oscar Toledo G's "Programming Boot Sector Games" and used Gemini as a tutor to help explain the concepts I was stuck on. It was tempting at points to vibe code some of the trickiest pieces, but I found resisting the temptation and using Gemini just to be an expert tutor to answer my ignorant questions brought back the joy of coding again. The result is a Christmas-themed Space Invaders clone written in 8086 Assembly.

      The code isn't perfect, and neither are my line-by-line comments, but it's a good exercise if anyone else is trying to learn a language.

      The game compiles to a .com file and runs in DOSBox. I'm not trying to fit it into a boot sector (512 bytes) like the original tutorial (https://github.com/nanochess/Invaders/blob/master/invaders.a...), so my code assembles to more verbose (around 700 bytes).

      thread
    2. eggyMar 2025
      I started programming in 1977/78 in CBM/PET Basic on a Commodore PET 2001 with cassette tape drive and 32k upgrade. I loved those days. My parents didn't understand what the deal was with the costly computer I saved up for at age 13, and why I thought it was so important. It also required many late hours on my part on school nights. I moved on to assembler and C and many other languages over the years. I had a renaissance for the low-level and small thanks to you. Oscar, I worked through your, "Programming Boot Sector Games" with much joy. Your books and writing have brought back some of that nostalgia and fun for me, so thank you for that, and keep it going! It's also resharpened some dead areas and gaps I have sustained from the multiple abstraction layers of today's modern software world.
      thread
    3. wkjagtFeb 2025
      Awesome read. I wish I'd started programming when I was a teenager. I mean, I did some BASIC on a Commodore 64, but nothing as advanced as OP was doing in his teens.

      By the way, I also have OP's "Programming Boot Sector Games" book, which is an amazing book.

      thread
    4. AlexeyBrinApr 2024
      The author has two books about writing small games that can run in the boot sector. First book also has a quick course in 8086 Assembly:

      Programming Boot Sector Games

      More Boot Sector Games

      thread
    5. wkjagtJun 2023
      Oscar Toledo is awesome. I have his book Programming Boot Sector Games, and it's wonderful.
      thread
    6. eggyJun 2023
      I have Oscar's 'Programming Boot Sector Games' and I worked through it last summer. Great fun! And having programmed from 1978 on a Commodore PET 2001 in PET Basic and later on Vic-20 and Amigas in assembler and C, I learned a few new tricks from Oscar's book. Constraints hone your skills, so when you are buried in large frameworks and IDEs you can take some solace that not everything needs to be so complicated. It's also why I enjoy APL/J/BQN and April (APL Re-Imagined in Lisp).
      thread

    Related

    Cover of Game Engine Black Book
    2017–2026

    Game Engine Black Book

    Fabien Sanglard
    45 recommend · 68
    Cover of Game Programming Patterns
    2012–2026

    Game Programming Patterns

    Robert Nystrom
    120 recommend · 161
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894
    Cover of Programming from the Ground Up
    2009–2026

    Programming from the Ground Up

    Jonathan Bartlett
    36 recommend · 56
    Cover of Programming Pearls
    2007–2026

    Programming Pearls

    Jon Bentley
    158 recommend · 315
    Cover of Game Programming Gems
    2009–2026

    Game Programming Gems

    Mark DeLoura
    8 recommend · 19
    Cover of Programming In Lua
    2008–2026

    Programming In Lua

    Roberto Ierusalimschy
    recommend · 67
    34
    Cover of The art of UNIX programming
    2007–2026

    The art of UNIX programming

    Eric S. Raymond
    85 recommend · 238