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

« back to all changes in this revision

Viewing changes to src/c64dtv/c64dtvblitter.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
 * c64dtvblitter.h - C64DTV blitter and DMA controller
 
3
 *
 
4
 * Written by
 
5
 *  M.Kiesel <mayne@users.sourceforge.net>
 
6
 *  Daniel Kahlin <daniel@kahlin.net>
 
7
 * Based on code by
 
8
 *  Marco van den Heuvel <blackystardust68@yahoo.com>
 
9
 *
 
10
 * This file is part of VICE, the Versatile Commodore Emulator.
 
11
 * See README for copyright notice.
 
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
 *  This program is distributed in the hope that it will be useful,
 
19
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
21
 *  GNU General Public License for more details.
 
22
 *
 
23
 *  You should have received a copy of the GNU General Public License
 
24
 *  along with this program; if not, write to the Free Software
 
25
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 
26
 *  02111-1307  USA.
 
27
 *
 
28
 */
 
29
 
 
30
#ifndef _C64DTVBLITTER_H
 
31
#define _C64DTVBLITTER_H
 
32
 
 
33
#include "types.h"
 
34
 
 
35
#define CYCLE_EXACT_BLITTER
 
36
 
 
37
extern int blitter_on_irq;
 
38
 
 
39
extern int c64dtvblitter_resources_init(void);
 
40
extern void c64dtvblitter_resources_shutdown(void);
 
41
extern int c64dtvblitter_cmdline_options_init(void);
 
42
extern void c64dtvblitter_init(void);
 
43
extern void c64dtvblitter_reset(void);
 
44
extern void c64dtvblitter_shutdown(void);
 
45
extern void c64dtv_blitter_irq_init(void);
 
46
 
 
47
extern BYTE REGPARM1 c64dtv_dmablit_read(WORD addr);
 
48
extern void REGPARM2 c64dtv_dmablit_store(WORD addr, BYTE value);
 
49
 
 
50
extern int c64dtvblitter_perform_blitter(void);
 
51
extern void c64dtvblitter_trigger_blitter(void);
 
52
 
 
53
struct snapshot_s;
 
54
 
 
55
extern int c64dtvblitter_snapshot_write_module(struct snapshot_s *s);
 
56
extern int c64dtvblitter_snapshot_read_module(struct snapshot_s *s);
 
57
 
 
58
#endif