]> git.sur5r.net Git - cc65/blob - include/_antic.h
Stefan Haubenthal fixed a few typos.
[cc65] / include / _antic.h
1 /*****************************************************************************/
2 /*                                                                           */
3 /*                                _antic.h                                   */
4 /*                                                                           */
5 /*                  Internal include file, do not use directly               */
6 /*                                                                           */
7 /*                                                                           */
8 /*                                                                           */
9 /* (C) 2000 Freddy Offenga <taf_offenga@yahoo.com>                           */
10 /*                                                                           */
11 /*                                                                           */
12 /* This software is provided 'as-is', without any expressed or implied       */
13 /* warranty.  In no event will the authors be held liable for any damages    */
14 /* arising from the use of this software.                                    */
15 /*                                                                           */
16 /* Permission is granted to anyone to use this software for any purpose,     */
17 /* including commercial applications, and to alter it and redistribute it    */
18 /* freely, subject to the following restrictions:                            */
19 /*                                                                           */
20 /* 1. The origin of this software must not be misrepresented; you must not   */
21 /*    claim that you wrote the original software. If you use this software   */
22 /*    in a product, an acknowledgment in the product documentation would be  */
23 /*    appreciated but is not required.                                       */
24 /* 2. Altered source versions must be plainly marked as such, and must not   */
25 /*    be misrepresented as being the original software.                      */
26 /* 3. This notice may not be removed or altered from any source              */
27 /*    distribution.                                                          */
28 /*                                                                           */
29 /*****************************************************************************/
30
31
32 #ifndef __ANTIC_H
33 #define __ANTIC_H
34
35 /* Define a structure with the antic register offsets */
36 struct __antic {
37     unsigned char   dmactl; /* direct memory access control */
38     unsigned char   chactl; /* character mode control */
39     unsigned char   dlistl; /* display list pointer low-byte */
40     unsigned char   dlisth; /* display list pointer high-byte */
41     unsigned char   hscrol; /* horizontal scroll enable */
42     unsigned char   vscrol; /* vertical scroll enable */
43     unsigned char   unuse0; /* unused */
44     unsigned char   pmbase; /* msb of p/m base address */
45     unsigned char   unuse1; /* unused */
46     unsigned char   chbase; /* character base address */
47     unsigned char   wsync;  /* wait for horizontal synchronization */
48     unsigned char   vcount; /* vertical line counter */
49     unsigned char   penh;   /* light pen horizontal position */
50     unsigned char   penv;   /* light pen vertical position */
51     unsigned char   nmien;  /* non-maskable interrupt enable */
52     unsigned char   nmires; /* nmi reset/status */
53 };
54
55 /* End of _antic.h */
56 #endif /* #ifndef __ANTIC_H */
57