2
* c610cia.h - Definitions for MOS6526 (CIA) chip emulation.
5
* Jouko Valta <jopi@stekt.oulu.fi>
6
* Andr� Fachat <fachat@physik.tu-chemnitz.de>
8
* This file is part of VICE, the Versatile Commodore Emulator.
9
* See README for copyright notice.
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.
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.
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
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);
46
extern void cia1_set_ieee_dir(int);
48
#endif /* _C610_CIA_H */