Stay Sharp! •••with SC Denshi System Techō games

With a background in ROM hacking and hardware hacking, I’ve done a reasonable amount of black-box reverse engineering before – it’s a lot faster than reverse-engineering based on decaps, and definitely the right initial approach for a holistic system like this. Take the Game Boy, for example – its chips were only decapped and mapped out within the last half-decade or so, and emulators have been plentiful since long before.

Being Sharp machines, the CPU used won’t be anything too funky (likely a well-documented instruction set; maybe even a common architecture – educated guess without looking into it, perhaps a Z80 derivative?), and the game cartridges themselves should mainly consist of a ROM chip, which is more or less trivial to dump. With a ROM dumped, it’s a question of disassembling enough of it to learn how to communicate with the peripherals (or getting one’s hands on a development manual, which may be within the realm of possibility), and perhaps building a flash cart to run custom test code, and voila – that’s all you need right there for a competent emulator.

5 Likes

If it’s of any help, or just for interest sake, here are some photos of the inside of an IC card.

4 Likes

Whoa! Nice! :smiling_face_with_three_hearts: And bleh! Epoxy! Nintendo never globbed any tops, and surely their games were produced in higher quantities than these. I suppose it makes sense with Sharp manufacturing their own chips that they might be able to glob the die on there for cheap even in smaller runs.

Only two ICs on there, though! One’s gonna be the ROM – the other… possibly a bank controller? Vexing that you can’t pop off the ROM and dump it straight from the chip, but dumping it would still only be a matter of a bit of intercepting the communication between the machine and the cartridge. (I say “only”, but given the way the machine is constructed, it looks like it might be a real chore to tap in to the pins on the cartridge while it’s plugged in, hahah.)

4 Likes

You can do it! You gotta believe!

2 Likes

If I manage to get my hands on the hardware! Can’t responsibly spare the funds at the moment – boo; hoo.

If I find another for $2.50 I will send it your way.

1 Like

I most definitely read that about three times as “If I find another $2.50 I will send it your way” – I’m not that strapped, I thought…

Please do! Your auction-hunting skills are unparalleled! :smiling_face_with_three_hearts:

2 Likes

oh, I found that in person at a thrift store!

1 Like

Oh, wow! Well, if lightning should strike twice, consider my onegai highly shimasu’d! :bowing_man:

1 Like

I can donate you some spare Japanese Sharp organizers and a couple of IC cards for them. Even if you don’t succeed with the emulator, I would like you to publish the results of your hacking online.

Regarding the CPUs, for the Japanese models, it’s either ESR-H (SC61860), used for SHARP’s 8bit pocket computers in the past ( PC-12xx, 13xx, and 14xx), or ESR-L (SC62015), well-known with the introduction of SHARP’s Pocket PC-E500 series. ESR-H was used in all PA-XXX0 organizers but 9xx0 series (ESR-L).

The Western Sharp organizers were all based on ESR-L CPU.

8 Likes

Oh my lord…! What an incredibly generous offer! (By the man, the myth, the legend himself – how kind of you to join the forum for this!) I’d love to take you up on it – I’ll PM you! :blush:

Really looking forward to getting cracking. I’ve been utterly unable to stop myself from doing all the online research I can for the past week or so.

6 Likes

Wonderful! Team work makes the dream work.

2 Likes

Preface: This post ended up being jam-packed with technical details and jargon – a bit of a “devlog” feeling, if you will. If anyone wonders anything, ask away! No such thing as a stupid question! :smiling_face:


The package @Akuji (so colossally kindly) sent has (so eminently excitingly) arrived!

I’ve yet to boot them up (I neglected to pick up the third required battery), but I’ve taken them apart and started to scheme together an attack plan. I’d like to begin by dumping the ROM from a cartridge. I’m considering two primary approaches to this.

#1: Run code via the data cable

There may be a way to transfer a program via the data port to run from the device’s RAM. Should that be the case (…and we don’t run into any pesky security features), we can write, assemble, and transfer a program that dumps the ROM back via the data cable!

This is an undertaking, however – I’d need to obtain a data cable, make a board to plug it into a PC (though it’d be a simple one), and crucially figure out the memory map.[1] And that’s assuming there is such a feature in the first place! I’d rather not fly blind, and given the lack of any development manual, I’ve put more work into thinking up approach #2, which is to…

#2: Tap into communications with the cartridge

As the machine accesses the data on the cartridge, we can tap into the signals it sends and receives and observe the communication patterns to deduce what purpose each pin might serve. Importantly, which pins constitute the address bus? And the data bus? How is a potential bank controller… controlled?[2]

Earlier, I wrote:

I already expected that “only” to be overly optimistic, but y’all. Sling me a pack of paracetamol, because this’ll be an explosive headache. This is hardware in a different price class (and manufactured by a more hardware-focused company) than the Game Boy, where the bulk of my experience lies, and it shows: Already in 1987, Sharp was exercising some major bespoke minimization techniques. Far from the card-edge connector of most consoles, or even the card-edge-style connector found on, for example, the Master System’s Sega Card, or even even the funkier rendition on the PC Engine’s HuCard, Sharp’s solution is a 45-pin single-row pin connector with a 1-millimeter pitch.

Only 39 of the 45 positions are loaded, as evidenced by the jazzy bespoke device-side connector apparently manufactured by JAE, AKA Japan Aviation Electronics:

Who is she??? This is no standard connector (or perhaps it was in 1987 and is no longer). Thus, I’ll have to design a bespoke man-in-the-middle breakout board – one end plugs into the device;[3] the cartridge plugs into the other; a third end exposes a standard (non-tiny) pin header. This won’t be entirely easy – for one, the Sharp cards are only 2 mm thick, so the board-plus-connector must be hwafer-thin, and for two, I’m not sure I can find a 1-mm-pitch male pin header that reaches deep enough into the cards – but… it certainly inhabits the realm of possibility. It’ll cost a bit, however, so we’ll see when I can comfortably set that cash aside.


  1. This may not be prohibitively difficult, though. A NOP slide and a few attempts throwing things at the wall, and that might be enough to figure out where the program is run from and where the cartridge ROM is mapped. What might be harder is figuring out how to control a potential bank switcher. Of course, if we’re lucky, there’s some obscure corner of the Japanese internet that documents this… ↩︎

  2. I’ve garnered the purpose of a couple of pins just studying the circuit board, but trying to use that path to go much further is… inadvisable. “Like pulling nails”, I might describe the idea as. ↩︎

  3. I considered doing this by way of ribbon cable hanging out of the device like a Lovecraftian appendage, but ain’t nobody manufacturing a 45-position 1-mm-pitch ribbon cable. Best I could do is three 15-position ones side by side, but then I’d need to file down the edges to fit them snugly next to each other!? I’d rather make a lonnng board to plug in instead. ↩︎

12 Likes

Count me in for a donation of $50. Let’s do this!

(Well, you’re doing the work, but you know…)

3 Likes

I could chip in about $20.

Do we want to start up a fundraiser? I’m all for making this happen!

2 Likes

Absolutely happy to help fundraise for this. if you set something up like a ko-fi or anything else I will share it round on bluesky and talk about what’s going on a bit.

4 Likes

A very awesome project and one near to my heart! Count me in for €50 and any information material I might have that could be useful.

7 Likes

Hey @swartz_de, it’s nice having you here. @Obskyr Rick’s specialty is Sharp’s pocket computers, some of which utilize the same CPUs as the company’s organizers. Rick has quite some knowledge regarding the devices’ internals, so he might help you in your hacking journey.

7 Likes

Thank you so much for the kind offers, @gingerbeardman, @ninjapresident, @exodus, and @swartz_de! :smiling_face: I wouldn’t say no to donations to finance the research. I don’t want to set up an official page or anything just yet – I wouldn’t be comfortable with donations that come with too many expectations: I sadly can’t guarantee I’ll finish an emulator – only that I’ll do some good research.[1] With that understanding, though, feel free to PayPal me and I’ll make sure it goes toward making progress on the SC Denshi System Techō R&D. Let’s make this an Insert Credit Forums collective effort! :heart:

Here’s a status update for y’all: I’ve finished designing the breakout board needed to probe and analyze the communication with the cartridges! The blade plugs into the machine, the cartridge plugs into the pommel, and the pins on the crossguard can be probed to one’s heart’s content. (Yes, I’m imagining this as a sword.)

I had a scare where it seemed like I would need an unusually thin PCB (of 0.4 or even 0.2 mm), which makes the manufacturing price cosmically exorbitant – but after many careful measurements, it appears we’ll just barely squeeze by with a regular 0.6-millimeter board,[2] for which the price is… well, regular. (The components, on the other hand – despite being supremely simple – turned out to be more obscure and expensive than I expected…! As I said earlier: Ain’t nobody manufacturing a 45-position 1-mm-pitch… anything, as it turns out.)

Anything left over will probably be put toward a proper logic analyzer. (It’s about time! I would describe the li’l knock-off number I got on Ali Express a decade ago as “iffy”.) Lord knows what’ll pop up along the way, though – I might end up needing to cook something up for the link port after all.


I received some exceptionally helpful technical information from an acquaintance of @Akuji’s – a million thanks for arranging that! It potentially takes care of a gargantuan amount of research that I no longer need do…! Before looking at it, though, I’ll consult a few emulator developer acquaintances to figure out the legalities involved.[3] I believe Endrift – developer of the mGBA Game Boy Advance emulator – has a good handle on that particular topic.


  1. Which, to be fair, in the worst-case scenario paves the way for someone else! ↩︎

  2. Technically it’s 0.05 mm too thick, but when you’re faced with the proposition “bend the pins upward by a single-digit number of degrees or pay 20× the price for PCB manufacturing”, the answer seems as clear as the water in a fairy pool. ↩︎

  3. Not that I’m a stranger to being a rascal in the name of video game history preservation – it’s just nice to know what decisions you’re making. ↩︎

10 Likes

Sent some party funds to hopefully to make this easier or more possible for you. Sent without any expectations :sunglasses:

2 Likes