|
|
1.1 root 1: //
2: // nono
3: // Copyright (C) 2020 nono project
4: // Licensed under nono-license.txt
5: //
6:
7: //
8: // バスエラー(デバイス)
9: //
10:
11: #pragma once
12:
13: #include "device.h"
14:
15: class BusErrDevice : public IODevice
16: {
17: using inherited = IODevice;
18: public:
19: BusErrDevice();
20: ~BusErrDevice() override;
21:
22: busdata Read(busaddr addr) override;
23: busdata Write(busaddr addr, uint32 data) override;
24: busdata Peek1(uint32 addr) override;
25: };
26:
27: static inline BusErrDevice *GetBusErrDevice() {
28: return Object::GetObject<BusErrDevice>(OBJ_BUSERR);
29: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.