← All cores
SRD (Eggsecutioner528)
Cites hardware documentation that MAME's driver does not — 3
- rtl/srd_main.v:11 Memory map: 0000-05FF RAM, 0600-07FF sprite RAM (copied to the draw buffer by a write to 1804), 0800-0FFF character RAM, 1000-13FF RAM, 1400-17FF background RAM (512 tiles x 2 bytes), 1800/1801 MCU value (high/low), 1802-1803 no effect, 180
- rtl/srd_sound.v:9 0000-05FF RAM 2000-2001 YM2203 (write) 4000-4001 YM3812 (write) 6000 sound latch (read) 8000-FFFF ROM (32 KB)
- Readme.md:109 | <img src="docs/readme/icons/jotego.png" height="72"> | **Jose Tejada (jotego)** | The JTCORES chip cores used here: `jt65c02`, `jt03`, `jtopl`, `jt49` and the
Says it was checked against the original PCB — 1
Cites MAME source — 25
- SRD.sv:122 DIP switches as in MAME's srdarwin and srdarwinj: with every option on its first entry they read the factory defaults.
- SRD.sv:347 DIP switches as MAME's srdarwin / srdarwinj read them (see the menu above for how each option maps; every option's first entry is the factory default).
- SRD.sv:352 Standard arcade keyboard keys (as MAME): 5 and 6 coins, 1 and 2 starts, arrows, Ctrl and Alt for player 1 (decoded from the PS/2 key events the framework delivers).
- SRD.sv:375 IN0 (3801): player 1 right left down up (MAME order: right, left, up, down), button 1, button 2, start 1, start 2 (active low).
- rtl/jt65c02/jt65c02_ctrl.v:79 DECO 222 (Data East): opcode fetches have bits 5 and 6 swapped (MAME deco222.cpp read_sync); md holds the opcode byte at next_instruction
- rtl/jt65c02/jt65c02_regs.v:78 B bit set, except on an IRQ / NMI entry (MAME m6502 pushes P with B clear)
- rtl/srd_gfxrom.v:9 download: single bytes arrive in MAME region order and are written (one byte write each, scattered) to their place in the row format, 2.
- rtl/srd_loader.v:8 Layout of the stream (plain MAME file order, written by tools/make_mra.py): 000000-01FFFF background tile ROM, four banks of 0x8000 bytes: dy_03.b4 chunk k (0x4000, "lo") then dy_02.b5 chunk k (0x4000, "hi") -> SDRAM tile rows 020000-04FFF
- rtl/srd_main.v:9 Written from MAME's dec8.cpp (srdarwin_state), see docs/PROJECT_NOTES.md.
- rtl/srd_main.v:16 MCU INT1 pulse: MAME clears it 64 MCU clocks (8 us) after the write to 1800
- rtl/srd_main.v:206 P2.2 low raises the main CPU IRQ; MAME never clears it again (the game's IRQ vector is a bare RTI).
- rtl/srd_sound.v:7 Super Real Darwin sound board, after MAME's dec8_state_base::dec8_s_map and srdarwin_state::srdarwin: DECO 222 (a 6502 whose opcode fetches have bits 5 and 6 swapped) 1.5 MHz, YM2203 1.5 MHz, YM3812 3 MHz
- rtl/srd_sound.v:10 The main CPU's write to 2000 stores the command in the latch and gives the sound CPU an NMI that is released after 3 CPU cycles (MAME sound_w).
- rtl/srd_sound.v:117 Mix after MAME's routing: YM2203 FM 0.20, each SSG channel 0.23, YM3812 0.70.
- rtl/srd_sound.v:117 Starting gains (in 1/64) are Gondomania's fit scaled by the route ratios (FM 54 * 0.20 / 0.40, OPL 29 * 0.70 / 0.50, SSG 13.5 * 0.23 / 0.20); to be trimmed against a MAME recording (tools/fit_audio_gains.py).
- rtl/srd_sound.v:148 DC blocker (the SSG output is unsigned and its own DC removal needs seconds to settle after power on; MAME's output is centred): one pole high pass of about 4 Hz, updated at the 1.5 MHz enable
- rtl/video/srd_video.v:8 Written from MAME's dec8_v.cpp (srdarwin_state), see docs/PROJECT_NOTES.md.
- rtl/video/srd_video.v:17 Palette: 0-127 background (colour * 16 + pen), 64-127 overlap rule: sprites use 64 + colour * 8 + pen, characters 128 + pen (as MAME's gfxdecode bases).
- rtl/video/srd_video.v:31 raster position at reset release (calibrated against MAME: it sets where the first NMI lands)
- rtl/video/srd_video.v:216 decide two clocks after the issue, when the line buffer value has arrived: a hidden pixel (colour 0 under layer 0) still marks the priority (MAME)
- Readme.md:96 The hardware was worked out from MAME's driver source, the ROM code itself, the datasheets of the standard chips, and tests against MAME.
- Readme.md:96 The video, CPU and MCU were compared with MAME frame by frame and write by write in simulation.
- Readme.md:101 The exact positions of the sync pulses come from MAME's raster figures, not from measurements of a real board.
- Readme.md:108 | <img src="docs/readme/icons/person.png" height="72"> | **MeatHax** | Author of the DEC8 (DECO 8 bit) core for MiSTer, which brought Super Real Darwin to the p
- Readme.md:112 | <img src="docs/readme/icons/doc.png" height="72"> | **The MAME project** | The driver source for the hardware and the reference used throughout |
Says it matches, follows or was checked against MAME — 3
- rtl/jt65c02/jt65c02_regs.v:101 to start up the same as MAME.
- Readme.md:5 Tested on real MiSTer hardware: both versions boot and play with sound; the picture matches MAME pixel for pixel.
- Readme.md:100 The sound was matched to a MAME recording of the attract mode (levels within about 5 percent).