DC11: 4 sets of registers
This commit is contained in:
parent
10c468f0f6
commit
4c903fb252
1 changed files with 5 additions and 5 deletions
10
dc11.h
10
dc11.h
|
@ -11,17 +11,17 @@
|
|||
|
||||
#define DC11_RCSR 0174000 // receiver status register
|
||||
#define DC11_BASE DC11_RCSR
|
||||
#define DC11_END (DC11_RCSR + 2)
|
||||
#define DC11_END (DC11_BASE + 4 * 4 + 2) // 4 interfaces, + 2 to point after it
|
||||
|
||||
class bus;
|
||||
|
||||
class dc11
|
||||
{
|
||||
private:
|
||||
bus *const b { nullptr };
|
||||
|
||||
uint16_t registers[4] { };
|
||||
std::atomic_bool stop_flag { false };
|
||||
bus *const b { nullptr };
|
||||
// 4 interfaces
|
||||
uint16_t registers[4 * 4] { };
|
||||
std::atomic_bool stop_flag { false };
|
||||
|
||||
public:
|
||||
dc11(bus *const b);
|
||||
|
|
Loading…
Add table
Reference in a new issue