* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Wednesday, July 16, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    Black River Entertainment Adds Traci Hite As Director Of Promotion, Southeast – MusicRow.com

    Black River Entertainment Welcomes Traci Hite as New Director of Southeast Promotion

    Entertainment Business Master’s Grad Launched Nonprofit to Nurture Emerging Artists – Full Sail University

    Entertainment Business Master’s Grad Launched Nonprofit to Nurture Emerging Artists – Full Sail University

    Review: At the Huntington, the New Hollywood String Quartet recalls legendary studio musicians – Los Angeles Times

    Review: At the Huntington, the New Hollywood String Quartet recalls legendary studio musicians – Los Angeles Times

    Kehoe repeals paid sick leave, allows several counties in the Ozarks to have entertainment districts in bill signings – KY3

    Kehoe repeals paid sick leave, allows several counties in the Ozarks to have entertainment districts in bill signings – KY3

    Emily Deschanel was scolded during “Bones” season 1 for being ‘late and unprepared’: ‘I was just beside myself’ – Yahoo

    Emily Deschanel was scolded during “Bones” season 1 for being ‘late and unprepared’: ‘I was just beside myself’ – Yahoo

    How you can see new movies early – Yahoo

    Unlock the Secret to Watching New Movies Before Everyone Else!

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    Guest columnist: China cutting corners on technology – The State Journal

    China’s Rapid Tech Advances Spark Worries About Cutting Corners

    Sentrycs’ Cyber Over RF technology integrated into Rafael’s combat-proven Drone Dome system – Defence Industry Europe

    Sentrycs’ Cyber Over RF Technology Boosts Rafael’s Battle-Tested Drone Dome System

    Nordic Air Defence raises $3 million to expand operations and advance drone defence technology – Defence Industry Europe

    Nordic Air Defence Lands $3 Million to Transform Drone Defense and Supercharge Operations

    China’s energy dominance in three charts – MIT Technology Review

    How China Is Powering Its Energy Dominance: A Visual Breakdown

    Meta Acquires AI Startup PlayAI to Enhance Voice Technology Capa – GuruFocus

    Meta Acquires AI Startup PlayAI to Revolutionize Voice Technology Capabilities

    Stallion Uranium Provides Update on Technology Data Acquisition Agreement – GlobeNewswire

    Stallion Uranium Announces Exciting Progress in Technology Data Acquisition Agreement

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    Black River Entertainment Adds Traci Hite As Director Of Promotion, Southeast – MusicRow.com

    Black River Entertainment Welcomes Traci Hite as New Director of Southeast Promotion

    Entertainment Business Master’s Grad Launched Nonprofit to Nurture Emerging Artists – Full Sail University

    Entertainment Business Master’s Grad Launched Nonprofit to Nurture Emerging Artists – Full Sail University

    Review: At the Huntington, the New Hollywood String Quartet recalls legendary studio musicians – Los Angeles Times

    Review: At the Huntington, the New Hollywood String Quartet recalls legendary studio musicians – Los Angeles Times

    Kehoe repeals paid sick leave, allows several counties in the Ozarks to have entertainment districts in bill signings – KY3

    Kehoe repeals paid sick leave, allows several counties in the Ozarks to have entertainment districts in bill signings – KY3

    Emily Deschanel was scolded during “Bones” season 1 for being ‘late and unprepared’: ‘I was just beside myself’ – Yahoo

    Emily Deschanel was scolded during “Bones” season 1 for being ‘late and unprepared’: ‘I was just beside myself’ – Yahoo

    How you can see new movies early – Yahoo

    Unlock the Secret to Watching New Movies Before Everyone Else!

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    Guest columnist: China cutting corners on technology – The State Journal

    China’s Rapid Tech Advances Spark Worries About Cutting Corners

    Sentrycs’ Cyber Over RF technology integrated into Rafael’s combat-proven Drone Dome system – Defence Industry Europe

    Sentrycs’ Cyber Over RF Technology Boosts Rafael’s Battle-Tested Drone Dome System

    Nordic Air Defence raises $3 million to expand operations and advance drone defence technology – Defence Industry Europe

    Nordic Air Defence Lands $3 Million to Transform Drone Defense and Supercharge Operations

    China’s energy dominance in three charts – MIT Technology Review

    How China Is Powering Its Energy Dominance: A Visual Breakdown

    Meta Acquires AI Startup PlayAI to Enhance Voice Technology Capa – GuruFocus

    Meta Acquires AI Startup PlayAI to Revolutionize Voice Technology Capabilities

    Stallion Uranium Provides Update on Technology Data Acquisition Agreement – GlobeNewswire

    Stallion Uranium Announces Exciting Progress in Technology Data Acquisition Agreement

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

Bored students can now enjoy Sonic 2 on TI-84 Plus CE calculators, thanks to port

May 26, 2024
in Technology
Bored students can now enjoy Sonic 2 on TI-84 Plus CE calculators, thanks to port
Share on FacebookShare on Twitter

Retro interview Just a few weeks ago, Sonic the Hedgehog 2 was ported to the TI-84 Plus CE graphing calculator.

Playing retro games on calculators is nothing new, with Tetris, Breakout, and even Super Mario Bros 3 having fan-made ports to Texas Instruments’ popular calculator.

However, no games featuring the blue hedgehog ever made it to the small screen – until now. GitHub user grubbyplaya, who also goes by grubbycoder, ported 1992’s Sonic the Hedgehog 2 to the device, making it the first Sonic platformer game we’re aware of now available for the calculator. Source and binaries have been released; yes, it’s completely unofficial.

The dev was inspired to port it after watching a video by the This Does Not Compute YouTube channel on the history of gaming on calculators. When the mini documentary mentioned that some of TI’s calculators used 8-bit Zilog Z80 and 16/32-bit Motorola 68000 CPUs, it caught grubbycoder’s attention. Those chips were also used by Sega’s Master System and Genesis (or Mega Drive for those outside North America), so porting Sonic from one of those consoles to the TI calculator should be reasonably fun to do.

“That really piqued my interest, since I already knew the processors that Sega’s retro game consoles used: The Z80 for the Master System, and the M68K for the Genesis,” the programmer said in his documentation of the port.

“Aside from that, I also really wanted to make my own calculator game, or at least port an existing one,” grubbycoder told The Register. “Doom’s a bit too big to fit into the 84 Plus CE’s storage, so that’s part of the reason why I stuck with games in the 8-bit to 16-bit range. Of course, I did rule out any 16-bit games later on.”

I really wanted to make my own calculator game, or at least port an existing one

However, grubbycoder didn’t port the Sega Genesis version of Sonic 2; instead, he used the version made for the 8-bit Sega Master System and Game Gear. This was down to the fact that the biggest TI calculators based on the 68000 CPU didn’t have a good enough screen resolution for the 68000-based Genesis version of the game.

By contrast, the TI-84 Plus CE with its Zilog eZ80 chip (which is essentially a 24-bit Z80 with extra bells and whistles) has a 320 by 240 pixel display, which is more than enough for the 8-bit Master System and Game Gear version.

Choosing the TI-84 Plus CE also meant grubbycoder’s choices for what Sonic games to port were limited. Today, the only fully disassembled Sonic game on the Master System is Sonic the Hedgehog 2, so that was the one he went with.

“Most of the other games people really want, like Sonic 1 8-bit and Sonic Triple Trouble, only have partial disassemblies,” grubbycoder says. “If I were to start porting them, most of my work would just go to reverse-engineering the entire game.”

Porting even a disassembled game was a challenge

On paper, it would seem the TI-84 Plus CE is perfect for an 8-bit Sonic game. Its eZ80 clocks in at 48MHz, much higher than the Master System’s Z80A at 3.58MHz, and has 256KB of RAM, more than ten times as much as the Master System’s combined 8KB of RAM and 16KB of VRAM.

However, those hardware advantages are dinged by wait states that could drag down the eZ80’s actual clock speed to 12MHz; a per-file size cap that forces the use of multiple files for any data larger than 64KB; and the complete lack of any console-like graphics acceleration. The extra processing oomph needs to be used on filling those gaps.

Plus, the TI-84 Plus CE will crash if any game code tries to access what it expects to be an I/O port on the Sega console – such as if the game tries to talk to the console’s audio system, color palette hardware, and VRAM. Those IO accesses needed to be rerouted and translated on the calculator to prevent a crash and make Sonic 2 play as expected.

Additionally, grubbycoder had to use an assembler for the TI calculator that was different to the one used by the Sonic 2 disassembly project he based his port on, which brought about compatibility hurdles, and he wasn’t an expert on the Z80 nor the TI-84 Plus CE.

“At first, I only had a very beginner-level knowledge of Z80 assembly, which meant I made some really stupid decisions with handling some stuff which came back to bite me later,” he says.

“As the complexity of emulating features of the Master System grew, I eventually had moderate-level knowledge of how the TI-84 Plus CE works,” grubbycoder told us.

Assembling the game from the disassembly source was the first task, and while the TI-friendly SPASM-ng assembler did much of that work, grubbycoder still had to review 20,000 lines of code to make sure everything was compatible with the TI-84 Plus CE.

Getting around the I/O accesses wasn’t terribly difficult as it turned out, because the calculator’s hardware supports memory-mapped I/O requests. The port just needed tweaking so that its I/O port requests go to the calculator’s memory-mapped IO locations, with some glue code to act as a compatibility layer. The game thinks it’s running on and talking to Sega hardware, but is actually interacting with a TI calculator.

“It was mostly just a minor inconvenience,” grubbycoder says, noting that video color palettes were the most complex to implement at the hardware translation layer.

Unfortunately, there were two parts of the port that really couldn’t work they way they did on the Master System. Firstly, the Master System used ROM banking to swap in and out the memory map chunks of data as needed, since the old-school console could only address 64KB of data at any one time and the game is much larger than that. On the TI-84 Plus CE, this is relatively slow because it relies on flash storage to copy data into RAM when needed, since there wasn’t enough room, even with 256KB of RAM, to put every single bank into memory all at once.

The other problematic part was the renderer, since the TI-84 Plus CE has no graphics acceleration hardware to speak of. A 16-bit multiplication instruction present in the eZ80 helped speed up sprite and tile plotting in software, in terms of calculating the location of the graphics.

That said, handling the tile-based background was a challenge. Sega’s console hardware provides lots of support for rapidly arranging and scrolling Sonic’s levels, and that acceleration needed to be emulated on the calculator’s eZ80.

sonic

Screenshot of the port’s graphics software renderer mid-development

Grubbycoder implemented this with a 56KB framebuffer in the TI’s VRAM and a caching system that reduced the tile rendering time by a factor of eight, allowing the game to actually be playable.

The intro of Sonic the Hedgehog 2 on the Ti-84 Plus CE.

Starting up the port and getting the intro rendering

While not a perfect conversion, on the whole it runs, it’s a cool programming project, and it’s not even that different from the original version. “Technically, the 84 Plus CE port retains 90 to 95 percent of the original 8-bit Sonic 2 code,” grubbycoder says. 

There’s no audio since the calculator doesn’t have speakers, and deleting the audio code and materials made the game smaller at least. The framerate is lower than the 60 FPS Master System owners would have enjoyed. “On base 84 Plus CEs, which was the model emulated in testing, the game runs at about 53 percent speed with the normal build,” the dev says.

There is a fast model of the game that runs at 74 percent speed, but this version has no enemies, bosses, or even the goalposts that signal the end of levels, meaning even the first level cannot be completed.

“The slowdown is almost entirely due to ROM banking, specifically swapping in banks that contain logic for Sonic, all the Badniks, and every gimmick in the game,” grubbycoder says.

“If the calculator didn’t have wait states, then it wouldn’t be a problem at all, but other solutions include converting those banks to run in the 84 Plus CE’s 24-bit mode, so they just be jumped to instead of loading them in all at once.”

But technically, if one very bored student with only a calculator to fiddle with wanted to beat Sonic the Hedgehog 2 from start to finish and would tolerate a somewhat bad framerate, it’s very possible. Though nowadays high-end calculators equipped with Arm CPU cores, such as the Nspire, can run actual Genesis games, and may be the better option for those looking for the best calculator gaming experience, grubbycoder says.

Still, the developer is looking to add more Sonic games to the 2015-era TI-84 Plus CE. “In the future, I would like to try remaking some more obscure Sonic games for the calculator,” he says.

“They wouldn’t be the platformers everyone’s familiar with, but some of the LCD games by Tiger Electronics and the Sonic Adventure Gamebook series are what I’m mostly interested in remaking.” ®

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : The Register – https://go.theregister.com/feed/www.theregister.com/2024/05/26/sonic_texas_instruments_calculator/

Tags: BoredStudentstechnology
Previous Post

4 more years! Intelsat, Northrop Grumman extend satellite servicing contract

Next Post

Amazon Launches ‘Amazon Q’: Transforming Work with AI

The Bird Flu Story No One Is Telling – Scientific American

The Untold Story of Bird Flu: What You Need to Know

July 15, 2025
Combining science and policy for a unified global soil biodiversity observatory – Nature

Building a Global Soil Biodiversity Observatory: Bridging Science and Policy for a Sustainable Future

July 15, 2025
Quality of scientific papers questioned as academics ‘overwhelmed’ by the millions published – The Guardian

Are Scientific Papers Losing Quality as Academics Struggle to Keep Up with Millions Published?

July 15, 2025
Lower your risk of early death by some 40% with this lifestyle change – CNN

Lower your risk of early death by some 40% with this lifestyle change – CNN

July 15, 2025
Palmer leads Chelsea to incredible, improbable Club World Cup romp over PSG – ESPN

Palmer leads Chelsea to incredible, improbable Club World Cup romp over PSG – ESPN

July 15, 2025
Feds Collins: solid economy gives Fed time to decide its next interest rate move – Forexlive | Forex News, Technical Analysis & Trading Tools

Feds Collins: solid economy gives Fed time to decide its next interest rate move – Forexlive | Forex News, Technical Analysis & Trading Tools

July 15, 2025
Black River Entertainment Adds Traci Hite As Director Of Promotion, Southeast – MusicRow.com

Black River Entertainment Welcomes Traci Hite as New Director of Southeast Promotion

July 15, 2025
Stormont Vail Health dermatology specialist talks sun safety at walk with an APP – WIBW

Top Dermatology Tips for Staying Safe in the Sun During Your Next Community Walk

July 15, 2025
Young voters seek authentic representation in politics, says Brett Cooper – Fox News

Young Voters Rally for True Representation in Politics, Urging Real Change

July 15, 2025
Guest columnist: China cutting corners on technology – The State Journal

China’s Rapid Tech Advances Spark Worries About Cutting Corners

July 15, 2025

Categories

Archives

July 2025
MTWTFSS
 123456
78910111213
14151617181920
21222324252627
28293031 
« Jun    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (722)
  • Economy (745)
  • Entertainment (21,632)
  • General (15,913)
  • Health (9,783)
  • Lifestyle (753)
  • News (22,149)
  • People (747)
  • Politics (756)
  • Science (15,964)
  • Sports (21,243)
  • Technology (15,729)
  • World (729)

Recent News

The Bird Flu Story No One Is Telling – Scientific American

The Untold Story of Bird Flu: What You Need to Know

July 15, 2025
Combining science and policy for a unified global soil biodiversity observatory – Nature

Building a Global Soil Biodiversity Observatory: Bridging Science and Policy for a Sustainable Future

July 15, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version