~ubuntu-branches/ubuntu/quantal/vice/quantal

« back to all changes in this revision

Viewing changes to src/c64dtv/c64dtvflash.h

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.1.7 upstream) (9.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090331003715-i5yisvcfv7mgz3eh
Tags: 2.1.dfsg-1
* New major upstream release (closes: #495937).
* Add desktop files (closes: #501181).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * c64dtvmem.h - C64DTV memory (2MB RAM/ROM) implementation
 
3
 *
 
4
 * Written by
 
5
 *  Daniel Kahlin <daniel@kahlin.net>
 
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 _C64DTVFLASH_H
 
28
#define _C64DTVFLASH_H
 
29
 
 
30
#include "types.h"
 
31
 
 
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);
 
38
 
 
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);
 
43
 
 
44
extern void c64dtvflash_create_blank_image(char *filename, int copyroms);
 
45
 
 
46
extern BYTE c64dtvflash_mem[];
 
47
extern BYTE c64dtvflash_mem_lock[];
 
48
extern BYTE c64dtvflash_state;
 
49
 
 
50
extern int c64dtvflash_rom_loaded;
 
51
 
 
52
#endif