1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-11-10 13:04:59 +00:00
r65emu/ports.h
2018-08-14 06:10:37 +01:00

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