1 module dcpu16.emulator.idevice;
2 
3 import dcpu16.emulator: Computer;
4 
5 abstract class /*interface*/ IDevice
6 {
7     uint id() const pure;
8     ushort ver() const pure;
9     uint manufacturer() const pure;
10     void handleHardwareInterrupt(Computer);
11     void reset();
12 }