summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/buildVS
Commit message (Collapse)AuthorAgeFilesLines
* netlist: More c++, less macros, added support for cspell (#9794) couriersud2022-05-227-0/+0
| | | | | | | | | | | | | | | | | - More c++, less macros * Significantly reduced the use of unused_var and replaced it with [[maybe_unused]] * use enum class in ppmf.h - Changes to testing code in ptest.h * Catch exceptions in more places * The verbosity of the output can now be controlled * Display of test stats totals - added support for cspell - fixed various typos - fixed SUBTARGET=nl build - fixed more file permissions - srcclean and add fix_permissions target to netlist makefile
* netlist: Fixes to address PR #9752 and issue #8590 / EMSCRIPTEN (#9773) couriersud2022-05-195-0/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | netlist: pointer to member function code - Address PR #9752 and issue #8590 - change comments in ppmf.h - add support for function desciptors (IA64) - sizeof(size_t) may be different on build targets make plib::hash use uint64 to ensure consistent static solver hashes across platforms (EMSCRIPTEN) - Moved constructor and member functions outside the class declaration with the exception of "call" member functions. - Updated comment on accessing RDX - Added more test cases * Removed execution bit on certain files I have separated out the raw processing code into `ppmf.cpp`. I have also taken first steps to clean the abi identification. The code submitted now supports: a) The unknown virtual inheritance case with specific code for MSVC for simple (i.e. scalar, void, reference, pointer) return types using the optimized code. This is the test case only supported under MSVC and which should return 7. Please have a look at the code. Basically m_vptr_offset is an index into a pointer table. It needs to be multiplied by `sizeof(void *)`. b) If you enable PPMF_EXPERIMENTAL complex return type member functions for MSVC will also use the optimized code path. This is explained in detail in the code in ppmf, including caveats and possible solutions. c) Enabling PPMF_USE_MAME_DELEGATES will use `src/lib/util/delegate.h` as a replacement for `ppmf.h`. This allows to run the same tests (`nltool -c tests` from standalone build) as for the ppmf code. d) The code now also supports `clang-cl` e) sizeof(size_t) may be different on build targets. Make plib::hash use uint64 to ensure consistent static solver hashes across platforms. This fixes loading static solvers (if enabled) on EMSCRIPTEN.
* netlist: Improved PPMF target support and test coverage. (#9752) couriersud2022-05-154-0/+22
| | | | | | | | | | This addresses most of the issues described in #8590. * Fixed standalone Visual Studio 2019 builds, including support for clang toolchain. * Added static stub to PMF to support MSVC ABI. * Better aligned ppmf syntax with MAME's delegate syntax. * Add tests/test_ppmf*.cpp testing examples given in #8590. Also worked around issues some versions of Apple clang have with 5aaae19230bd39dda6766641672f57276a3f9ea1.
* netlist: Convert driver filenames to lower case. couriersud2020-09-302-20/+20
|
* netlist: Fixed a couple of issues with various compilers. couriersud2020-09-242-0/+20
|
* netlist: move to generated header and link support files files. couriersud2020-09-122-208/+8
| | | | | | | | | | | | | * Removed device and macro header files. * All of those can be generated automatically so going forward there is no need for these any longer. * Introduced the modules concept. Modules are netlists for which automatic lib entries are generated. * Going forward you just store them in macro/modules and they will be automatically registered as device elements. * You need to do a "make generated" is src/lib/netlist/build * Some_device.cpp still needs to be added to netlist.lua * Added documentation on how to add devices to netlist. * Please refer to adding_devices.md for more information.
* netlist: Pedantic and clang tidy updates couriersud2020-09-061-1/+1
| | | * also fix an issue with netlist vs build
* netlist: more standalone makefile changes couriersud2020-08-242-30/+38
| | | | | | | | | | | | * On windows a simple make is now enough to build. * Devices, macro and tests folders now included with wildcard. * No more makefile changes if a device is added. * Moved nld_devinc.h to generated folder * Added to python scripts to create nld_devinc.h and lib_entries.hxx * TEST MODE: these two files are created automatically but are not used currently. Once I get feedback that the python scripts work in different environments I will remove header files from devices and macro and start using these files in production.
* netlist: Add 74113 device. Aaron Giles2020-07-102-0/+8
|
* netlist: add 74121 device and refactor 74123 code. couriersud2020-07-102-0/+4
| | | | | | * added 74121 device * migrate dip devices to netlist devices * refactor code to be based on device description structs
* netlist: Fix performance issues and VC2019. [Couriersud] couriersud2020-05-223-16/+21
| | | | | | For reasons unknown to me compile optimizations do not behave for template code. If the implementation is in separate compile units, the code compiles and performs.
* netlist: Added devices CD4013, CD4069, CD4070 Frank Palazzolo2020-05-152-0/+7
|
* netlist: nlwav - new functionality. [Couriersud] couriersud2020-05-054-6/+199
| | | | | | | | | | | | | nlwav now supports 16 and 32 bit integer format (wav16s, wav32s) as well as 32 bit float format (wav32f). The "wav" format is no longer supported. Added support for high and low pass filtering the wav output. Dynamic volume adjustment (use "-a 0") --hpboost can suppress spikes at the beginning of the file (<10ms) The addition of the float format simplifies debugging significantly since it covers the whole dynamic format. Added nlwav to the local VS 2019 build.
* netlist: stand-alone build fixes and improvements. (nw) couriersud2020-05-022-0/+8
|
* netlist: Fix unknown parameter on ne566 and VS 2019 build. (nw) couriersud2020-05-022-4/+0
|
* netlist: add NE566 to netlist.lua. (nw) couriersud2020-04-292-0/+4
|
* netlist: rename some macros. (nw) couriersud2020-04-263-0/+5
| | | Rename COPYASSIGN* and friends to PCOPYASSIGN*.
* netlist: updated VS files for standalone build. (nw) couriersud2020-02-172-0/+16
|
* netlist: maintenance. (nw) couriersud2019-11-083-44/+104
| | | | | - switch to VS 2019 community and fix standalone build. - more migration to C++ comment style. - add some more doxygen markup.
* A large portion of the Atari Gran Trak 10 schematics (1974) Felipe CorrĂȘa da Silva Sanches2018-07-282-0/+16
| | | | implemented on MAME using the netlist subsystem.
* Fix VS2015 compile. (nw) couriersud2017-02-222-0/+8
|
* Fix mingw 32 bit build. (nw) couriersud2017-02-173-16/+2
|
* 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)