diff options
author | 2020-03-05 22:22:58 +0100 | |
---|---|---|
committer | 2020-03-05 22:22:58 +0100 | |
commit | 354c9c363b17fc4b77a8ed7bf199b2e248259317 (patch) | |
tree | 9d8101929c597478bd5a9465d5fa5387697f71a0 /src/lib/netlist/examples | |
parent | 04085b4cc328f00aa4223832fc29cb2ba8f77050 (diff) |
williams.cpp: Improve williams2 color display. [Couriersud]
Change color levels for williams2 hardware to better color display.
Output levels are computed in netlist. These levels are aligned to
LTspice modelling I did.
Also improved the modelling to do what the actual hardware for mysticm
did: Color decoding depends on W13..W11. These are actually flip screen
versions of V13..V11. Fixed treatment on Bit0 although not used by the
game code.
Added R,G,B gain and offset sliders for the williams2 hardware. MAME
only supports one setting for all channels. This is not good enough
to come close to video recordings found on youtube.
Minor changes to nltool to better measure time taken to run a
simulation.
Diffstat (limited to 'src/lib/netlist/examples')
-rw-r--r-- | src/lib/netlist/examples/turkey_shoot.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/netlist/examples/turkey_shoot.cpp b/src/lib/netlist/examples/turkey_shoot.cpp index 9da058537c8..4921f866c6e 100644 --- a/src/lib/netlist/examples/turkey_shoot.cpp +++ b/src/lib/netlist/examples/turkey_shoot.cpp @@ -65,9 +65,9 @@ NETLIST_START(turkey_shoot_vga) // IGNORED O_AUDIO0: O_AUDIO0 64 0 // .END - PARAM(Solver.RELTOL, 1e-3) + PARAM(Solver.RELTOL, 1e-2) PARAM(Solver.VNTOL, 1e-6) - PARAM(Solver.NR_LOOPS, 300) + PARAM(Solver.NR_LOOPS, 30) PARAM(Solver.GS_LOOPS, 99) PARAM(Solver.METHOD, "MAT_CR") PARAM(Solver.PARALLEL, 0) @@ -82,7 +82,7 @@ NETLIST_START(turkey_shoot_vga) SOLVER(Solver, 48000) PARAM(Solver.DYNAMIC_TS, 1) PARAM(Solver.PARALLEL, 0) - PARAM(Solver.DYNAMIC_MIN_TIMESTEP, 2e-9) + PARAM(Solver.DYNAMIC_MIN_TIMESTEP, 2e-8) PARAM(Solver.DYNAMIC_LTE, 1e-4) #endif @@ -102,7 +102,7 @@ NETLIST_START(turkey_shoot_schematics) TTL_INPUT(BLANK, 0) - IND(L1, 0.0000047) // FIXME:Inductor model needs verification + IND(L1, 0.0000047) CAP(C60, CAP_U(0.1)) CAP(C54, CAP_P(47)) @@ -192,7 +192,10 @@ NETLIST_END() NETLIST_START(SHIM74LS374_DIP) - LOGIC_INPUT8(D, 0, "74XX") + NET_MODEL("SPECIAL FAMILY(IVL=0.16 IVH=0.4 OVL=0.1 OVH=0.05 ORL=10.0 ORH=1.0e10)") + //LOGIC_INPUT8(D, 0, "74XX") + //LOGIC_INPUT8(D, 0, "74XXOC") + LOGIC_INPUT8(D, 0, "SPECIAL") ALIAS(20, D.VCC) ALIAS(10, D.GND) ALIAS( 2, D.Q0) |