⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nonsefns.h

📁 一个图形显示芯片s1d13505的应用程序
💻 H
字号:
/*
**===========================================================================
**  NONSEFNS.H - Function prototypes for non-seXXX functions.
**               That is - prototypes for HAL private functions.
**---------------------------------------------------------------------------
**  Copyright (c) 1997, 1998 Epson Research and Development, Inc.
**  All Rights Reserved.
**===========================================================================
*/


/* internal */
BYTE ReadRegister( int seReserved1, int index );
void WriteRegister( int seReserved1, int index, BYTE value );

void Swap(long *pa, long *pb);
void Line(DWORD StartLogicalAddr, int BytesPerScanline, long x1, long y1, long x2, long y2, DWORD color, void (*pSetPixel)(DWORD StartLogicalAddr, int BytesPerScanline, long x, long y, DWORD color));
void Ellipse(DWORD StartLogicalAddr, int BytesPerScanline, long xc, long yc, long a0, long b0, DWORD color, void (*pSetPixel)(DWORD StartLogicalAddr, int BytesPerScanline, long x, long y, DWORD color));

void Pixel1bpp(DWORD StartLogicalAddr, int BytesPerScanline, long x, long y, DWORD color);
void Pixel2bpp(DWORD StartLogicalAddr, int BytesPerScanline, long x, long y, DWORD color);
void Pixel4bpp(DWORD StartLogicalAddr, int BytesPerScanline, long x, long y, DWORD color);
void Pixel8bpp(DWORD StartLogicalAddr, int BytesPerScanline, long x, long y, DWORD color);
void Pixel16bpp(DWORD StartLogicalAddr, int BytesPerScanline, long x, long y, DWORD color);

void Line1bpp(DWORD StartLogicalAddr, int BytesPerScanline, long x1, long y1, long x2, long y2, DWORD color);
void Line2bpp(DWORD StartLogicalAddr, int BytesPerScanline, long x1, long y1, long x2, long y2, DWORD color);
void Line4bpp(DWORD StartLogicalAddr, int BytesPerScanline, long x1, long y1, long x2, long y2, DWORD color);
void Line8bpp(DWORD StartLogicalAddr, int BytesPerScanline, long x1, long y1, long x2, long y2, DWORD color);
void Line16bpp(DWORD StartLogicalAddr, int BytesPerScanline, long x1, long y1, long x2, long y2, DWORD color);

int InitInkCursorAddr(int seReserved1, DWORD InkCursorSize);
int CheckMaxPClkRatio(int seReserved1, int *ratio);

int InitPlat(void);
int InitLinear(int seReserved1);
int ExitLinear(int seReserved1);

extern volatile DWORD RegLogicalAddr[MAX_DEVICE];
extern volatile DWORD DispLogicalAddr[MAX_DEVICE];
extern volatile DWORD SuspendLogicalAddr;
extern void CheckMemory(int seReserved1);

extern DWORD MemSize[MAX_DEVICE];
extern int DefaultDisplayMode[MAX_DEVICE];
extern int UsingLcd, UsingCrt;

extern int CursorInitialized;
extern int InkInitialized;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -