Table of Contents        Previous topic       Next topic       

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

extern "C" LONG GetDataByte(LONG nExtensionState, LONG nAddress, BYTE* pByte, LONG nSimulating)

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