‹ BackHN Continuity

Thread

Show HN: Conway's Game of Life in boot sector

27 points · 4 comments · 0xAX

Loading the complete thread in the background. This saved snapshot is available now. Refresh

  1. mysterydip · · focus · HN ↗
    One of my favorite simulations! Thanks for sharing, hope the journey was enjoyable and you do more.

    Love the use of VGA memory for the simulation grid. Were you able to double buffer, or how did you handle holding the previous state while processing the next one?

    1. 0xAX · · focus · HN ↗
      Yes, it was really fun!

      Yes, doubled if you meant... To calculate the next generation I dumped the current (vga memory) after the grid is rendered to a buffer in memory and calculating the next one right to video memory back.

  2. TZubiri · · focus · HN ↗
    It's a great "DOOM" alternative, it requires a bit less raw resources, and it can be self coded. I managed to code one on an old Nokia phone (apps were Java applet things)
  3. eggy · · focus · HN ↗
    Yeah, I worked my way through Oscar Toledo's book, "Programming Boot Sector Games". I used to program in 6502 machine language and assembler. If you like Life, you should check out Andrew Ilachinski's book, "Cellular Automata: A Discrete Universe".
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.