1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-07-12 23:29:03 +00:00
r65emu/ports.h

12 lines
180 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:
virtual void out(word p, byte v, P *cpu) =0;
virtual byte in(word p, P *cpu) =0;
};
#endif