This change makes state saving contract based. Objects which need to
save state need to have the following template member:
template <typename ST>
void save_state(ST &st)
{
/* Example */
st.save_item(m_p, "m_p");
st.save_item(m_buf, "m_buf");
}
This member function is called when the object is passed to the
state manager save function.
- Fixed shadowing of //e-style RAMWRT writes to auxram (missing graphics in Cinemaware games)
- Removed an unnecessary memory system trip for bank 01 RAM writes
* Move armchmp2 specific I/Os into own state machine, and demoted it to
MNW because the arm input not exactly understood and not supposed to
require user input at POST anyway;
The two sources act as voltage sources, though noise may also be
injected as conductivy or current noise.
SYS_NOISE_MT_U: Mersenne Twister uniform noise
SYS_NOISE_MT_N: Mersenne Twister normal noise
nld_sys_noise is templated:
using NETLIB_NAME(sys_noise_mt_u) =
NETLIB_NAME(sys_noise)<plib::mt19937_64,
plib::uniform_distribution_t>;
Thus the approach is scalable. The implementation is state save aware,
and thus reproducible results are guaranteed.
An example use case is provided as well, see examples/noise.cpp.
* polepo: It was me
* polepo/spaceattack: Why not my full name
* polepo/megapede: They should run on 16K / move to games section / add '/' to start
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
(nw) This is accurate behavior for the T11, but it makes some of the driver changes a bit more awkward than they probably should be, given that one device is standing in for every CPU vaguely related to the PDP-11 family. Galaxy Game obviously wasn't written for a T11, and the BK-0010's K1801VM1 doesn't look like a lot like the T11 either.
This fills in 1px gaps in 80column wide mode, details which are lost
unless the line-mode is double-wide. This reintroduces functionality
lost in commit d0fa593c1e.
The model is driven by three additional model parameters: NBV, IBV, BV.
Example code how to define a typical 7.5V Zener diode:
ZDIODE(ZD, "D(BV=7.5 IBV=0.01 NBV=3)")
or
NET_MODEL("A1234 D(BV=7.5 IBV=0.01 NBV=3)")
ZDIODE(ZD, "A1234")
-avr8.cpp: Added ATMega328 support. [hiromasa]
* Fixed m_pc to be initialized correctly when in the boot loader section.
* Fixed bootloader size based on BOOTSZ specification.