~ubuntu-branches/ubuntu/raring/vice/raring

« back to all changes in this revision

Viewing changes to src/c64/cart/actionreplay4.h

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090331003715-mzclchtl0dp7fcl0
Tags: upstream-2.1.dfsg
ImportĀ upstreamĀ versionĀ 2.1.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * actionreplay4.h - Cartridge handling, Action Replay 4 cart.
 
3
 * and it's clones. post AR3 (16K) and pre AR4.1 hardware.
 
4
 *
 
5
 * (w)2008 Groepaz/Hitmen
 
6
 *
 
7
 * This file is part of VICE, the Versatile Commodore Emulator.
 
8
 * See README for copyright notice.
 
9
 *
 
10
 *  This program is free software; you can redistribute it and/or modify
 
11
 *  it under the terms of the GNU General Public License as published by
 
12
 *  the Free Software Foundation; either version 2 of the License, or
 
13
 *  (at your option) any later version.
 
14
 *
 
15
 *  This program is distributed in the hope that it will be useful,
 
16
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
 *  GNU General Public License for more details.
 
19
 *
 
20
 *  You should have received a copy of the GNU General Public License
 
21
 *  along with this program; if not, write to the Free Software
 
22
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 
23
 *  02111-1307  USA.
 
24
 *
 
25
 */
 
26
 
 
27
#ifndef _ACTIONREPLAY4_H
 
28
#define _ACTIONREPLAY4_H
 
29
 
 
30
#include <stdio.h>
 
31
 
 
32
#include "types.h"
 
33
 
 
34
extern BYTE REGPARM1 actionreplay4_io1_read(WORD addr);
 
35
extern void REGPARM2 actionreplay4_io1_store(WORD addr, BYTE value);
 
36
extern BYTE REGPARM1 actionreplay4_io2_read(WORD addr);
 
37
extern BYTE REGPARM1 actionreplay4_roml_read(WORD addr);
 
38
 
 
39
extern void actionreplay4_freeze(void);
 
40
 
 
41
extern void actionreplay4_config_init(void);
 
42
extern void actionreplay4_reset(void);
 
43
extern void actionreplay4_config_setup(BYTE *rawcart);
 
44
extern int actionreplay4_bin_attach(const char *filename, BYTE *rawcart);
 
45
extern int actionreplay4_crt_attach(FILE *fd, BYTE *rawcart);
 
46
extern void actionreplay4_detach(void);
 
47
 
 
48
#endif