]> git.sur5r.net Git - cc65/blobdiff - include/_pbi.h
Fix for multiplication optimization issue #367
[cc65] / include / _pbi.h
index 435df7ceb699ac97e3db9167eebb875f92bfa695..f74262f4cc881e522f6e7ce1cb7459c9b6358249 100644 (file)
@@ -1,44 +1,63 @@
-/*
- * _pbi.h
- *
- * Freddy Offenga, 4/25/2000
- *
- * Internal include file, do not use directly.
- * Atari parallel bus definitions
- *
- */
-
+/*****************************************************************************/
+/*                                                                           */
+/*                                  _pbi.h                                   */
+/*                                                                           */
+/*                  Internal include file, do not use directly               */
+/*                                                                           */
+/*                                                                           */
+/*                                                                           */
+/* (C) 2000 Freddy Offenga <taf_offenga@yahoo.com>                           */
+/*                                                                           */
+/*                                                                           */
+/* This software is provided 'as-is', without any expressed or implied       */
+/* warranty.  In no event will the authors be held liable for any damages    */
+/* arising from the use of this software.                                    */
+/*                                                                           */
+/* Permission is granted to anyone to use this software for any purpose,     */
+/* including commercial applications, and to alter it and redistribute it    */
+/* freely, subject to the following restrictions:                            */
+/*                                                                           */
+/* 1. The origin of this software must not be misrepresented; you must not   */
+/*    claim that you wrote the original software. If you use this software   */
+/*    in a product, an acknowledgment in the product documentation would be  */
+/*    appreciated but is not required.                                       */
+/* 2. Altered source versions must be plainly marked as such, and must not   */
+/*    be misrepresented as being the original software.                      */
+/* 3. This notice may not be removed or altered from any source              */
+/*    distribution.                                                          */
+/*                                                                           */
+/*****************************************************************************/
 
 #ifndef __PBI_H
 #define __PBI_H
 
 /* parallel bus interface area */
-#define PBI            ((unsigned char*)0xD100)
+#define PBI             ((unsigned char*)0xD100)
 
 /* parallel device IRQ status */
-#define PDVI           ((unsigned char*)0xD1FF)
+#define PDVI            ((unsigned char*)0xD1FF)
 
 /* parallel device select */
-#define PDVS           ((unsigned char*)0xD1FF)
+#define PDVS            ((unsigned char*)0xD1FF)
 
 /* parallel bus interface RAM area */
-#define PBIRAM         ((unsigned char*)0xD600)
+#define PBIRAM          ((unsigned char*)0xD600)
 
 /* parallel device ID 1 */
-#define PDID1          ((unsigned char*)0xD803)
+#define PDID1           ((unsigned char*)0xD803)
 
 /* parallel device I/O vector */
-#define PDIDV          ((unsigned char*)0xD805)
+#define PDIDV           ((unsigned char*)0xD805)
 
 /* parallel device IRQ vector */
-#define PDIRQV         ((unsigned char*)0xD808)
+#define PDIRQV          ((unsigned char*)0xD808)
 
 /* parallel device ID 2 */
-#define PDID2          ((unsigned char*)0xD80B)
+#define PDID2           ((unsigned char*)0xD80B)
 
 /* parallel device vector table */
-#define PDVV           ((unsigned char*)0xD80D)
+#define PDVV            ((unsigned char*)0xD80D)
 
 /* End of _pbi.h */
-#endif
+#endif /* #ifndef __PBI_H */