blob: ee8a76c1d72080d302e44adbf7ab7a77f69920e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/***************************************************************************
component.h - Standard IC interface functions.
-------------------
begin : Fri Apr 4 2001
copyright : (C) 2001 by Simon White
email : s_a_white@email.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef _component_h_
#define _component_h_
#include "sidtypes.h"
class component
{
public:
virtual void reset (void) = 0;
virtual uint8_t read (uint_least8_t addr) = 0;
virtual void write (uint_least8_t addr, uint8_t data) = 0;
virtual const char *credits (void) = 0;
virtual const char *error (void) = 0;
};
#endif // _component_h_
|