~ubuntu-branches/ubuntu/dapper/vice/dapper

« back to all changes in this revision

Viewing changes to src/cbm2/c610cia.h

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2004-08-26 13:35:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040826133551-gcje8j31q5cqgdq2
Tags: 1.14-3
Apply patch from Spiro Trikaliotis <vice@trikaliotis.net> to fix a
problem that some users were experiencing with a floating point
exception on startup related to the fullscreen option being enabled
during compile.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * c610cia.h - Definitions for MOS6526 (CIA) chip emulation.
3
 
 *
4
 
 * Written by
5
 
 *  Jouko Valta <jopi@stekt.oulu.fi>
6
 
 *  Andr� Fachat <fachat@physik.tu-chemnitz.de>
7
 
 *
8
 
 * This file is part of VICE, the Versatile Commodore Emulator.
9
 
 * See README for copyright notice.
10
 
 *
11
 
 *  This program is free software; you can redistribute it and/or modify
12
 
 *  it under the terms of the GNU General Public License as published by
13
 
 *  the Free Software Foundation; either version 2 of the License, or
14
 
 *  (at your option) any later version.
15
 
 *
16
 
 *  This program is distributed in the hope that it will be useful,
17
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 
 *  GNU General Public License for more details.
20
 
 *
21
 
 *  You should have received a copy of the GNU General Public License
22
 
 *  along with this program; if not, write to the Free Software
23
 
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
24
 
 *  02111-1307  USA.
25
 
 *
26
 
 */
27
 
 
28
 
#ifndef _C610_CIA_H
29
 
#define _C610_CIA_H
30
 
 
31
 
#include "types.h"
32
 
 
33
 
struct snapshot_s;
34
 
 
35
 
extern void cia1_init(void);
36
 
extern void cia1_reset(void);
37
 
extern void REGPARM2 cia1_store(ADDRESS addr, BYTE value);
38
 
extern BYTE REGPARM1 cia1_read(ADDRESS addr);
39
 
extern BYTE REGPARM1 cia1_peek(ADDRESS addr);
40
 
extern void cia1_prevent_clk_overflow(CLOCK sub);
41
 
extern void cia1_set_flag(void);
42
 
extern void cia1_set_sdr(BYTE received_byte);
43
 
extern int cia1_snapshot_write_module(struct snapshot_s *p);
44
 
extern int cia1_snapshot_read_module(struct snapshot_s *p);
45
 
 
46
 
extern void cia1_set_ieee_dir(int);
47
 
 
48
 
#endif  /* _C610_CIA_H */
49