SCRYDOSBox-XReferenceHardware

The Hardware tools

The ports, the interrupt controllers and the A20 line hold the state a DOS program keeps behind the cpu instead of in memory. A sound driver, a keyboard handler or a timer lives there. Each tool needs the machine stopped.

Each call writes to the machine, except pic(method="read") and a20(method="read"). A write marks the session: the session block of every later reply carries altered, so a later measurement is known to be of a changed program.

The tools