added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / include / hardware / cia.h
blob47159ec443d2b98f82c685268a6d412368282a9d
1 #ifndef HARDWARE_CIA_H
2 #define HARDWARE_CIA_H
4 /*
5 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Amiga CIA chips
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
16 struct CIA
18 UBYTE ciapra;
19 UBYTE ciapad0[255];
20 UBYTE ciaprb;
21 UBYTE ciapad1[255];
22 UBYTE ciaddra;
23 UBYTE ciapad2[255];
24 UBYTE ciaddrb;
25 UBYTE ciapad3[255];
26 UBYTE ciatalo;
27 UBYTE ciapad4[255];
28 UBYTE ciatahi;
29 UBYTE ciapad5[255];
30 UBYTE ciatblo;
31 UBYTE ciapad6[255];
32 UBYTE ciatbhi;
33 UBYTE ciapad7[255];
34 UBYTE ciatodlow;
35 UBYTE ciapad8[255];
36 UBYTE ciatodmid;
37 UBYTE ciapad9[255];
38 UBYTE ciatodhi;
39 UBYTE ciapad10[255];
40 UBYTE unusedreg;
41 UBYTE ciapad11[255];
42 UBYTE ciasdr;
43 UBYTE ciapad12[255];
44 UBYTE ciaicr;
45 UBYTE ciapad13[255];
46 UBYTE ciacra;
47 UBYTE ciapad14[255];
48 UBYTE ciacrb;
51 /* Used in rom/exec/execstrap_init.c */
52 /* Still has to be completed */
53 #define CIAF_GAMEPORT0 (1L<<6)
56 #endif /* HARDWARE_CIA_H */