summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/upd7725
Commit message (Collapse)AuthorAgeFilesLines
* More cleanups, there is issue with srcclean that needs to be taken care as ↵ Miodrag Milanovic2014-07-221-2/+2
| | | | well, just doing now what we can
* devcv2 -> devcb (nw) Miodrag Milanovic2014-05-141-33/+33
|
* necdsp_device: converted to devcb2 (nw) Ivan Vangelista2014-04-172-76/+85
| | | removed some leftovers from previous devcb2 conversions (nw)
* rest of ATTR_PRINTF review (nw) Oliver Stöneberg2014-02-251-4/+4
|
* clean up stray properties (nw) Alex W. Jackson2014-01-183-0/+0
|
* did modern cpu cores as well (nw) Miodrag Milanovic2013-06-212-5/+5
|
* pass this instead of NULL and options instead of 0 in the class based cpu ↵ smf-2013-03-061-1/+1
| | | | cores (nw)
* fixed initialization of necdsp_device when no static_config is provided (nw) Oliver Stöneberg2013-02-231-11/+11
|
* output of new srcclean changes that are relatively small [smf] smf-2013-01-111-1/+0
|
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-113-435/+434
|
* Since nobody checks for NULLs anyway, make Aaron Giles2012-09-191-2/+2
| | | | | | | | | | | | device_memory_interface::space() assert against NULL and return a reference, and pushed references throughout all address space usage in the system. Added a has_space() method to check for those rare case when it is ambiguous. [Aaron Giles] Also reinstated the generic space and added fatal error handlers if anyone tries to actually read/write from it.
* fixed some printf format string warnings reported by cppcheck (no whatsnew) Oliver Stöneberg2012-09-081-2/+2
|
* Further upd7725 fixes, new code might actually work properly now, fixed ↵ Jonathan Gevaryahu2011-07-062-6/+11
| | | | uninitialized variables. [Lord Nightmare, Wilbert Pol]
* Update NEC DSP core to correctly generate the ov1 and s1 alu Jonathan Gevaryahu2011-07-032-11/+11
| | | | flags (and hence, SGN register contents). [Lord Nightmare, Segher, byuu, Cydrak]
* Reimplemented devcb using delegates and classes. Unified the logic Aaron Giles2011-05-021-13/+13
| | | | | | for identifying targets and simplified the code. [Aaron Giles] I have some further ideas but this is a good midway point.
* Collapsed device_config and device_t into one class. Updated all Aaron Giles2011-04-272-245/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | existing modern devices and the legacy wrappers to work in this environment. This in general greatly simplifies writing a modern device. [Aaron Giles] General notes: * some more cleanup probably needs to happen behind this change, but I needed to get it in before the next device modernization or import from MESS :) * new template function device_creator which automatically defines the static function that creates the device; use this instead of creating a static_alloc_device_config function * added device_stop() method which is called at around the time the previous device_t's destructor was called; if you auto_free anything, do it here because the machine is gone when the destructor is called * changed the static_set_* calls to pass a device_t & instead of a device_config * * for many devices, the static config structure member names over- lapped the device's names for devcb_* functions; in these cases the members in the interface were renamed to have a _cb suffix * changed the driver_enumerator to only cache 100 machine_configs because caching them all took a ton of memory; fortunately this implementation detail is completely hidden behind the driver_enumerator interface * got rid of the macros for creating derived classes; doing it manually is now clean enough that it isn't worth hiding the details in a macro
* Switch from m_machine to machine() everywhere. In some cases this Aaron Giles2011-04-181-1/+1
| | | | | | | | | | | meant adding a machine() accessor but it's worth it for consistency. This will allow future changes from reference to pointer to happen transparently for devices. [Aaron Giles] Simple S&R: m_machine( *[^ (!=;]) machine()\1
* Cleanups again Angelo Salese2011-04-181-16/+16
|
* upd7725.c: Implementation of the p0 and p1 output Jonathan Gevaryahu2011-04-122-5/+118
| | | | bits as device lines; preliminary implementation of INT input line. [Lord Nightmare]
* BIG update. Aaron Giles2011-03-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove redundant machine items from address_space and device_t. Neither machine nor m_machine are directly accessible anymore. Instead a new getter machine() is available which returns a machine reference. So: space->machine->xxx ==> space->machine().xxx device->machine->yyy ==> device->machine().yyy Globally changed all running_machine pointers to running_machine references. Any function/method that takes a running_machine takes it as a required parameter (1 or 2 exceptions). Being consistent here gets rid of a lot of odd &machine or *machine, but it does mean a very large bulk change across the project. Structs which have a running_machine * now have that variable renamed to m_machine, and now have a shiny new machine() method that works like the space and device methods above. Since most of these are things that should eventually be devices anyway, consider this a step in that direction. 98% of the update was done with regex searches. The changes are architected such that the compiler will catch the remaining errors: // find things that use an embedded machine directly and replace // with a machine() getter call S: ->machine-> R: ->machine\(\)\. // do the same if via a reference S: \.machine-> R: \.machine\(\)\. // convert function parameters to running_machine & S: running_machine \*machine([^;]) R: running_machine \&machine\1 // replace machine-> with machine. S: machine-> R: machine\. // replace &machine() with machine() S: \&([()->a-z0-9_]+machine\(\)) R: \1 // sanity check: look for this used as a cast (running_machine &) // and change to this: *(running_machine *)
* Created new enum type address_spacenum for specifying an address Aaron Giles2011-03-272-2/+2
| | | | | | | | | | | | space by index. Update functions and methods that accepted an address space index to take an address_spacenum instead. Note that this means you can't use a raw integer in ADDRESS_SPACE macros, so instead of 0 use the enumerated AS_0. Standardized the project on the shortened constants AS_* over the older ADDRESS_SPACE_*. Removed the latter to prevent confusion. Also centralized the location of these definitions to memory.h.
* Removed short name as parameter from device_config this way it is not ↵ Miodrag Milanovic2011-02-111-1/+1
| | | | | mandatory any more. Most of files is rolled back to previous state. (no whatsnew)
* - Added shortname to devices in order to make ROM loading per device ↵ Miodrag Milanovic2011-02-101-1/+1
| | | | | | possible. [Miodrag Milanovic] - Updated all devices containing ROM regions to have short names and all modern devices too - Created new validation to check existence of short name if device contain ROM region defined
* Get rid of state_save_register_device_* macros in favor of direct Aaron Giles2011-02-091-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calls on the device object. Regex used: state_save_register_device_item( *)\(( *)([^,]+), *([^,]+),( *)([^ )]+)( *)\) \3->save_item\1\(\2NAME\(\6\),\5\4\7\) state_save_register_device_item_array( *)\(( *)([^,]+), *([^,]+),( *)([^ )]+)( *)\) \3->save_item\1\(\2NAME\(\6\),\5\4\7\) state_save_register_device_item_2d_array( *)\(( *)([^,]+), *([^,]+),( *)([^ )]+)( *)\) \3->save_item\1\(\2NAME\(\6\),\5\4\7\) state_save_register_device_item_bitmap( *)\(( *)([^,]+), *([^,]+),( *)([^ )]+)( *)\) \3->save_item\1\(\2NAME\(\*\6\),\5\4\7\) state_save_register_device_item_pointer( *)\(( *)([^,]+), *([^,]+),( *)([^,]+), *([^ )]+)( *)\) \3->save_pointer\1\(\2NAME\(\6\),\5\7,\5\4\8\) this->save_ save_ (save_item[^;]+), *0( *)\); \1\2\); (save_pointer[^;]+), *0( *)\); \1\2\);
* Cleanups and version bump.mame0141u1 Aaron Giles2011-01-242-20/+20
|
* NEC DSP updates [R. Belmont, byuu, Dr. Decapitator]: R. Belmont2011-01-233-125/+261
| | | | | | | | | | | | - Now supports uPD7725 and uPD96050 - Hooked up SNES common code to use uPD96050 for ST-010/011 - Removed ST-010 HLE simulation Non-whatsnew: ST-010 is also found in some ssv.c games so this will be hooked up there soon.
* VC2008 compile fixes (no whatsnew) mariuszw12011-01-161-1/+1
|
* UPD7725: Fix compile on OSX (no whatsnew) R. Belmont2011-01-021-0/+5
|
* Add uPD7725 16-bit DSP core and hookups for SNES hardware [byuu, R. Belmont] R. Belmont2011-01-023-0/+971