]> git.sur5r.net Git - cc65/blob - include/_pbi.h
Lynx patches by Karri Kaksonen. Improvements for the graphics driver, new
[cc65] / include / _pbi.h
1 /*****************************************************************************/
2 /*                                                                           */
3 /*                                  _pbi.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 #ifndef __PBI_H
32 #define __PBI_H
33
34 /* parallel bus interface area */
35 #define PBI             ((unsigned char*)0xD100)
36
37 /* parallel device IRQ status */
38 #define PDVI            ((unsigned char*)0xD1FF)
39
40 /* parallel device select */
41 #define PDVS            ((unsigned char*)0xD1FF)
42
43 /* parallel bus interface RAM area */
44 #define PBIRAM          ((unsigned char*)0xD600)
45
46 /* parallel device ID 1 */
47 #define PDID1           ((unsigned char*)0xD803)
48
49 /* parallel device I/O vector */
50 #define PDIDV           ((unsigned char*)0xD805)
51
52 /* parallel device IRQ vector */
53 #define PDIRQV          ((unsigned char*)0xD808)
54
55 /* parallel device ID 2 */
56 #define PDID2           ((unsigned char*)0xD80B)
57
58 /* parallel device vector table */
59 #define PDVV            ((unsigned char*)0xD80D)
60
61 /* End of _pbi.h */
62 #endif /* #ifndef __PBI_H */
63