Windows 95 had dedicated code to nix an OG Sim

build muscle

wow warcraft alliance horde cataclysm leveling guide

The nature of the internet is that an amazing piece of information can be out there for decades, before the right person shares it and everyone’s slightly gobsmacked we missed it for so long. This is hardly the most consequential of tales, but it was first shared by software engineer Joel Spolsky way back in the year 2000 in a post about the chicken and egg problem for platform and software developers.

A few days ago Kal Yoshika, a podcaster and game developer, read the blogpost and shared this story about Sim City (and the tweet was subsequently picked up by outlets including RPS) that’s just been out there in the wilds for the past twenty years.

Spolsky is writing about how important backwards compatibility was for Microsoft, and how the success of Windows 3, in Spolsky’s interpretation at least, could in part be put down to how well it ran older software. Thus we move onto Windows 95…

“Windows 95? No problem,” writes Spolsky. “Nice new 32 bit API, but it still ran old 16 bit software perfectly. Microsoft obsessed about this, spending a big chunk of change testing every old program they could find with Windows 95.

“Jon Ross, who wrote the original version of SimCity for Windows 3.x, told me that he accidentally left a bug in SimCity where he read memory that he had just freed. Yep. It worked fine on Windows 3.x, because the memory never went anywhere.”

On a different operating system, however, this bug could stop the game working altogether: and SimCity was a very popular game indeed.

“Here’s the amazing part,” writes Spolsky. “On beta versions of Windows 95, SimCity wasn’t working in testing. Microsoft tracked down the bug and added specific code to Windows 95 that looks for SimCity. If it finds SimCity running, it runs the memory allocator in a special mode that doesn’t free memory right away. That’s the kind of obsession with backward compatibility that made people willing to upgrade to Windows 95.”

These days every game receives post-launch support but, back then, whatever bugs a game shipped with would be a part of it forever. The industry as it was didn’t have post-launch support as a high priority, and it was out of the question that the SimCity developers would fix this bug: so Microsoft built a whole little system that temporarily runs your PC in a new manner to countervent it. It’s one of those heroic programmer moments where no-one would ever have known about this if not for Spolsky’s post, because it did the job.

Yoshika’s initial sharing of this led to some others chiming in with their favourites. The superbly named code_and_beer points out (opens in new tab) that the PC version of Final Fantasy VII “will outright die if it sees it’s running on Win NT instead of Win95, so Windows lies based on the presence of some files.” That is, NT tells FF7 it’s running on Windows 95, even though it’s not, just so Square Enix’s magnum opus runs. Brilliant.

SimCity programmer Jon Ross would go on to work on the series for many years, and is responsible for one of the silliest game easter eggs ever. It will (probably) make you laugh though.

See more

Joel Spolsky is now retired after a long and extraordinary career in software, during which he worked on world-famous products and founded multiple companies. His personal website is infrequently updated but absolutely rammed with his thoughts on technology and the wider issues the industry faces.

View Original Article Source Here

New Releases, Upcoming Games, and More
Call of Duty: Modern Warfare II Review
ValiDate: Struggling Singles in Your Area Review
Coming Soon to Xbox Game Pass: Persona 5 Royal, Gunfire
Thanks, PlayStation, For Still Having the Best Exclusives in Gaming
US PS5 Players Notice Much Updated Explore Page
Official PlayStation Podcast Episode 444: Ragnarök Arrives
Tune into the God of War Ragnarök Soundtrack Listening Party
Third Major Monster Hunter Rise: Sunbreak Update Due On November
Best Nintendo Switch Football Games
Random: YouTuber Ludwig Announces His Own Super Smash Bros
Episode 323
How to unlock dragonriding in WoW: Dragonflight
Here’s where to find every Dragon Glyph in WoW: Dragonflight
The Witcher remake will be an open world ‘reimagining’ of
How professions work in WoW: Dragonflight
CYBERPUNK 2077 Walkthrough Gameplay Part 1
MotoGP™ 18 The Official Videogame
A WAY OUT Walkthrough Gameplay Part 1
First Look at Bayonetta 3 Gameplay – Nintendo Switch
Little Nightmares II
Top 10 Best Live Action Video Game Trailers
Monster Hunter Rise Xbox Game Pass, PS4, and PS5 Leaked
Ukie’s RaiseTheGame launches Access November to “inspire the games industry
Dragalia Lost Had the Best Game Soundtrack You Might Not
Check out the development roadmap and DLC heading to Sker