1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-11-08 16:07:26 +00:00
r65emu/ports.h

12 lines
194 B
C
Raw Normal View History

2015-11-30 14:49:56 +00:00
#ifndef __PORTS_H__
#define __PORTS_H__
template<class P>
class PortDevice {
public:
2018-08-13 13:41:23 +00:00
virtual void out(uint16_t p, uint8_t v, P *cpu) =0;
virtual uint8_t in(uint16_t p, P *cpu) =0;
2015-11-30 14:49:56 +00:00
};
#endif