204 points · by cglong · 3y ago · 47 comments
This is missing some important information. One input to the flip flop is D0 on the ROM, yes, but it only sets when there is a clock signal. Otherwise there would be some very interesting coding constraints.
The clock of the flip flop is connected to cartridge pin B31. Here's the best explanation I can find of that pin:
'/TIME' is the schematic label given to pin B31 on the cartridge slot. It is essentially a chip enable for the I/O port range $A130Fx, and is used for programming on-cart memory mappers. The only games I know of that use it are Beyond Oasis, Phantasy Star 4 (both for switching between ROM and SRAM at $200000-3FFFFF) and Super Street Fighter 2 (for a full-blown ROM banking chip). I don't know why it's called '/TIME'; perhaps they expected to connect an RTC chip to it.
So if you write to certain addresses, the genesis will flicker that pin, which is great for controlling an extra chip like this. (I mean, it's meant to control an extra chip, but it seems like the plan is a significantly smarter one than a flip flop.)
Thanks for your explanation. I'm a programmer but don't have a strong electronics background. Clock signals, those chip enable signals and how they interact were difficult for me, especially at the time I wrote that.
Edit: I just added a full citation for your comment. Thanks again!
Never thought it would make it to HN. In the comments I wrote:
> I wish a professional would comment on my analysis of the circuit; if there are errors, I would like to fix them and learn more.
Perhaps today is the day!
But man, that answer in the Stack site was excellent. Informative, long but concise, and very fun to read.
I wrote a blog post for some time ago titled "How I built my own Sega Mega Drive hardware dev kit from scratch" https://nestenius.se/2022/01/18/how-i-built-my-own-sega-mega...
Turns out it has a pretty simple and clever solution. Kind of lost that with post production shipped patches.
- 1080p maximum video output, meaning lower production and GPU costs
- Absolutely no internet or wireless connectivity. Wired controllers.
- Due to no wireless connectivity, all games produced are final from the beginning. Like the good old days.
- Switch-like cartridges, but with weaker DRM that maybe permits just using standard SD cards. Thus console has no need to have an expensive built-in disc reader and only requires minimal internal flash.
- Due to the niche market, the console manufacturer doesn’t charge a 30% cut, and handles all manufacturing in-house, so nobody needs to worry about financing a production run.
I think with proper marketing, and a good enough system for quickly porting games (maybe it’s just Proton under the hood?), you could find an audience in collectors… and prisons where the lack of connectivity is a feature.
Particularly intentionally making it unable to patch games. It's not like cartridge or pre-internet era disc games were bug free, just in that era you were stuck with whatever bugs the game shipped with forever. Games popular enough to get additional production runs were often patched, but those who bought an early version didn't get whatever changes the new one brought unless they went out and purchased a new one. Games that didn't sell well enough, perhaps at least in part because of the bugs they shipped with (E.T.? Superman 64?) never got patched.
The best case scenario back then was something like Morrowind on Xbox, where the game was popular enough to warrant the expansions being ported over from PC and released as a compilation with an updated version of the base game that included a workaround for the game-breaking issue experienced on the original release. We still had to buy the patch, but at least it came along with a lot of new content so it didn't feel like rebuying the same game.
And for certain groups (e.g., speedrunners), this was incredibly important. The example I'm most familiar with is Metroid Prime 1, where so many tricks and sequence breaks are only possible in the original NSTC release.
The Steam Deck has no physical media. Xbox and PlayStation Physical Media is a joke with extremely buggy and often incomplete builds. Switch cartridges are much closer to ideal… but the Switch has well-known compromises. Performance could be far superior on a stationary non-handheld, you wouldn’t need to develop assuming Joy-Cons…
It would almost be marketable as being the machine for archivists and collectors; with a focus solely on what they appreciate (complete games, physical media, no gimmicks.)
Surprisingly, the rotting corporate corpse of a company that is the modern Atari managed to release their version, the stupendously called Atari VCS. However, no one cares about it, with Atari’s 50th anniversary collection the only thing of note that company has licensed. Not made. Licensed.
I guess there are things like the Colour Maximite 2 that allows for decent speed Basic interpretation. https://micromite.org/shop/maximites/colour-maximite/colour-...
Blaze changed the way the Evercade EXP reads carts, however, and it seems like the console no longer reads carts, or at least doesn’t after the first time.
Seriously though, great post! As a teenager with some knowledge of programming I always wondered what black magic enabled them to graft a new character into an old game (Sonic 2) - it never occurred to me that they'd just shipped a new version of the game code.
I think the Dreamcast Pop'n'music (Japan only) games might've had expansion discs as well? Not sure about that one.
I realized recently that you could actually test this -- with a sufficiently old N64 console, and two copies of Banjo Kazooie, you could use the cheat codes to unlock the hidden locations on one game, then swap over to the second copy. Theoretically, that should unlock them without having to use the cheat codes.
If I was a bit more motivated to spend the money, I'd try it myself and make a Youtube video about it!
Reference: https://www.raregamer.co.uk/rare-gamer-interviews-paul-macha...
e; actually I think it's not possible for a Banjo-Kazooie game to transfer to another Banjo-Kazooie game, the memory that it writes to is different from the one it reads from. https://tcrf.net/Banjo-Kazooie/Stop_N_Swop