Commit Graph

80 Commits

Author SHA1 Message Date
couriersud
9d2f61ee92 netlist:
- more code optimization
- hide matrix_solver_t implementation
- use netlist_time for time deltas
2016-03-27 15:41:42 +02:00
couriersud
489e2919db Netlist: code maintenance
- rename netlist_analog_t to analog_t 
- straighten object model
- reduce access to member variables
- use pvector<analog_net_t::list_t> for groups.
- simple coverity fixes.
2016-03-23 22:03:26 +01:00
Miodrag Milanovic
6a765a95ec Added addprojectflags function and added -Wsuggest-override for all that are not 3rdparty projects.
It is place where all additional checks we should put
2015-12-06 17:07:50 +01:00
Scott Stone
31cca9ea63 Added info header at the top of each .lua file (nw) 2015-11-14 12:51:21 -05:00
Miodrag Milanovic
d0a4ae59ad added more h files missing in lua scripts (nw) 2015-11-12 13:33:00 +01:00
Miodrag Milanovic
033227778e Remove not longer needed ForceCpp flag (nw) 2015-11-08 13:44:34 +01:00
Miodrag Milanovic
5deec43cbc update build scripts for rename c - > cpp (nw) 2015-11-08 13:26:29 +01:00
Miodrag Milanovic
102ee9938f typo fix (nw) 2015-11-08 12:57:40 +01:00
couriersud
9fca8bdc44 Remove last traces of printf from plib. Reorganized some code. (nw) 2015-09-14 12:34:25 +02:00
Miodrag Milanovic
115ffcb10a Moved netlist from emu to lib (nw) 2015-09-12 10:12:14 +02:00
couriersud
d0466dd4da Added simple stream classes to netlist code. (nw) 2015-08-03 00:10:22 +02:00
couriersud
e266587640 Move MC14584B to nlm_other.[ch] (nw) 2015-07-27 23:50:59 +02:00
couriersud
aa5785832c Add macro library for opamp models. (nw) 2015-07-16 23:10:36 +02:00
couriersud
fae860f0dd Changed uppercase filenames to lowercase. (nw) 2015-07-12 17:35:37 +02:00
couriersud
d97724dfb6 Created macro libraries for CD4XXX and 74XX chip families. Going
forward, these will contain all devices which can be described using
truthtables and DIPPINS. [Couriersud]
2015-07-12 17:06:59 +02:00
couriersud
07a7c190fd Added MM5837 Noise Generator used by Congo Bongo. [Couriersud] 2015-07-04 13:23:15 +02:00
Miodrag Milanovic
c5c718beb8 no need for subdir for these projects, those are same for all mame builds (nw) 2015-06-22 17:57:50 +02:00
couriersud
a68161ee27 Move solver code into own folder. (nw) 2015-06-19 18:33:14 +02:00
couriersud
872ca80ac5 Converted netlist into a library. Moved most code from nl_convert.h to
nl_convert.c. Targets using netlist must now specify this explicitly
with MACHINES["NETLIST"] = true
Added subtarget "nl" which only contains games with netlist elements.
(nw)
2015-06-01 00:54:45 +02:00
couriersud
cef370aa13 Moved all files in src/emu/netlist starting with p into plib folder.
This is a first step to ease synchronisation with a stand alone, e.g.
outside mame, netlist implementation. More signed/unsigned cleanups and
started work on generic truthtable devices. (nw)
2015-05-27 23:18:44 +02:00
couriersud
d68fe923a1 Added a simple preprocessor to the netlist parsing pipeline.
This preprpcessor understands defines and nested if/else/endif

#define MYMACRO 0

#if (MYMACRO)
....
#else

#endif

One can now run 

./nltool -c run -f src/mame/drivers/nl_pong.c -t 10

without removing preprocessor elements first. This does not work with
netlist originating from DICE currently. These have to be converted
first.

In addition, cleaned up __attribute__ madness in the code. Specifically
removed ATTR_COLD from virtual definitions to avoid the vtable being
declared as cold.
2015-05-25 18:28:20 +02:00
couriersud
fede658aa6 Cleaned up includes in header files and reworked memory allocation. (nw) 2015-05-24 13:00:59 +02:00
couriersud
6ffebca846 Avoid header file congestion and prepare for external generic
truthtables. (nw)
2015-05-15 02:40:11 +02:00
Miodrag Milanovic
ca37d40f69 Removed comments and added generic license for whole team on top (nw) 2015-05-09 16:05:30 +02:00
couriersud
66d555e323 Added 74175 and 82S16 devices to netlist. nl_breakout now compiles. (nw) 2015-04-25 14:18:41 +02:00
couriersud
7fa10acca6 Added 74192, 9316, 9310 and 74193 devices to netlist. Added breakout
(wip) netlist as well, but still have to implement three more devices
until work can really start. [Couriersud]
2015-04-22 00:45:21 +02:00
couriersud
67d69aa02d Add 9312/DM9312 to netlist. [Couriersud] 2015-04-20 00:55:19 +02:00
Miodrag Milanovic
c334fda9a9 Start adding .h and .inc files to help usage inside IDE's like VS and XCode (nw) 2015-04-11 14:17:02 +02:00
Miodrag Milanovic
b14117da2b skipped one file (nw) 2015-03-28 11:03:05 +01:00
Miodrag Milanovic
7f1ad1db99 Explicit file listing in lua scripts making generate much much faster (nw) 2015-03-28 10:10:03 +01:00