mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-27 05:32:04 +00:00
12 lines
180 B
C
12 lines
180 B
C
|
#ifndef __PORTS_H__
|
||
|
#define __PORTS_H__
|
||
|
|
||
|
template<class P>
|
||
|
class PortDevice {
|
||
|
public:
|
||
|
virtual void out(word p, byte v, P *cpu) =0;
|
||
|
virtual byte in(word p, P *cpu) =0;
|
||
|
};
|
||
|
|
||
|
#endif
|