Crossware

Table of Contents        Previous topic       Next topic       

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

extern "C" LONG GetDataWord(LONG nExtensionState, LONG nAddress, WORD* pWord, LONG nSimulating)

The extension should return 0 if it does not want to handle this call. Otherwise it should return 1, place the 16-bit value associated with memory address nAddress in *pWord and carry out any other operations associated with a read from this address (such as a memory mapped activity).