libsidplayfp
0.3.5
Main Page
Related Pages
Namespaces
Classes
Files
File List
sidplayfp
sidenv.h
1
/***************************************************************************
2
environment.h - This is the environment file which
3
defines all the standard functions
4
to be inherited by the ICs.
5
-------------------
6
begin : Thu May 11 2000
7
copyright : (C) 2000 by Simon White
8
email : s_a_white@email.com
9
***************************************************************************/
10
11
/***************************************************************************
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* *
18
***************************************************************************/
19
/***************************************************************************
20
* $Log: sidenv.h,v $
21
* Revision 1.5 2002/01/29 21:53:25 s_a_white
22
* Fixed envSleep
23
*
24
* Revision 1.4 2002/01/29 08:02:22 s_a_white
25
* PSID sample improvements.
26
*
27
* Revision 1.3 2001/07/14 13:09:35 s_a_white
28
* Removed cache parameters.
29
*
30
* Revision 1.2 2000/12/11 19:10:59 s_a_white
31
* AC99 Update.
32
*
33
***************************************************************************/
34
35
#ifndef _environment_h_
36
#define _environment_h_
37
38
#ifdef HAVE_CONFIG_H
39
# include "config.h"
40
#endif
41
42
#include "sidtypes.h"
43
44
class
C64Environment
45
{
46
public
:
47
// Eniviroment functions
48
virtual
void
envReset (
void
) =0;
49
virtual
uint8_t envReadMemByte (
const
uint_least16_t addr) =0;
50
virtual
void
envWriteMemByte (
const
uint_least16_t addr,
const
uint8_t data) =0;
51
52
// Sidplay compatibily funtions
53
virtual
bool
envCheckBankJump (
const
uint_least16_t addr) =0;
54
virtual
uint8_t envReadMemDataByte (
const
uint_least16_t addr) =0;
55
virtual
void
envSleep (
void
) =0;
56
#ifdef PC64_TESTSUITE
57
virtual
void
envLoadFile (
const
char
*file) =0;
58
#endif
59
};
60
61
#endif // _environment_h_
Generated on Fri Jun 29 2012 23:20:15 for libsidplayfp by
1.8.1.1