summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/tms32025/tms32025.c
Commit message (Collapse)AuthorAgeFilesLines
...
* tms32025: Fix timings, hopefully Olivier Galibert2009-03-301-2/+2
|
* TMS320C25 fixes and enhancements: Olivier Galibert2009-03-261-6/+29
| | | | | | - accept IRQs on IDLE - actually count irq processing and instruction fetching cycles - add support for external serial frame sync with internal triggering (aka TXM=1 and FSM=1).
* CPU cores are now enabled on a per cpu core family basis instead of per cpu ↵ Wilbert Pol2009-03-251-4/+0
| | | | core variant. As a result CPUDEFS is no longer needed in the makefile.
* CPU cores now compile cleanly. Aaron Giles2009-03-151-14/+23
|
* From: Duke [mailto:startaq@gmail.com] Aaron Giles2009-01-141-4/+0
| | | | | | | | | | | | | | | Sent: Friday, January 09, 2009 4:14 AM To: submit@mamedev.org Subject: Patch to remove useless INLINE defines Hello, this patch removes several occurrences of "#define INLINE" in CPU and sound cores, which I assume are useless since the makefile already defines this. --Dirk
* More cleanup. Added address-space-specific constants for the various Aaron Giles2008-12-201-9/+9
| | | | | | | | | | | | | | bus width and shift CPU interface constants. Changed all the cores to use them. Minor spacing cleanup in Z80, Z180, TMS34010, ADSP21xx cores. Changed ADSP21xx cores to accept a configuration struct instead of using set_info to specify serial port callbacks. Simplified the ADSP21xx get/set info significantly. Removed support for only including certain variants of the chips; they are now either all supported or all unsupported.
* Renamed CPUINFO_PTR_* to CPUINFO_FCT_* for function get infos. Aaron Giles2008-12-191-11/+11
| | | | Changed Z80 over to the new cpu_state_table mechanism.
* Cleanups and version bump. Aaron Giles2008-12-151-18/+18
|
* Pointer-ified the TMS32025 core. Quench2008-12-111-1461/+1429
|
* Removed get context/set context calls from the CPU interface entirely. Aaron Giles2008-12-111-4/+2
| | | | Pointer-ified the TMS99xx core (missed that one!)
* Changed save state system to accept machine parameters where Aaron Giles2008-12-051-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | appropriate, and to keep all global variables hanging off the machine structure. Once again, this means all state registration call sites have been touched: - state_save_register_global* now takes a machine parameter - state_save_register_item* now takes a machine parameter - added new state_save_register_device_item* which now uses the device name and tag to generate the base name Extended the fake sound devices to have more populated fields. Modified sound cores to use tags from the devices and simplified the start function. Renumbered CPU and sound get/set info constants to align with the device constants, and shared values where they were perfectly aligned. Set the type field in the fake device_configs for CPU and sound chips to a get_info stub which calls through to the CPU and sound specific get_info functions. This means the device_get_info() functions work for CPU and sound cores, even in their fake state. Changed device information getters from device_info() to device_get_info() to match the CPU and sound macros.
* CPU_IS_LE -> ENDIANNESS_LITTLE Aaron Giles2008-12-041-1/+1
| | | | | | CPU_IS_BE -> ENDIANNESS_BIG Also fixed help for step over/in to specify correct keys.
* change_pc? What change_pc? Aaron Giles2008-11-241-1/+1
|
* Removed NO_LEGACY_MEMORY_HANDLERS defines. Aaron Giles2008-11-241-1/+0
|
* TMS* CPUs conversion ... almost there. Aaron Giles2008-11-231-43/+50
|
* Debugger interfaces cleanup. Still more to do but this compiles and Aaron Giles2008-11-211-3/+3
| | | | | | | works. Added callback parameters to the expression engine. Improved CPU parsing so you can use a CPU tag or index in most commands that take one. Switched to passing CPU and address space objects around where appropriate. Lots of other minor tweaks.
* Generalized the concept of opbase access into "direct" access. Aaron Giles2008-11-171-2/+2
| | | | | | | | Removed opbase globals to the address_space structure. Cleaned up names of pointers (decrypted and raw versus rom and ram). Added inline functions to read/write data via any address space. Added macros for existing functions to point them to the new functions. Other related cleanups.
* Added "tag" parameter to state_save_register_item_* calls. Removed Aaron Giles2008-11-171-32/+32
| | | | | | state_save_combine_module_and_tag() function in favor of passing the tag when registering. Revisited all save state item registrations and changed them to use the tag where appropriate.
* This patch replaces the Machine parameter where an running_machine * Aaron Giles2008-11-131-4/+3
| | | | | | is available and removes the deprecat.h where unnecessary. [Oliver Stoeneberg]
* Added CPU device parameters to all CPU callbacks except for the Aaron Giles2008-11-101-8/+8
| | | | | | | | context ones (which are going away), the disassembler (which should have no dependencies on the live CPU), and the validity check. Removed global token from all pointer-ified CPU cores that don't have internal read/write callbacks (which still need to reference it).
* Added macros for all CPU callbacks to ease future changes. Aaron Giles2008-11-081-25/+25
| | | | Updated all CPU cores to use them.
* WARNING: This is a significant change. If you are risk-averse and Aaron Giles2008-11-061-15/+17
| | | | | | | | | | | | | | | | | | | | | working on something, hold off syncing. Defined macros for core CPU functions: CPU_INIT, CPU_RESET, CPU_EXIT, CPU_EXECUTE, along with macros for the name and for calling, in the spirit of the devintrf.h macros. More will come later. Changed init, reset, exit, and execute interfaces to be passed a const device_config * object. This is a fake object for the moment, but encapsulates the machine pointer and token. Eventually this will be a real device. Changed the CPU IRQ callbacks to a proper type, and added a device parameter to them. Updated all CPU cores to the new macros and parameters. Note that this changes the way we "pointer"-ify cores. I'll send an update shortly.
* From Oliver Stoeneberg [oliverst@online.de] Aaron Giles2008-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | This contains three different patches: 20080829.patch Introducing the running_machine* parameter in a few more places. Next step would be to make the execute_* function aware of it, if that's OK. Also used the machine parameter in memory.c were it's available. 20080829_1.patch The already discussed and probably being rejected removal of dreprecat.h from debugger.h. I think this is a low-risk patch (we had worse cleanups) and it lowers the risk of new code using deprecated function beign introduced in MAME/MESS, because there is no invisible inclusion of deprecat.h anymore (I think one driver - kofball.c - got it with deprecated code). 20080829_2.patch The last Machine -> machine conversion I had sitting in my local tree. I know the proper way is to turn them into devices, but I still haven't looked into that.
* From: Atari Ace [mailto:atari_ace@verizon.net] Aaron Giles2008-08-281-1/+1
| | | | | | | | | | | | | | | | Sent: Monday, August 25, 2008 8:16 AM Subject: [patch] Remove useless backslashes Hi mamedev, I've been using pmd 4.2.2 to analyze the MAME codebase for duplicate code, and it's C parser complains about useless backslashes and dangling defines in #if...#endif sections. Here's a patch that fixes this, and additionally fixes one real bug, a string in djmain.c was malformed, it's curious it compiled. ~aa
* Removed DEBUGGER flag from makefile and ENABLE_DEBUGGER Aaron Giles2008-06-261-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macro from the source code. All MAME builds now include the debugger, and it is enabled/disabled exclusively by the runtime command-line/ini settings. This is a minor speed hit for now, but will be further optimized going forward. Changed the 'd' suffix in the makefile to apply to DEBUG builds (versus DEBUGGER builds as it did before). Changed machine->debug_mode to machine->debug_flags. These flags now indicate several things, such as whether debugging is enabled, whether CPU cores should call the debugger on each instruction, and whether there are live watchpoints on each address space. Redesigned a significant portion of debugcpu.c around the concept of maintaining these flags globally and a similar, more complete set of flags internally for each CPU. All previous functionality should work as designed but should be more robust and faster to work with. Added new debugger hooks for starting/stopping CPU execution. This allows the debugger to decide whether or not a given CPU needs to call the debugger on each instruction during the coming timeslice. Added new debugger hook for reporting exceptions. Proper exception breakpoints are not yet implemented. Added new module debugger.c which is where global debugger functions live.
* From: Atari Ace [mailto:atari_ace@verizon.net] Aaron Giles2008-04-241-1/+0
| | | | | | | | | | | | | | | | | | | Subject: [patch] Remove more Machine globals, #include "deprecat.h" Hi mamedev, The attached patch goes through and converts a number of Machine globals to machine locals, and then removes #include "deprecat.h" if appropriate. The script that generated it is included, since the patch itself is rather large and would have been time consuming to produce otherwise. The script doesn't convert cases of Machine that aren't in common macros. I'll try to tackle those later if someone doesn't beat me to it. ~aa
* Identified code not used and marked with "#ifdef UNUSED_FUNCTION" Couriersud2008-03-011-0/+2
|
* Changed debugger-related code to be based off a new makefile define ↵ Aaron Giles2008-02-021-5/+5
| | | | | | | | | | | | | (DEBUGGER) which sets a new compile-time define (ENABLE_DEBUGGER). This means that MAME_DEBUG no longer means "enable debugger", it simply enables debugging features such as assertions and debug code in drivers. Also removed the various levels of opbase protection in memory.h and always just turned on full bounds checking. Fixed build break due to missing ampoker.lay -> ampoker2.lay renaming.
* - Added deprecat.h that contains some deprecated/discouraged contructs (see ↵ Zsolt Vasvari2008-01-251-1/+2
| | | | | | | | | below) The idea is to create extra work if a driver wants to use these and hopefully gives an incentive to look for an alternate solution - Added #include of deprecat.h that rely on these contructs - Removed a bunch of unneccassary #include's from these files
* Added CPUINFO_INT_CLOCK_MULTIPLIER to support CPU clock multipliers. Aaron Giles2008-01-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Updated all CPU cores to return a CPUINFO_INT_CLOCK_MULTIPLIER of 1. Changed the core to actually respect both CPUINFO_INT_CLOCK_MULTIPLIER and CPUINFO_INT_CLOCK_DIVIDER. Updated a number of drivers to use cpunum_get_clock() instead of Machine->drv->cpu[x].clock. ***** Raw input clock speeds should now be specified for all CPUs in the MACHINE_DRIVER. ***** Removed explicit divisors from all drivers using the following CPU types, which were already specifying non-1 values for CPUINFO_INT_CLOCK_DIVIDER: * COP4x0 * I8039/8048 families * M68(7)05, HD63705 * M6809E * PIC16C5X * TMS32010 * TMS340x0 In a few cases, it appears that the divisor was not being used, so I guessed in those cases whether or not the specified clock speed was raw.
* Copyright cleanup: Aaron Giles2008-01-061-2/+2
| | | | | | - removed years from copyright notices - removed redundant (c) from copyright notices - updated "the MAME Team" to be "Nicola Salmoria and the MAME Team"
* Changes for MAME 0.121u4.mame0121u4 Aaron Giles2007-12-171-3/+3
|
* Changes for MAME 0.121u3.mame0121u3 Aaron Giles2007-12-171-3/+3
|
* Changes for MAME 0.121u1.mame0121u1 Aaron Giles2007-12-171-2/+2
|
* Initial checkin of MAME 0.121.mame0121 Aaron Giles2007-12-171-0/+2477