libsidplayfp  1.4.1
c64sid.h
1 /*
2  * This file is part of libsidplayfp, a SID player engine.
3  *
4  * Copyright 2013 Leandro Nini <drfiemost@users.sourceforge.net>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef C64SID_H
22 #define C64SID_H
23 
24 #include <stdint.h>
25 
26 #include "Banks/Bank.h"
27 
31 class c64sid : public Bank
32 {
33 protected:
34  virtual ~c64sid() {}
35 
36 public:
37  virtual void reset(uint8_t volume) = 0;
38 
39  virtual void poke(uint_least16_t address, uint8_t value) = 0;
40  virtual uint8_t peek(uint_least16_t address) = 0;
41 };
42 
43 #endif // C64SID_H
Definition: c64sid.h:31
virtual uint8_t peek(uint_least16_t address)=0
virtual void poke(uint_least16_t address, uint8_t value)=0
Definition: Bank.h:32