Subversion Repositories shark

Rev

Rev 1063 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1063 tullio 1
 
2
/*
3
 * This program is free software; you can redistribute it and/or modify
4
 * it under the terms of the GNU General Public License as published by
5
 * the Free Software Foundation; either version 2 of the License, or
6
 * (at your option) any later version.
7
 *
8
 * This program is distributed in the hope that it will be useful,
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
 * GNU General Public License for more details.
12
 *
13
 * You should have received a copy of the GNU General Public License
14
 * along with this program; if not, write to the Free Software
15
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
 *
17
 */
18
 
1689 fabio 19
#include <arch/sys/cdefs.h>
80 pj 20
 
21
__BEGIN_DECLS
2 pj 22
#define memsetw(addr, val, n) {LIN_ADDR i;      for(i = addr; i < addr + n; i += 2) lmempokew(i, val);}
23
 
24
 
25
void RdWin_Hi(WORD x1, WORD y1, WORD x2, WORD y2, BYTE *buf);
26
void linGet16(WORD x1, WORD y1, WORD x2, WORD y2, BYTE *buf);
27
void WrWin_Hi(WORD x1, WORD y1, WORD x2, WORD y2, BYTE *buf);
28
void linPut16(WORD x1, WORD y1, WORD x2, WORD y2, BYTE *buf);
29
void ClrWin_Hi(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color);
30
void linBox16(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color);
31
void WrRect_Hi(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color);
32
void linRect16(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color);
33
void WrText_Hi(char *text, WORD x, WORD y, DWORD fg, DWORD bg);
34
void linText16(char *text, WORD x, WORD y, DWORD fg, DWORD bg);
35
void WrLine_Hi(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color);
36
void linLine16(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color);
37
void WrPixel_Hi(WORD x, WORD y, DWORD color);
38
void linWr16(WORD x, WORD y, DWORD color);
39
DWORD RdPixel_Hi(WORD x, WORD y);
40
DWORD linRd16(WORD x, WORD y);
80 pj 41
__END_DECLS