summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/device.cpp
Commit message (Collapse)AuthorAgeFilesLines
* A round of spelling/typographical fixes to source comments (nw) Scott Stone2016-11-241-3/+3
|
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-9/+9
| | | | | | | | | | | | * New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h" * Get rid of import of cstdint types to global namespace (C99 does this anyway) * Remove the cstdint types from everything in emu * Get rid of U64/S64 macros * Fix a bug in dps16 caused by incorrect use of macro * Fix debugcon not checking for "do " prefix case-insensitively * Fix a lot of messed up tabulation * More constexpr * Fix up many __names
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-9/+9
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* * Doxyfy a significant chunk of devfind.h Vas Crabb2016-08-251-1/+1
| | | | | | * Eliminate a lot of boilerplate code from devfind.h * Keep instantiation of templates in one place to improve build time * Remove some dangerous accessors
* remove legacy forms of (required|optional)_(shared_ptr|ioport)_array Vas Crabb2016-08-251-1/+1
|
* C++-fiied code that iterates over rom_entry arrays (without usage of ↵ Nathan Woods2016-08-071-3/+3
| | | | rom_[first|next]_*)
* Created a tiny_rom_entry structure for the purposes of rom_entry ↵ Nathan Woods2016-08-061-1/+15
| | | | | | | | declarations in code, and a first pass at the required core changes to unpack tiny_rom_entry structures at runtime. WARNING - I've done preliminary testing on a tiny build (pacman works), but nothing more. I know for a fact that a full compile fails
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-6/+6
|
* More efficient device error logging AJR2016-06-201-1/+5
|
* tagged_list to unordered_map in emumem (nw) Miodrag Milanovic2016-06-181-4/+30
|
* remove dependency (nw) Miodrag Milanovic2016-04-161-1/+0
|
* Eliminate device_t::static_config, a type-unsafe legacy feature. AJR2016-04-141-1/+0
| | | | | | Rewrite or remove every last instance of MCFG_DEVICE_CONFIG and its two aliases, including within comments and dead code. Make the Z80/Z180 daisy chain an interface that interfaces with the existing interface. Z8000 has been hooked up to this as well (p8000_16 already configures it), but currently does nothing with it.
* Devfind revision phase 1, cleaning out some legacy stuff AJR2016-04-071-4/+19
| | | | | | | | - Eliminate the cached device_t::m_region pointer and its region() getter method. Devices that need to bind to a region with the same tag should use optional/required_memory_region or optional/required_region_ptr with DEVICE_SELF as the subtag; this improves error checking. (DEVICE_SELF has been moved to device.h for greater visibility in the source.) - Allow required/optional_region_ptr to specify a specific length which must match that of the region found. - Implement finder_base::finder_tag() getter for diagnostic purposes. - Perform some (not very efficient) validity checks on memory region finders instead of allowing them to automatically pass. - Privatize device_memory_interface::m_addrspace.
* Iterate over core classes C++11 style AJR2016-03-311-101/+32
| | | | | | | | C++11 range-based for loops can now iterate over simple_list, tagged_list, core_options, device_t::subdevice_list, device_t::interface_list, render_primitive_list and all subclasses of the above, and much code has been refactored to use them. Most core classes that have these lists as members now have methods that return the lists themselves, replacing most of the methods that returned the object at an owned list's head. (A few have been retained due to their use in drivers or OSD.) device_t now manages subdevice and interface lists through subclasses, but has given up the work of adding and removing subdevices to machine_config. memory_manager has its tagged lists exposed, though the old rooted tag lookup methods have been removed (they were privatized already).
* * Support *n conversion in stream_format/string_format Vas Crabb2016-03-011-36/+0
| | | | | | | | | * Make stream_format return characters printed * Add iostreams with std::vector storage * Move to type-safe templates for logerror and popmessage * Remove now-unnecessary I64FMT from calls to logerror/popmessage * Put some lib/util stuff in util:: namespace * Some fixes to Japanese translation
* Eliminate remaining this == NULL entry Scott Stone2016-01-231-4/+0
|
* Remove this==NULL comps, nw therealmogminer@gmail.com2016-01-231-16/+0
|
* reverting: Miodrag Milanovic2016-01-201-18/+17
| | | | | | | SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw)
* Revert "rest of device parameters to std::string (nw)" Miodrag Milanovic2016-01-201-1/+1
| | | | This reverts commit caba131d844ade3f2b30d6be24ea6cf46b2949d7.
* rest of device parameters to std::string (nw) Miodrag Milanovic2016-01-161-1/+1
|
* tags are now strings (nw) Miodrag Milanovic2016-01-161-17/+18
| | | | fix start project for custom builds in Visual Studio (nw)
* tagmap_t to std::unordered_map or std::unordered_set where applicable (nw) Miodrag Milanovic2015-12-091-3/+3
|
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-57/+57
|
* Initial conversion of core to C++14. Note that compilers are now limited to ↵ Miodrag Milanovic2015-12-031-1/+1
| | | | GCC 4.9.0 and up, Clang 3.4.0 and up, and VS2013 and up [Miodrag Milanovic]
* Cleanups and version bumpmame0168 Miodrag Milanovic2015-11-251-1/+0
|
* More cleanups (nw) Miodrag Milanovic2015-11-111-1/+1
|
* removed unused code (nw) Miodrag Milanovic2015-11-111-45/+0
|
* fix breakage while logerror (nw) Miodrag Milanovic2015-11-081-2/+2
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+1051