00001 //& **************************************************************************** 00002 //& 00003 //& Written by Al Borowski, August 2004 00004 //& 00005 //& Copyright (C) 2004 The HP-GCC Development Team 00006 //& 00007 //& **************************************************************************** 00008 //& 00009 //& 00010 //& This file is part of HP-GCC. 00011 //& 00012 //& HP-GCC is free software; you can redistribute it and/or modify 00013 //& it under the terms of the GNU General Public License as published by 00014 //& the Free Software Foundation; either version 2, or (at your option) 00015 //& any later version. 00016 //& 00017 //& HP-GCC is distributed in the hope that it will be useful, 00018 //& but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 //& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 //& GNU General Public License for more details. 00021 //& 00022 //& You should have received a copy of the GNU General Public License 00023 //& along with HP-GCC; see the file COPYING. 00024 //& 00025 //& As a special exception, you may use this file as part of a free software 00026 //& library without restriction. Specifically, if other files instantiate 00027 //& templates or use macros or inline functions from this file, or you compile 00028 //& this file and link it with other files to produce an executable, this 00029 //& file does not by itself cause the resulting executable to be covered by 00030 //& the GNU General Public License. This exception does not however 00031 //& invalidate any other reasons why the executable file might be covered by 00032 //& the GNU General Public License. 00033 //& 00034 //& **************************************************************************** 00035 00036 00037 00042 #ifndef _HPSCREEN_H 00043 #define _HPSCREEN_H 00044 00045 // LONG TYPE DEFINITION, ADDED BY CLAUDIO 01/14/05 00046 #ifndef _LONGLONG_DEF 00047 typedef unsigned long long ULONGLONG; 00048 typedef long long LONGLONG; 00049 #define _LONGLONG_DEF 00050 #endif 00051 00052 // particular functions 00053 void print(char * string, int x, int y); 00054 volatile char* getLCDPointer(int x, int y); 00055 void drawBlockOR (unsigned char* sprite, int length, int x, int y); 00056 void drawBlockXOR (unsigned char* sprite, int length, int x, int y); 00057 int drawBlockXOR4bitC(unsigned char* sprite, int height, int x, int y); 00058 int testBlock4bitC(unsigned char* sprite, int height, int x, int y); 00059 00060 void fillTiles(unsigned char* sprite, int length, int x,int y, int right, int down); 00061 void clearScreen(); 00062 00063 char *getMF(int z); 00064 00065 00066 00067 #endif 00068