Commit Graph

110 Commits

Author SHA1 Message Date
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