“The Infamous Pac-Man Level 256 Glitch…”

View this post on Instagram

The infamous Pac-Man level 256 glitch. The reason for the glitch is that the level counter in the original Pac-Man is stored as an 8-bit integer, meaning the highest value it can hold is 255. The level counter starts with 0 internally, but for calculating the fruit counter it adds 1; however, because of overflow, adding 1 to 255 would result in 0, and the game tries to count fruits from 1, causing the game to attempt to draw 256 fruit to the screen until it overflows to 0. The result is the garbled mess on the right side of the maze, because the screen memory starts with the bottom, followed by the columns from the right side.-Nick- . . #pacman #puckman #8bit #blinky #nintendo #namco #atari #80s #maze #ghost #blipblip #eatingfruit #glitch #basementwizards

A post shared by Basment Wizards (@basementwizards) on

“The infamous Pac-Man level 256 glitch.

The reason for the glitch is that the level counter in the original Pac-Man is stored as an 8-bit integer, meaning the highest value it can hold is 255.

The level counter starts with 0 internally, but for calculating the fruit counter it adds 1; however, because of overflow, adding 1 to 255 would result in 0, and the game tries to count fruits from 1, causing the game to attempt to draw 256 fruit to the screen until it overflows to 0.

The result is the garbled mess on the right side of the maze, because the screen memory starts with the bottom, followed by the columns from the right side.”

Nick

This entry was posted in Serendipity and tagged , , , , , , , , , , , . Bookmark the permalink. Both comments and trackbacks are currently closed.
  • Human Calendar

  • Land Acknowledgements

    Traditional: recognizes lands traditionally used and/or occupied by the People or First Nations in parts of the country.

    Ancestral: recognizes land that is handed down from generation to generation.

    Unceded: refers to land that was not turned over to the Crown (government) by a treaty or other agreement.

  • Tsí Tkaròn:to

  • Vancouver

    Labyrinths are made on the traditional, ancestral and unceded territory of the Coast Salish peoples –

    Sḵwx̱wú7mesh (Squamish),

    Stó:lō and

    Səl̓ílwətaʔ/Selilwitulh (Tsleil-Waututh)

    and xʷməθkʷəy̓əm (Musqueam) Nations.

    Labyrinths are made in traditional, ancestral and unceded territory of

    the Kwantlen,

    the Katzie,

    the Semiahmoo

    and Tsawwassen First Nations.