summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh/sh4comn.cpp
Commit message (Collapse)AuthorAgeFilesLines
* srcclean in preparation for release. Vas Crabb2025-04-271-17/+17
|
* Implemented specific SH3/SH4 chips & pass the required endian into the ↵ smf-2025-04-171-467/+2156
| | | | constructor, SH4 internal registers now work when using big endian. The debugger is now aware that the SH3/SH4 has an MMU. [smf]
* misc cpu: no need to check debug enabled flag manually hap2025-04-111-1/+1
|
* cpu/sh: Improved SH7021 SoC emulation. (#11610) [Ryan Holtz, Phil Bennett] Phil Bennett2023-10-161-231/+197
| | | | | * Added (rudimentary) SH7021 DMA, timers and GPIO, and logging for the rest. * Fixed SH2 NMIs occurring in a delay slot when using the interpreter. * Generally cleaned up code and renamed functions/macros/variables more conventionally.
* Interrupt callback rationalization AJR2023-03-111-5/+5
| | | | | | | | | | | - Make CPUs pass interrupt return PC as a second argument to standard_irq_callback - Add interrupt return PC to "Stopped at interrupt" message produced by debugger 'gint' command - Add messages to trace logs whenever interrupts are accepted - Attempt to step over interrupt routines for applicable debugger commands - Eliminate standard_irq_callback_member wrapper method - Update many CPU cores to invoke standard_irq_callback at the start of or during interrupt processing, rather than at the end or when the input line changes - Remove IRQ callbacks for some input lines that never cause interrupts - mb88xx, mcs48: Add IRQ callbacks for internal interrupts
* src/devices/cpu: Remove #include "debugger.h" where no longer necessary AJR2022-04-061-1/+0
|
* srcclean in preparation for 0.240 Vas Crabb2022-01-231-9/+9
|
* Fix several issues in DC-based HW (#9150) Angelo Salese2022-01-171-28/+24
| | | | | | | | | | | | | | | | | | | | | | | | - Streamlined logging across chips to use logmacro.h, removed popmessages and printfs in production code; - Add missing include guards in header files; - split Atomiswave into own file from naomi.cpp (dc_atomiswave.cpp); - powervr2.cpp: YUV pitch follows U size, fixes #8999 - powervr2.cpp: move Elan related stuff back into naomi2_state; - naomi.cpp: support for player 2 keyboard inputs; - naomi.cpp: add proper inputs to alpilot/alpilotj and sstrkfgt; - naomi.cpp: hookup lightgun for deathcox; - naomi.cpp: make G2-DMA timings slightly more accurate (fixes sfz3ugd silent BGMs regression caused by implicit insta-DMAs) - dc_g2if.cpp: wrote a device for G2 DMA interface, fixes #9000 ; - dc_g2if.cpp: add E1/E2/DD channels thru template, add area protection, add illegal address and overflow exceptions (fixes loopchk g2 bus tests 0302 and 0303) - aica.cpp: $2814 CA reads doesn't need shifting, fixes ADX repeating sample/hang bugs in many entries [Angelo Salese, MetalliC]; - powervr2.cpp: make ISP/TSP irq to be slower, fixes regression bug with Capcom fighters having frame hiccups [David Haywood, Angelo Salese] - dc_atomiswave.cpp: converted aw_modem_r/_w to 32-bit, added 3p/4p inputs to ggisuka, expose EXID to an input/output ioports for future extensions; - dc_atomiswave.cpp: extend xtrmhnt2 ALL.Net hack for -drc, move around state machine to derive ALL.Net external device mapping instead of driver_init fn, demote to MUP for obvious reasons; - dc_atomiswave: add Area 1 mirrors, fix maxspeed title screen animation; - [MT#8143](https://mametesters.org/view.php?id=8143) is fixed New NOT_WORKING software list additions --------------------------------------- dc.xml: DC Checker for Repair v2.05R (World), Loop Checker v1.00 (World), GD Drive Repair Program v0.1 (World) [Hidden Palace]
* finally retired the READ8/16/32/64 and WRITE8/16/32/64 macros (nw) Ivan Vangelista2020-06-181-2/+2
|
* finished removing read* and write* macros from the mame part of the tree. ↵ Ivan Vangelista2020-06-161-6/+6
| | | | the devices tree will be next (nw)
* sh3: handle INTEVT register MetalliC2019-12-221-23/+27
|
* -sh2, sh4, sat_ctrl: Removed MCFG, nw mooglyguy2018-12-091-21/+21
| | | | | | | | | | | | -ticket: Added separate hopper_device, nw -aristmk6, atvtrack, cps3, cv1k, hikaru, saturn, sh4robot, stv: Removed MACHINE_CONFIG, nw -sat_ctrl/multitap, segatap: Refactored to use required_devicee_array, removed MACHINE_CONFIG, simplified code, nw -mega32x: Removed code duplication, eliminated MACHINE_CONFIG, nw -vegaeo: Removed machine().device, nw
* Start killing off non-diexec PULSE_LINE hacks (nw) AJR2018-05-151-8/+1
|
* sh4drc: UML implementations of FADD, FSUB, FMUL, and FDIV. [R. Belmont] arbee2018-04-141-25/+25
|
* Preliminary SH3 / SH4 recompiler [David Haywood] (#2711) David Haywood2017-10-111-54/+61
|
* use 'sh' instead of 'superh' David Haywood2017-10-021-0/+1465