Crossware

Table of Contents        Previous topic       Next topic       

Virtual Workshop Interface->General Purpose Interface Calls->SetDataByte

extern "C" LONG SetDataByte(LONG nExtensionState, LONG nAddress, BYTE nValue, LONG nSimulating)

The extension should return 0 if it does not want to handle this call. Otherwise it should return 1, use nValue as the new 8-bit value associated with memory address nAddress and carry out any other operations associated with a write to this address (such as a memory mapped activity).