Embodiments of the instant invention relate to a system for maintaining
the integrity of data transfers in shared memory configuration by
different processes to a data buffer located in the contiguous memory
locations. The accesses by the different processes can be at the same
time. One embodiment employs a CISC CPU and a peripheral using a Direct
Memory Access (DMA) controller, both of which have an 8-bit data busses.
The Memory Interface is provided with a sequencer and registers coupled
to a Random Access Memory (RAM). The sequencer controls read and write
operations of the RAM and ensures atomic transfer of multiple bytes to
the RAM by one process invoking a special mode. This ensures that the
other processes either read the old set of data or the new set of data
with a minimum delay.