2
* actionreplay4.h - Cartridge handling, Action Replay 4 cart.
3
* and it's clones. post AR3 (16K) and pre AR4.1 hardware.
5
* (w)2008 Groepaz/Hitmen
7
* This file is part of VICE, the Versatile Commodore Emulator.
8
* See README for copyright notice.
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.
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.
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
27
#ifndef _ACTIONREPLAY4_H
28
#define _ACTIONREPLAY4_H
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);
39
extern void actionreplay4_freeze(void);
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);