URL
https://opencores.org/ocsvn/thor/thor/trunk
Subversion Repositories thor
[/] [thor/] [trunk/] [software/] [emuThor/] [source/] [clsDevice.h] - Rev 31
Go to most recent revision | Compare with Previous | Blame | View Log
#pragma once // Generic system device class clsDevice { public: clsDevice(void) {}; void Reset() {}; bool IsSelected(unsigned int ad) { return false; }; unsigned int Read(unsigned int ad) { return 0xDEADDEAD; }; int Write(unsigned int ad, unsigned int dat, unsigned int mask) {}; // Read the device and optionally set an address reservation. unsigned int Read(unsigned int ad, int sr) { return 0xDEADDEAD; }; // Write the device and optionally clear an address reservation. int Write(unsigned int ad, unsigned int dat, unsigned int mask, int cr) {}; void Step(void) {}; };
Go to most recent revision | Compare with Previous | Blame | View Log