summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed regression pertaining to specification of empty strings as slot names Nathan Woods2017-02-272-5/+6
| | | | e.g. - 'next -scsibus:1 "" -listdevices'
* Netlist refactoring couriersud2017-02-254-107/+105
| | | | | - align timed_queue closer to std::priority_queue - use uint8_t in extended clock for better memory usage. - minor changes to nl_breakout.cpp (nw)
* Fix clang-5.0 warning .. Maximum of unsigned X and 0 is always X. (nw) couriersud2017-02-241-1/+1
|
* Fix netlist stats collection. Code refactoring: couriersud2017-02-248-244/+160
| | | | | | | Small improvement for 7493. Convert 9316 from subdevice to delegate. Convert 74107 from subdevice style to delegate. Also refactored inconsistencies in other parts of the code. (nw)
* Added a heap priority queue to the netlist source. couriersud2017-02-242-7/+127
| | | | | This is currently not used since performance drops by about 40%. The typical use case would be circuits a lot more complex than those we currently emulate where the 2*log(n) advantage really applies. (nw)
* Fixed an issue where device options (e.g. -cart) were reported as unknown ↵ Vas Crabb2017-02-241-2/+2
|\ | | | | | | | | | | | | when they actually worked (#2081) Conflicts: src/frontend/mame/clifront.cpp
* | Vas feedback Nathan Woods2017-02-231-8/+3
| |
* | Fixed an issue where device options (e.g. -cart) were reported as unknown ↵ Nathan Woods2017-02-222-25/+54
|/ | | | | | | | when they actually worked This change also changes around how command line arguments are passed around; specifically I changed argc/argv to be std::vector<std::string> Note this is not passed around 'const', the reason being that the command line processing will now "eat" the vector
* Softlist cleanup (#2075) npwoods2017-02-222-0/+44
| | | | | | | | | | * Eliminates the need for emu_options::update_cached_options() by providing a hook for when option values change * This is a preliminary fix to the issue identified in PR#2065 * More softlist related refactoring: - We now only parse the command line (with core_options::parse_command_line()) once - Options that are set up during slot and image setup go through a 'value_specifier' function - Eliminated the command line postprocessing
* Fix VS2015 compile. (nw) couriersud2017-02-224-4/+11
|
* Improve readability. Add more c++11 noexcept and swap semantics. couriersud2017-02-229-100/+131
| | | Also fixed clang-5 warnings. (nw)
* Clean up net_t interface and increase readability. (nw) couriersud2017-02-2216-58/+40
|
* Slightly improve event timing if state changes. couriersud2017-02-193-23/+36
| | | | Also introduce a push_force call to reschedule already pending events if the state will not change. (nw)
* srcclean (nw) Vas Crabb2017-02-1917-105/+105
|
* Add prodigy to mamenl build. Fix clang5 warnings. (nw) couriersud2017-02-194-4/+4
|
* More truthtable rework and clean up. (nw) couriersud2017-02-197-227/+260
|
* Fix nltool logging. (nw) couriersud2017-02-191-8/+9
|
* Merge pull request #2068 from JoakimLarsson/prodigy_display R. Belmont2017-02-174-0/+164
|\ | | | | Prodigy display
| * new netlist device: 74164 - 8bit parallel output serial shift register Joakim Larsson Edstrom2017-02-174-0/+164
| |
* | Fix mingw 32 bit build. (nw) couriersud2017-02-176-28/+22
| |
* | Reworked truthtables a bit. couriersud2017-02-1720-619/+410
| | | | | | | | | | - Moved 9312 and 74279 to ttl macro library. - Renamed TTL_9312_* to DM9312. This is more appropriate. - Fixed a number of warnings from latest ubuntu clang-5.0.
* | abc800_dsk: Fixed sector interleave. [Curt Coder] Curt Coder2017-02-172-2/+28
|/
* Optimized 7493 device. Gives some 5 to 10% improvement to pong. couriersud2017-02-164-78/+88
| | | | 7493 also is an example on how to use multiple handlers on a device makes design easier. (nw)
* Move from <cstring> to std::copy and friends. (nw) couriersud2017-02-166-54/+63
|
* Revert "wd177x_dsk, upd765_dsk: Fixed sector interleaving. [Curt Coder]" Olivier Galibert2017-02-164-11/+9
| | | | This reverts commit 16f79382aa892eb478813e3fc4b812e9e875fbaf.
* wd177x_dsk, upd765_dsk: Fixed sector interleaving. [Curt Coder] Curt Coder2017-02-164-9/+11
|
* Merge pull request #2062 from shattered/_fb4f4dd R. Belmont2017-02-152-0/+85
|\ | | | | ms0515.cpp -- hook up keyboard and floppy, improve video emulation etc. (take 2)
| * ms0515.cpp -- hook up keyboard and floppy, improve video emulation etc. Sergey Svishchev2017-02-132-0/+85
| |
* | Cherry-pick some features from self-registering drivers PoC: Vas Crabb2017-02-161-2/+1
| | | | | | | | | | | | | | | | * Use size_t for sizes and <algorithm> for algorithms * Fix up some files that were getting linked into multiple libs * Add missing virtual method to sh2 peripheral class * Put shortname in driver struct for locality * Use shared pointers in config LRU cache for safety
* | Added state saving and loading to nltool. couriersud2017-02-154-26/+183
| | | | | | First step towards regression and unit tests. (nw)
* | Move inline constructors from header to cpp. (nw) couriersud2017-02-152-15/+33
| |
* | dsk_dsk format: propagate CRC error flags Sergey Svishchev2017-02-131-2/+6
| |
* | Start adding save state support to nltool. couriersud2017-02-131-0/+24
| | | | | | Save states are needed for regression tests going forward. (nw)
* | Add standalone VC2015 build file in src/lib/netlist/build couriersud2017-02-136-0/+1095
| | | | | | | | | | | | This was the last platform without standalone compile. Sure needs more attention, grateful for any help. (nw)
* | Remove duplicate save states / Save state simplification. (nw) couriersud2017-02-134-29/+12
| |
* | Separate custom save states. (nw) couriersud2017-02-122-7/+15
| |
* | Optimize queue save state. (nw) couriersud2017-02-122-14/+19
| |
* | Remove emu.h from headers (nw) Olivier Galibert2017-02-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Per Vas' request. If the compile fails for you (i'm thinking osx and windows native debuggers here in particular), add '#include "emu.h"' as first include of the cpp files that fail. Due to our use of precompilation and forced inclusion, emu.h must be included as the very first non-comment thing we do if we want to be sure msvc compiles are identical to gcc/clang ones. Doing it directly instead of through an include increases the correctness probability by a magnitude.
* | Reorder include order to comply with best practices. (nw) couriersud2017-02-1022-52/+53
| |
* | Make windows builds of nltool and nlwav understand unicode. couriersud2017-02-108-117/+295
| | | | | | nltool and nlwav now use wmain, i.e. UNICODE main on windows. (nw)
* | Make sure netlist includes are not found directly on include path. couriersud2017-02-10139-222/+229
|/ | | | Instead, they have to be prefixed by "netlist/". Removed unneeded link librariers for nltool and nlwav along the way. (nw)
* Sync with upstream (nw) Miodrag Milanovic2017-02-053-6/+19
|
* Netlist: It is now possible to have multiple handlers per device ... couriersud2017-02-0512-116/+233
| | | | | | | | | | | | | ... for updates. This will make device implementation more flexible and faster. A nice side-effect is that there was some minor (<5%) performance increase already. Each input is now assigned a notification handler. Currently this is update, but going forward this may be a custom handler. In addition - fixed MEMPOOL on OSX - removed dead code - avoid bit-rot - added delegate support for emscripten and arm processors - added delegate support for VS 2015 x64 [Couriersud]
* Fix 9322. (nw) couriersud2017-02-051-22/+25
|
* Add constexpr add noexcept. (nw) couriersud2017-02-054-87/+105
|
* Doxygen work. How the heck can one enforce a consistent device couriersud2017-02-055-232/+114
| | | documentation? (nw)
* Fix a bug in pstring.cpp causing crash if moved object is reused. (nw) couriersud2017-02-051-7/+10
|
* Some documentation work. couriersud2017-02-058-26/+261
| | | | Along the way, set default models for devices missing them. Fix standalone makefile to work in mingw environment. (nw)
* Avoid conflict with Apple C++ runtime header nl_types.h Vas Crabb2017-02-043-9/+9
|
* fix chd build (nw) Vas Crabb2017-02-021-7/+7
|