Why my username?
Why my username? EFnet: kad77 (#emu)
First person to see Street Fighter II run accurately on a computer (except long division) in the world!
Hardware emulation is software that reproduces the behavior of a real console/arcade board’s chips closely enough that the original game program runs (largely) unmodified. That typically requires:
- CPU(s): instruction semantics, flags, exceptions, interrupts, and (often) timing.
- Memory map & bus behavior: mirroring, banking, IO decoding, wait-states, open-bus quirks.
- Video hardware: sprite/tile logic, scanline timing, raster effects, DMA, priorities.
- Audio hardware: sound chip behavior, timers, mixing, and synchronization to video/CPU time.
- “Glue” logic: watchdogs, IRQ lines, latches, protection devices, MCU handshakes.
In the mid-90s, host PCs were slow and documentation was fragmented, so early projects often started with partial models (limited game support, missing sound, coarse timing). As machines got faster and tooling improved, the expectation shifted toward high fidelity and long-term maintainability.
Reverse engineering ROM dumps and hardware specs without dev manualsIf you don’t have official development manuals, you can still build an emulator, but you’re effectively reconstructing the system from evidence: board photos, chip part numbers, observed runtime behavior, and the contents of ROM dumps. A typical workflow looks like this:
1) Acquire ROM dumps (and prove they’re correct)- Identify dumpable chips on the PCB (ROMs, PROMs, PLDs where possible) and extract them with appropriate readers.
- Repeat reads to ensure stable data; flaky legs/oxidation and marginal devices are common problems.
- Sanity-check completeness: number of chips on the board should match number of dumped files; label and position matter.
- Cooperative verification: share dumps + board details so others can validate and request re-dumps of suspect parts.
- Interleaving / endianness: many boards store 16-bit/32-bit words across multiple ROMs; file order and byte-lane wiring matters.
- Banking rules: large software images are often bank-switched; you must model how the hardware selects banks.
- Checksums / hashes: mature frameworks commonly identify known ROM images by hashes and verify expected sets.
- Disassemble the program ROM for the main CPU: interrupt vectors, IO register accesses, polling loops, DMA setup patterns.
- Find “register contracts”: repeated reads/writes to particular addresses strongly suggest device registers.
- Black-box testing on real hardware (when possible): observe what changes on screen/sound when you poke registers.
Consoles/arcade boards often include custom video/sound/protection silicon with undocumented behavior. Without manuals, you end up doing “tool-assisted guessing”:
- Establish minimal boot (CPU core + ROM mapping) and then iteratively implement peripherals until software progresses.
- Compare symptoms: if a title hangs at the same point, the missing behavior is often near the last unimplemented IO interaction.
- Timing and ordering: some devices require exact sequencing or precise “when” behavior, not just “what” behavior.
The most time-consuming gaps are usually undocumented custom devices, protection/encryption, and exact timing (scanline interactions, DMA windows, interrupt cadence). When official docs, schematics, or dev-board knowledge are unavailable, progress can depend on:
- Service manuals, patents, part-number datasheets (when you can find them).
- Community knowledge (logs, personal pages, reverse-engineering notes).
- Direct hardware access (instrumentation, repeated tests, multiple board revisions).
Historically, some breakthroughs in the scene were accelerated by information that wasn’t broadly published at the time. That can reduce uncertainty dramatically—but it also carries legal/ethical risk. The “clean” path is always to rely on lawful sources, public documentation, and reproducible observation.
Timeline: Gekko “teaser” → MAME Neo-Geo BIOS/gamesFor the specific mid-1998 arc you referenced, the surviving public record gives a clean timeline anchor:
| Date | Event | Why it matters |
|---|---|---|
| 1998-04-29 | Gekko “Pre-Release” / “teaser” is listed as updated on this date; full version never followed and the listing notes it “may be discontinued”. | Defines the public “Gekko teaser” point in time. |
| 1998-08-16 | MAME 0.34b1 is recorded as the first MAME release with NEOGEO BIOS and the first appearance of Neo-Geo games. | Defines the first recorded “Neo-Geo appears in MAME” milestone. |
That puts the gap between the Gekko teaser date and MAME’s first Neo-Geo BIOS/game appearance at roughly 3.5 months. Because the teaser explicitly says the full release never happened, “Gekko discontinued” is best treated as “effectively discontinued after the teaser” rather than a hard dated shutdown.
How big was the author pool in 1996? (excluding MAME)Exact counts aren’t preserved in a single authoritative census. But period emulator directories and release notes show the same structural pattern: most projects were single-author or tiny teams, and for any given console, only a handful of people were actively producing public builds.
A practical estimate that matches the era’s project structure: ~20–50 active console-emulator authors worldwide in 1996 (excluding MAME). (Assumptions: ~10–15 platforms with any public emulation in 1996 × ~1–3 projects each × ~1–2 authors each.)
Brian Verre projects and the primary authors involvedA preserved capture of Brian Verre’s homepage shows an “Emulation Project” section and explicitly links to original authors:
- GenEm PPC — original GenEm author: Markus Gietzen
- MasterGear PPC — original author: Marat Fayzullin
- Snes96/7 PPC — links to Jerremy Koot’s SNES work
- MagicEngine PPC — original author: David Michel
The 68000 does not execute “one instruction = one unit.” Instruction timings are defined in clock periods and vary by instruction and addressing mode. If an emulator only “counts instructions,” it can compute correct CPU state sequences yet still drift relative to video/audio timing (IRQs, scanlines, timers). Instruction-level timing moves the emulator closer to hardware reality by tying CPU progress to cycle costs.
Street Fighter II: timing vs “just counting instructions”On CPS-era titles like Street Fighter II, tighter timing improves interrupt alignment, raster-effect stability, and general sync. It reduces subtle failures that look like “random jank” but are actually timebase errors (events happening too early/late relative to the real board).
Neo-Geo / Gekko / NAM-1975 notes (and the “signature” idea)The Gekko teaser is widely remembered for only supporting NAM-1975. In the snippet below, the BIOS patch offsets and the specific NAM-1975 loading routine demonstrate the kind of detail that can become a fingerprint when comparing early codebases: independent reimplementations rarely match the same offsets and patch sequences by coincidence.
Original Gekko source code snippers (compare to early MAME driver!)void load_bios(void)
{
FILE *pFile;
unsigned short biostest;
pFile = fopen("NEO-GEO.ROM", "rb");
if(pFile)
//assumes "non-standard" moto MSB format, which I like. :p
fread(gbiosRom, 1, 0x20000, pFile);
fclose(pFile);
//patch bios
biostest = *(unsigned short *)&gbiosRom[0x11b00];
if (biostest == 0x4eba)
{
/* old bios */
/* Remove memory check for now */
*((unsigned short *)&gbiosRom[0x11b00])=0x4e71;
*((unsigned short *)&gbiosRom[0x11b02])=0x4e71;
*((unsigned short *)&gbiosRom[0x11b16])=0x4ef9;
*((unsigned short *)&gbiosRom[0x11b18])=0x00c1;
*((unsigned short *)&gbiosRom[0x11b1a])=0x1b6a;
/* Patch bios rom, for Calendar errors */
*((unsigned short *)&gbiosRom[0x11c14])=0x4e71;
*((unsigned short *)&gbiosRom[0x11c16])=0x4e71;
*((unsigned short *)&gbiosRom[0x11c1c])=0x4e71;
*((unsigned short *)&gbiosRom[0x11c1e])=0x4e71;
/* Rom internal checksum fails for now.. */
*((unsigned short *)&gbiosRom[0x11c62])=0x4e71;
*((unsigned short *)&gbiosRom[0x11c64])=0x4e71;
}
else
{
/* new bios */
/* Remove memory check for now */
*((unsigned short *)&gbiosRom[0x10c2a])=0x4e71;
*((unsigned short *)&gbiosRom[0x10c2c])=0x4e71;
*((unsigned short *)&gbiosRom[0x10c40])=0x4ef9;
*((unsigned short *)&gbiosRom[0x10c42])=0x00c1;
*((unsigned short *)&gbiosRom[0x10c44])=0x0c94;
/* Patch bios rom, for Calendar errors */
*((unsigned short *)&gbiosRom[0x10d3e])=0x4e71;
*((unsigned short *)&gbiosRom[0x10d40])=0x4e71;
*((unsigned short *)&gbiosRom[0x10d46])=0x4e71;
*((unsigned short *)&gbiosRom[0x10d48])=0x4e71;
/* Rom internal checksum fails for now.. */
*((unsigned short *)&gbiosRom[0x10d8c])=0x4e71;
*((unsigned short *)&gbiosRom[0x10d8e])=0x4e71;
}
}
int load_nam75(void) {
FILE *fp;
int i;
no_of_tiles = 24576;
//this should probably be done at game loading
ggameRom = malloc(0x100000);
if (!ggameRom) return 0;
else memset(ggameRom,0,0x100000);
//trying memset 0
ggfxReg1 = malloc(0x180000);
if (!ggfxReg1) return 0;
else memset(ggfxReg1,0,0x180000);
ggfxReg2 = malloc(0x180000);
if (!ggfxReg2) return 0;
else memset(ggfxReg2,0,0x180000);
fp=fopen("NAM_P1.ROM","rb");
if (fp) {
fread(ggameRom,1, 0x080000 ,fp);
fclose(fp);
}
fp=fopen("nam75.g1","rb");
if (fp) {
fread(ggfxReg1,1, 0x180000 ,fp);
fclose(fp);
}
fp=fopen("nam75.g2","rb");
if (fp) {
fread(ggfxReg2,1, 0x180000 ,fp);
fclose(fp);
}
fp = fopen("tiledata.bin","rb");
fread(fchr,1,0x40000,fp);
fclose(fp);
return 1;
}
Mid-90s (scene era): small author pool, scarce docs, slow PCs, and “first playable” milestones mattered even when sound or peripherals weren’t implemented. Coordination happened through personal pages, FTP mirrors, and IRC — especially EFnet channels like #emu.
Late 2025: a much larger ecosystem (more systems, more mature projects), higher accuracy expectations (timing fidelity, test ROMs, edge-case correctness), and modern distribution/support infrastructure (git hosting, issue trackers, modern chat).
IRC (#emu) and the early reverse-engineering cultureIn the 90s, IRC wasn’t just chat — it was where small groups traded findings, tested builds, and compared notes. Handles, not real names, were often the public identity, and projects lived on personal pages and mirrors. That’s a big reason why the technical record can feel “thin” today.
Links (yellow) + source site + likely year (green)- https://web.archive.org/web/19990210054057/http://www.execpc.com/%7Ewverre/
- https://mamedev.org/releases/whatsnew_033b7.txt
- https://www.mamedev.org/history.html
- https://www.mamedev.org/full_mame_history.html
- https://zophar.net/ngeo/gekko.html
- https://lordbbh.rustedlogic.net/ragnagard/
- https://archive.org/details/mame037b1-official-source
- https://archaic-ruins.lngn.net/emulator/genesis/genem.htm
- https://archaic-ruins.lngn.net/features/ar-dc/gen-emu.htm
- https://archaic-ruins.lngn.net/features/ar-dc/nes-emu.htm
- https://archaic-ruins.lngn.net/features/ar-dc/snes-emu.htm
- https://www.nesdev.org/wiki/Emulators
- https://www.nxp.com/docs/en/reference-manual/MC68000UM.pdf
- https://wiki.mamedev.org/index.php/Dumping_roms
- https://docs.mamedev.org/commandline/commandline-all.html
- https://docs.mamedev.org/_files/MAME.pdf
- https://qufb.gitlab.io/writeups/2023/12/29/Emulating-an-undocumented-console