2
* c64dtvmem.h - C64DTV memory (2MB RAM/ROM) implementation
5
* Daniel Kahlin <daniel@kahlin.net>
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 _C64DTVFLASH_H
28
#define _C64DTVFLASH_H
32
extern int c64dtvflash_resources_init(void);
33
extern void c64dtvflash_resources_shutdown(void);
34
extern int c64dtvflash_cmdline_options_init(void);
35
extern void c64dtvflash_init(void);
36
extern void c64dtvflash_reset(void);
37
extern void c64dtvflash_shutdown(void);
39
extern BYTE c64dtvflash_read(int addr);
40
extern void c64dtvflash_store(int addr, BYTE value);
41
extern BYTE c64dtvflash_read_direct(int addr);
42
extern void c64dtvflash_store_direct(int addr, BYTE value);
44
extern void c64dtvflash_create_blank_image(char *filename, int copyroms);
46
extern BYTE c64dtvflash_mem[];
47
extern BYTE c64dtvflash_mem_lock[];
48
extern BYTE c64dtvflash_state;
50
extern int c64dtvflash_rom_loaded;