mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-21 12:29:51 +00:00
12 lines
194 B
C++
12 lines
194 B
C++
#ifndef __PORTS_H__
|
|
#define __PORTS_H__
|
|
|
|
template<class P>
|
|
class PortDevice {
|
|
public:
|
|
virtual void out(uint16_t p, uint8_t v, P *cpu) =0;
|
|
virtual uint8_t in(uint16_t p, P *cpu) =0;
|
|
};
|
|
|
|
#endif
|