mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
Fixed an issue causing prolonged instability in 7400 oscillators.
This commit is contained in:
parent
40d7eb65a2
commit
0d0ae43b09
@ -148,7 +148,7 @@ ATTR_HOT inline bool netlist_matrix_solver_t::solve()
|
|||||||
netlist_time delta = now - m_last_step;
|
netlist_time delta = now - m_last_step;
|
||||||
|
|
||||||
if (delta < netlist_time::from_nsec(1)) // always update capacitors
|
if (delta < netlist_time::from_nsec(1)) // always update capacitors
|
||||||
delta = delta < netlist_time::from_nsec(1);
|
delta = netlist_time::from_nsec(1);
|
||||||
{
|
{
|
||||||
NL_VERBOSE_OUT(("Step!\n"));
|
NL_VERBOSE_OUT(("Step!\n"));
|
||||||
/* update all terminals for new time step */
|
/* update all terminals for new time step */
|
||||||
|
@ -137,14 +137,14 @@ NETLIB_START(C)
|
|||||||
register_param("C", m_C, 1e-6);
|
register_param("C", m_C, 1e-6);
|
||||||
|
|
||||||
// set up the element
|
// set up the element
|
||||||
//set(NETLIST_GMIN, 0.0, -5.0 / NETLIST_GMIN);
|
set(NETLIST_GMIN, 0.0, -5.0 / NETLIST_GMIN);
|
||||||
set(1.0/NETLIST_GMIN, 0.0, -5.0 * NETLIST_GMIN);
|
//set(1.0/NETLIST_GMIN, 0.0, -5.0 * NETLIST_GMIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
NETLIB_RESET(C)
|
NETLIB_RESET(C)
|
||||||
{
|
{
|
||||||
//set(NETLIST_GMIN, 0.0, -5.0 / NETLIST_GMIN);
|
set(NETLIST_GMIN, 0.0, -5.0 / NETLIST_GMIN);
|
||||||
set(1.0/NETLIST_GMIN, 0.0, -5.0 * NETLIST_GMIN);
|
//set(1.0/NETLIST_GMIN, 0.0, -5.0 * NETLIST_GMIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
NETLIB_UPDATE_PARAM(C)
|
NETLIB_UPDATE_PARAM(C)
|
||||||
|
Loading…
Reference in New Issue
Block a user