Table of Contents        Previous topic       Next topic       

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

extern "C" LONG SetDataWord(LONG nExtensionState, LONG nAddress, WORD 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 16-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).