← All cores
ChampionBaseball
Cites hardware documentation that MAME's driver does not — 1
- rtl/championbaseball_dispatcher.sv:138 0 2K work RAM 8800 (port B hiscore) 1 1K ext RAM 6000 (no-MCU sets) 2 1K RAM 7C00 (Exciting Soccer, port B hiscore) 3 2K video tile RAM (CPU / copy) 4 2K video tile shadow (copy / display) 5 2K
Ships hardware documentation files — 2
Cites MAME source — 48
- rtl/rodimus/hmcs40/alpha8201.sv:10 mcu_start / bus_dir <- LS259 mainlatch Q6/Q7 (champbas.cpp:935-936) ext_* <- champbas_map 0x6000-0x63FF shared RAM mcu_addr / mcu_data -> champbas_rom's 13-bit MCU ROM port CEN_DIV generates the machine-cycle enable; pause
- rtl/rodimus/hmcs40/alpha8201.sv:23 Z80-side control (LS259 mainlatch, champbas.cpp:935-936)
- rtl/rodimus/hmcs40/alpha8201.sv:121 mcu_update_address() (alpha8201.cpp:357-361): m_mcu_address = (m_mcu_d<<8 & 0x300) | m_mcu_r[2]<<4 | m_mcu_r[3];
- rtl/rodimus/hmcs40/alpha8201.sv:126 mcu_data_r gate, alpha8201.cpp:368
- rtl/rodimus/hmcs40/alpha8201.sv:127 mcu_writeram gate, alpha8201.cpp:353
- rtl/rodimus/hmcs40/alpha8201.sv:135 Z80 side — unconditional (alpha8201.cpp:418-428 comment: "going by
- rtl/rodimus/hmcs40/alpha8201.sv:138 MCU side — read (mcu_data_r, alpha8201.cpp:364-376): R0 gets the
- rtl/rodimus/hmcs40/alpha8201.sv:140 (part 2): MAME read_r() (hmcs40.cpp:387-396) IS_CMOS (hmcs40.cpp:123), so m_polarity is truthy -> the AND branch.
- rtl/rodimus/hmcs40/alpha8201.sv:146 MCU side — write (mcu_writeram, alpha8201.cpp:350-355).
- rtl/rodimus/hmcs40/alpha8201.sv:151 MAME, not two.
- rtl/rodimus/hmcs40/alpha8201.sv:151 Both port writers funnel through mcu_update_address(): mcu_data_w() (write_r<0..3>, alpha8201.cpp:378-384) -> update_address -> writeram
- rtl/rodimus/hmcs40/alpha8201.sv:176 pin 19 !HLT tied to Vcc — never halted (alpha8201.cpp:52)
- rtl/rodimus/hmcs40/alpha8201.sv:183 R2-R7 have NO read_r<> bind in device_add_mconfig, so they take MAME's on at $0ECF -> "TESTING 6" hangs forever.
- rtl/rodimus/hmcs40/alpha8201.sv:191 (alpha8201.cpp:329 binds write_d only), and the core already applies
- rtl/rodimus/hmcs40/alpha8201.sv:198 pin 30 INT0 = GO (alpha8201.cpp:57)
- rtl/rodimus/hmcs40/alpha8201.sv:199 pin 31 INT1 = n.c. (alpha8201.cpp:58)
- rtl/rodimus/hmcs40/hmcs40.sv:12 HD44801 = HMCS44 family (hmcs40.cpp:46, :113-128): stack_levels = 4, pcwidth = 11, prgwidth = 12 (program_2k, 4096 words), datawidth = 8, data_160x4 (160 x 4-bit RAM), polarity = CMOS.
- rtl/rodimus/hmcs40/hmcs40.sv:17 cen : one clk-wide pulse per machine cycle, generated by the WRAPPER, not here — one cen per MAME cycle() call (hmcs40.cpp:647-651).
- rtl/rodimus/hmcs40/hmcs40.sv:22 Approximation: an INT1-edge counter bump (hmcs40.cpp:598-599) landing on an FSM commit edge is dropped.
- rtl/rodimus/hmcs40/hmcs40.sv:31 HMCS40_INPUT_LINE_HLT (hmcs40.cpp:578) — active high halts the core
- rtl/rodimus/hmcs40/hmcs40.sv:43 D0-D15 discrete i/o (hmcs40.cpp:406-424).
- rtl/rodimus/hmcs40/hmcs40.sv:48 This is MAME's `m_write_d(...)` callback -> alpha_8201_device::mcu_d_w(),
- rtl/rodimus/hmcs40/hmcs40.sv:51 MAME binds write_r<0..3> to alpha_8201_device::mcu_data_w(), which calls mcu_update_address() -> mcu_writeram().
- rtl/rodimus/hmcs40/hmcs40.sv:56 INT0/INT1 pins (HMCS40_INPUT_LINE_INT0/1, hmcs40.cpp:573-603)
- rtl/rodimus/hmcs40/hmcs40.sv:60 debug/observability (not part of the MAME model — added for the
- rtl/rodimus/hmcs40/hmcs40.sv:97 LPU-latched upper bits (hmcs40op.cpp:462-476)
- rtl/rodimus/hmcs40/hmcs40.sv:100 hardware call stack (hmcs40op.cpp:24-36)
- rtl/rodimus/hmcs40/hmcs40.sv:164 Step1(LPU fixup)+Step2(shift regs)+Step3(int check) — hmcs40.cpp:663-676
- rtl/rodimus/hmcs40/hmcs40.sv:165 wait for cen: push_stack + redirect to vector (take_interrupt, hmcs40.cpp:551-571)
- rtl/rodimus/hmcs40/hmcs40.sv:172 reversed 4-bit immediate (hmcs40.cpp:681, m_i)
- rtl/rodimus/hmcs40/hmcs40.sv:181 LFSR PC increment — bit-exact transcription of hmcs40.cpp:632-645
- rtl/rodimus/hmcs40/hmcs40.sv:242 -- register-to-register (hmcs40op.cpp:49-99) ----------
- rtl/rodimus/hmcs40/hmcs40.sv:253 -- RAM address instructions (hmcs40op.cpp:104-173) ----
- rtl/rodimus/hmcs40/hmcs40.sv:267 -- RAM register instructions (hmcs40op.cpp:178-224),
- rtl/rodimus/hmcs40/hmcs40.sv:301 -- immediate instructions (hmcs40op.cpp:229-246) ------
- rtl/rodimus/hmcs40/hmcs40.sv:309 -- arithmetic (hmcs40op.cpp:251-369) -------------------
- rtl/rodimus/hmcs40/hmcs40.sv:335 -- compare (hmcs40op.cpp:374-414), all set S only ------
- rtl/rodimus/hmcs40/hmcs40.sv:344 -- RAM bit manipulation (hmcs40op.cpp:419-435) ---------
- rtl/rodimus/hmcs40/hmcs40.sv:349 -- ROM address instructions (hmcs40op.cpp:440-489) -----
- rtl/rodimus/hmcs40/hmcs40.sv:376 -- interrupt instructions (hmcs40op.cpp:494-609) -------
- rtl/rodimus/hmcs40/hmcs40.sv:397 -- input/output (hmcs40op.cpp:614-690) -----------------
- rtl/rodimus/hmcs40/hmcs40.sv:413 I_ILL — hmcs40op.cpp:41-44, no state change beyond pc advance
- rtl/rodimus/hmcs40/hmcs40.sv:448 P write-back (hmcs40op.cpp:673-689), applied once the pattern word
- rtl/rodimus/hmcs40/hmcs40.sv:476 hmcs40.cpp:273-290 device_reset(): cf/ie/iri/irt=0, if0/if1/tf=1
- rtl/rodimus/hmcs40/hmcs40.sv:496 hmcs40.cpp:656-661: internal clock stopped, nothing advances
- rtl/rodimus/hmcs40/hmcs40.sv:518 consumed unconditionally, hmcs40.cpp:676
- rtl/rodimus/hmcs40/hmcs40.sv:521 take_interrupt() (hmcs40.cpp:551-571): push return addr,
- rtl/rodimus/hmcs40/hmcs40.sv:614 cycle()->clock_prescaler() (hmcs40.cpp:618-625): normal
Says it was translated, ported or taken from MAME — 3
- rtl/rodimus/hmcs40/alpha8201.sv:6 SPDX-License-Identifier: BSD-3-Clause Copyright (C) 2026 Rodimus Ported from MAME src/mame/alpha/alpha8201.cpp (license:BSD-3-Clause, copyright-holders: hap).
- rtl/rodimus/hmcs40/hmcs40.sv:6 SPDX-License-Identifier: BSD-3-Clause Copyright (C) 2026 Rodimus Ported from MAME src/devices/cpu/hmcs40/{hmcs40.cpp,hmcs40op.cpp,hmcs40.h} (license:BSD-3-Clause, copyright-holders: hap).
- rtl/rodimus/hmcs40/hmcs40_decoder.sv:3 SPDX-License-Identifier: BSD-3-Clause Copyright (C) 2026 Rodimus Derived from MAME src/devices/cpu/hmcs40/{hmcs40.cpp,hmcs40op.cpp} (license:BSD-3-Clause, copyright-holders: hap).