memory
- class birdseyelib.Memory(client)[source]
Class containing various functions for setting controller input in BizHawk.
- add_address(addr)[source]
Adds an address for the external tool to return.
- Parameters:
addr (int) – A hexidecimal value representing the address to read from in the BizHawk emulator’s memory.
- add_address_range(start, end)[source]
Adds a range of addresses from start to end, both inclusive.
- Parameters:
start (int) – A hexidecimal value representing the first address in the range.
end (int) – A hexidecimal value representing the last address in the range.
- Precondition:
start <= end.
- get_memory() dict[source]
Gets the latest memory data received from the external tool.
This will return a copy of the dictionary containing the latest data received from each requested address. Where the address (in hexadecimal representation) is the key, and the data is the value (in decimal representation).
The value is set to -1 if no data has been received for that address.