Table of Contents Previous topic Next topic
The Extension Interface->Variant Specific Interface Calls->GetExternalBusAccessData()
extern "C" LONG GetExternalBusAccessData(LONG nExtensionState, LONG addr)
The extension should:
- return 1 if the external address bus will be accessed by a read or write to address 'addr' in external data memory.
- return 0 if the external address bus will not be accessed by a read or write to address 'addr' in external data memory.
- return -1 if don't know or don't care
If any extension returns either 1 or 0, then the returned data will be used to decide whether or not P0 should be set to 0XFF after the read or write operation, otherwise the simulator will set P0 to 0XFF.