• Latest
  • Trending
  • All
Hackers discover how to reprogram NES Tetris from within the game

Hackers discover how to reprogram NES Tetris from within the game

3 years ago
‘एक्टर हूं सर्वगुण संपन्न किरदार नहीं करना’, बोले नवाजुद्दीन सिद्दीकी, चाहने वालों से है शिकायत? – nawazuddin siddiqui acting career nepotism cinema sahitya aajtak 2026 tmovb

‘एक्टर हूं सर्वगुण संपन्न किरदार नहीं करना’, बोले नवाजुद्दीन सिद्दीकी, चाहने वालों से है शिकायत? – nawazuddin siddiqui acting career nepotism cinema sahitya aajtak 2026 tmovb

1 hour ago
Lord’s Mark Industries secures manufacturing licence for radiation-free breast cancer screening device

Lord’s Mark Industries secures manufacturing licence for radiation-free breast cancer screening device

6 hours ago
अमेरिका में तूफान से 9 लाख घरों की बिजली गुल: 1800 फ्लाइट्स लेट, 400 रद्द; 14 साल में पानी सबसे ऊंचे लेवल पर पहुंचने का अनुमान – US Nor’easter Storm Alert Update; Power Outage

अमेरिका में तूफान से 9 लाख घरों की बिजली गुल: 1800 फ्लाइट्स लेट, 400 रद्द; 14 साल में पानी सबसे ऊंचे लेवल पर पहुंचने का अनुमान – US Nor’easter Storm Alert Update; Power Outage

11 hours ago

Goo Goo Dolls perform at Bills-Chiefs halftime show as NFL’s Thanksgiving Day schedule nears end

11 hours ago
हूती विद्रोहियों पर टूट पड़ा सऊदी अरब, यमन में राजधानी सना समेत कई ठिकानों पर बमबारी – Saudi Arabi Strikes Houthi controlled parts of Yemen ntc rmxk

हूती विद्रोहियों पर टूट पड़ा सऊदी अरब, यमन में राजधानी सना समेत कई ठिकानों पर बमबारी – Saudi Arabi Strikes Houthi controlled parts of Yemen ntc rmxk

15 hours ago
Chandigarh News:कीमो के बाद छिपे कैंसर पर वार, ब्लड कैंसर की वापसी रोकने की नई उम्मीद – Targeting Hidden Cancer After Chemotherapy: A New Hope For Preventing The Return Of Blood Cancer

Chandigarh News:कीमो के बाद छिपे कैंसर पर वार, ब्लड कैंसर की वापसी रोकने की नई उम्मीद – Targeting Hidden Cancer After Chemotherapy: A New Hope For Preventing The Return Of Blood Cancer

17 hours ago
WhatsApp users can now schedule messages up to 14 days in advance

WhatsApp users can now schedule messages up to 14 days in advance

23 hours ago
Amid errors, some encouraging signs for Poch

Amid errors, some encouraging signs for Poch

23 hours ago

Safeguarding Tech Jobs: NITES Demands AI Policy Framework

24 hours ago
ईरान ने कुवैत पर ड्रोन से हमला किया: इटली के 2 लोगों की मौत, मलबा गिरने से गई जान; पाकिस्तानी नागरिक समेत 2 घायल – Iran Drone Attack on Kuwait | Italian Citizens Killed

ईरान ने कुवैत पर ड्रोन से हमला किया: इटली के 2 लोगों की मौत, मलबा गिरने से गई जान; पाकिस्तानी नागरिक समेत 2 घायल – Iran Drone Attack on Kuwait | Italian Citizens Killed

24 hours ago
How to Thrift Clothes Like a Pro: 21 Thrifting Tips (2026)

How to Thrift Clothes Like a Pro: 21 Thrifting Tips (2026)

1 day ago
Gukesh vs Sindarov Live updates, World Chess Championship, Game 3: Gukesh, Sindarov battling it out

Gukesh vs Sindarov Live updates, World Chess Championship, Game 3: Gukesh, Sindarov battling it out

1 day ago
Friday, November 27, 2026
  • PRESS RELEASE
  • ADVERTISE
  • CONTACT
  • Game
India News Online
  • Home
  • News
    • India
    • Punjab
    • International
    • Entertainment
  • Hindi News
  • Politics
  • Health
  • Business
  • Sports
  • Technology
  • Lifestyle
  • Video
    • All
    • Hindi Songs
    • Punjabi Songs
    Sunanda Sharma | New Punjabi Songs #sunandasharma #punjabisong #shorts #viral #trending

    Sunanda Sharma | New Punjabi Songs #sunandasharma #punjabisong #shorts #viral #trending

    Refugee (Official Music Video) Jordan Sandhu | Latest Punjabi Songs 2026

    Refugee (Official Music Video) Jordan Sandhu | Latest Punjabi Songs 2026

    New Songs 2026 | Kitna Pyar Hai | New Hindi Song | Ariyan Khan | Rashmika | Latest Romantic Song

    New Songs 2026 | Kitna Pyar Hai | New Hindi Song | Ariyan Khan | Rashmika | Latest Romantic Song

    Girls Night Mix | Video Jukebox | Hindi Bollywood Songs | Chhaliya, Lucky Boy & more

    Girls Night Mix | Video Jukebox | Hindi Bollywood Songs | Chhaliya, Lucky Boy & more

    Sappan De Ghar | Gulab Sidhu | New Punjabi Song 2026 | Latest Punjabi Song | Finetone Music

    Sappan De Ghar | Gulab Sidhu | New Punjabi Song 2026 | Latest Punjabi Song | Finetone Music

    90’S Old Hindi Songs🥰 90s Love Song😍 Udit Narayan, Alka Yagnik, Kumar Sanu songs Hindi Jukebox

    90’S Old Hindi Songs🥰 90s Love Song😍 Udit Narayan, Alka Yagnik, Kumar Sanu songs Hindi Jukebox

    90’S Old Hindi Songs💗 90s Love Song💛Udit Narayan, Alka Yagnik, Kumar Sanu, Sonu Nigam songs Hindi

    90’S Old Hindi Songs💗 90s Love Song💛Udit Narayan, Alka Yagnik, Kumar Sanu, Sonu Nigam songs Hindi

    Bollywood 90’s Romantic Songs | Audio Jukebox | Hindi Love Songs | Tips Official | 90’s Hits

    Bollywood 90’s Romantic Songs | Audio Jukebox | Hindi Love Songs | Tips Official | 90’s Hits

    Instagram Viral Love Mashup | Non-Stop Jukebox | Best Viral Hindi Songs 2026 | Amit Vedwal

    Instagram Viral Love Mashup | Non-Stop Jukebox | Best Viral Hindi Songs 2026 | Amit Vedwal

  • Travel
  • Game
No Result
View All Result
India News
No Result
View All Result
Home Technology

Hackers discover how to reprogram NES Tetris from within the game

by India News Online Team
May 6, 2024
in Technology
0
Hackers discover how to reprogram NES Tetris from within the game
Share on FacebookShare on TwitterShare on Email


I can see the code that controls the Tetri-verse!
Enlarge / I can see the code that controls the Tetri-verse!

Aurich Lawson


Earlier this year, we shared the story of how a classic NES Tetris player hit the game’s “kill screen” for the first time, activating a crash after an incredible 40-minute, 1,511-line performance. Now, some players are using that kill screen—and some complicated memory manipulation it enables—to code new behaviors into versions of Tetris running on unmodified hardware and cartridges.
We’ve covered similar “arbitrary code execution” glitches in games like Super Mario World, Paper Mario, and The Legend of Zelda: Ocarina of Time in the past. And the basic method for introducing outside code into NES Tetris has been publicly theorized since at least 2021 when players were investigating the game’s decompiled code (HydrantDude, who has gone deep on Tetris crashes in the past, also says the community has long had a privately known method for how to take full control of Tetris‘ RAM).

Displaced Gamers explains how to reprogram NES Tetris within the game.

But a recent video from Displaced Gamers takes the idea from private theory to public execution, going into painstaking detail on how to get NES Tetris to start reading the game’s high score tables as machine code instructions.

Fun with controller ports

Taking over a copy of NES Tetris is possible mostly due to the specific way the game crashes. Without going into too much detail, a crash in NES Tetris happens when the game’s score handler takes too long to calculate a new score between frames, which can happen after level 155. When this delay occurs, a portion of the control code gets interrupted by the new frame-writing routine, causing it to jump to an unintended portion of the game’s RAM to look for the next instruction.

Advertisement

Usually, this unexpected interrupt leads the code to jump to address the very beginning of RAM, where garbage data gets read as code and often leads to a quick crash. But players can manipulate this jump thanks to a little-known vagary in how Tetris handles potential inputs when running on the Japanese version of the console, the Famicom.

The Famicom expansion port that is key to making this hack work.
Enlarge / The Famicom expansion port that is key to making this hack work.

Unlike the American Nintendo Entertainment System, the Japanese Famicom featured two hard-wired controllers to the unit. Players who wanted to use third-party controllers could plug them in through an expansion port on the front of the system. The Tetris game code reads the inputs from this “extra” controller port, which can include two additional standard NES controllers through the use of an adapter (this is true even though the Famicom got a completely different version of Tetris from Bullet-Proof Software).

As it happens, the area of RAM that Tetris uses to process this extra controller input is also used for the memory location of that jump routine we discussed earlier. Thus, when that jump routine gets interrupted by a crash, that RAM will be holding data representing the buttons being pushed on those controllers. This gives players a potential way to control precisely where the game code goes after the crash is triggered.

Coding in the high-score table

For Displaced Gamers’ jump-control method, the player has to hold down “up” on the third controller and right, left, and down on the fourth controller (that latter combination requires some controller fiddling to allow for simultaneous left and right directional input). Doing so sends the jump code to an area of RAM that holds the names and scores for the game’s high score listing, giving an even larger surface of RAM that can be manipulated directly by the player.

Advertisement

By putting “(G” in the targeted portion of the B-Type high score table, we can force the game to jump to another area of the high score table, where it will start reading the names and scores sequentially as what Displaced Gamers calls “bare metal” code, with the letters and numbers representing opcodes for the NES CPU.

This very specific name and score combination is actually read as code in Displaced Gamers' proof of concept.
Enlarge / This very specific name and score combination is actually read as code in Displaced Gamers’ proof of concept.

Unfortunately, there are only 43 possible symbols that can be used in the name entry area and 10 different digits that can be part of a high score. That means only a small portion of the NES’s available opcode instructions can be “coded” into the high score table using the available attack surface.

Despite these restrictions, Displaced Gamers was able to code a short, proof-of-concept code snippet that can be translated into high-score table data (A name of '))"-P)' and a second place score of 8,575 in the A-Type game factors prominently, in case you’re wondering). This simple routine puts two zeroes in the top digits of the game’s score, lowering the score processing time that would otherwise cause a crash (though the score will eventually reach the “danger zone” for a crash again, with continued play).

Of course, the lack of a battery-backed save system means hackers need to achieve these high scores manually (and enter these complicated names) every time they power up Tetris on a stock NES. The limited space in the high score table also doesn’t leave much room for direct coding of complex programs on top of Tetris‘s actual code. But there are ways around this limitation; HydrantDude writes of a specific set of high-score names and numbers that “build[s] another bootstrapper which builds another bootstrapper that grants full control over all of RAM.”

With that kind of full control, a top-level player could theoretically recode NES Tetris to patch out the crash bugs altogether. That could be extremely helpful for players who are struggling to make it past level 255, where the game actually loops back to the tranquility of Level 0. In the meantime, I guess you could always just follow the lead of Super Mario World speedrunners and transform Tetris into Flappy Bird.



Source link

Tags: DiscovergamehackersNESreprogramTetris
Share199Tweet125Send

Related Posts

WhatsApp users can now schedule messages up to 14 days in advance
Technology

WhatsApp users can now schedule messages up to 14 days in advance

November 26, 2026
The Three DISM Commands You Should Know To Fix Your Windows System Images
Technology

The Three DISM Commands You Should Know To Fix Your Windows System Images

November 24, 2026
Dutch privacy authority urges consumers not to buy ‘pervert glasses’
Technology

Dutch privacy authority urges consumers not to buy ‘pervert glasses’

November 23, 2026
Arva AI, which builds AI agents for banks' financial-crime compliance teams and counts Wise as a customer, raised a M Series A led by Arthur Ventures (Ryan Lawler/Axios)
Technology

Arva AI, which builds AI agents for banks' financial-crime compliance teams and counts Wise as a customer, raised a $20M Series A led by Arthur Ventures (Ryan Lawler/Axios)

November 23, 2026
Load More
  • Trending
  • Comments
  • Latest
9 Festivals to Celebratein August in India

9 Festivals to Celebratein August in India

August 8, 2025
Corruption cases against govt officials: SC bats for striking balance | Latest News India

Corruption cases against govt officials: SC bats for striking balance | Latest News India

August 5, 2025
Guru Randhawa – SIRRA ( Official Video )

Guru Randhawa – SIRRA ( Official Video )

July 1, 2025
‘एक्टर हूं सर्वगुण संपन्न किरदार नहीं करना’, बोले नवाजुद्दीन सिद्दीकी, चाहने वालों से है शिकायत? – nawazuddin siddiqui acting career nepotism cinema sahitya aajtak 2026 tmovb

‘एक्टर हूं सर्वगुण संपन्न किरदार नहीं करना’, बोले नवाजुद्दीन सिद्दीकी, चाहने वालों से है शिकायत? – nawazuddin siddiqui acting career nepotism cinema sahitya aajtak 2026 tmovb

0
Take the Capitol! Washington DC turns riot-zone as Trump supporters protest Biden’s win

Take the Capitol! Washington DC turns riot-zone as Trump supporters protest Biden’s win

0
UK reports highest daily Covid-19 deaths since April

UK reports highest daily Covid-19 deaths since April

0
‘एक्टर हूं सर्वगुण संपन्न किरदार नहीं करना’, बोले नवाजुद्दीन सिद्दीकी, चाहने वालों से है शिकायत? – nawazuddin siddiqui acting career nepotism cinema sahitya aajtak 2026 tmovb

‘एक्टर हूं सर्वगुण संपन्न किरदार नहीं करना’, बोले नवाजुद्दीन सिद्दीकी, चाहने वालों से है शिकायत? – nawazuddin siddiqui acting career nepotism cinema sahitya aajtak 2026 tmovb

November 27, 2026
Lord’s Mark Industries secures manufacturing licence for radiation-free breast cancer screening device

Lord’s Mark Industries secures manufacturing licence for radiation-free breast cancer screening device

November 27, 2026
अमेरिका में तूफान से 9 लाख घरों की बिजली गुल: 1800 फ्लाइट्स लेट, 400 रद्द; 14 साल में पानी सबसे ऊंचे लेवल पर पहुंचने का अनुमान – US Nor’easter Storm Alert Update; Power Outage

अमेरिका में तूफान से 9 लाख घरों की बिजली गुल: 1800 फ्लाइट्स लेट, 400 रद्द; 14 साल में पानी सबसे ऊंचे लेवल पर पहुंचने का अनुमान – US Nor’easter Storm Alert Update; Power Outage

November 27, 2026
India News Online

24x7 Online News From India
India News Online is your news, entertainment, music fashion website. We provide you with the latest breaking news and videos straight from the entertainment industry.

Categories

  • Business
  • Entertainment
  • Health
  • Hindi News
  • Hindi Songs
  • India
  • International
  • Lifestyle
  • Panjab
  • Politics
  • Punjabi Songs
  • Sports
  • Technology
  • Travel
  • Uncategorized
No Result
View All Result

Recent Posts

  • ‘एक्टर हूं सर्वगुण संपन्न किरदार नहीं करना’, बोले नवाजुद्दीन सिद्दीकी, चाहने वालों से है शिकायत? – nawazuddin siddiqui acting career nepotism cinema sahitya aajtak 2026 tmovb
  • Lord’s Mark Industries secures manufacturing licence for radiation-free breast cancer screening device
  • अमेरिका में तूफान से 9 लाख घरों की बिजली गुल: 1800 फ्लाइट्स लेट, 400 रद्द; 14 साल में पानी सबसे ऊंचे लेवल पर पहुंचने का अनुमान – US Nor’easter Storm Alert Update; Power Outage
  • Home
  • Disclaimer
  • DMCA
  • Privacy Policy
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact

Copyright © 2021 - India News Online.

No Result
View All Result
  • Home
  • News
    • India
    • Punjab
    • International
    • Entertainment
  • Hindi News
  • Politics
  • Health
  • Business
  • Sports
  • Technology
  • Lifestyle
  • Video
  • Travel
  • Game

Copyright © 2021 - India News Online.