Table of Contents Previous topic Next topic
The Extension Interface->Variant Specific Interface Calls->GetExternalBusAccessCode()
extern "C" LONG GetExternalBusAccessCode(LONG nExtensionState, LONG addr)
The extension should:
- return 1 if the external address bus will be accessed by a read from address 'addr' in program memory.
- return 0 if the external address bus will not be accessed by a read from address 'addr' in program 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 operation, otherwise the simulator will use it's own internal model to make this decision.