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

📄 virt.h

📁 一个图形显示芯片s1d13505的应用程序
💻 H
字号:
/*
**===========================================================================
**  VIRT.H - Declaration/protypes for 13505 VIRT - a program to test and
**               demostrate the virtual display abilities of the 13505.
**--------------------------------------------------------------------------
** Copyright (c) 1997, 2001 Epson Research and Development, Inc.
** All Rights Reserved.
**==========================================================================
*/

#define PAT_WIDTH    16								/* in Pixels */
#define PAT_HEIGHT   16								/* in Pixels */

#define MANUAL    0
#define AUTO      1

#define ASCIIZ 0x00										/* ASCII zero */

#define BEL    0x07										/* Some printable characters. */
#define BS     0x08
#define LF     0x0A
#define CR     0x0D

#define ESC        0x1B								/* Some keyboard characters. */
#define HOME       0x47
#define END				 0x4F
#define UP		     0x48
#define DOWN       0x50
#define LEFT			 0x4B
#define RIGHT			 0x4D
#define CTRL_UP    0x8D
#define CTRL_DOWN  0x91
#define CTRL_LEFT  0x73
#define CTRL_RIGHT 0x74

/*-- Prototypes ---------------------------------------------------------*/

void	DisplayCopyright( void );
void	DisplayUsage( void );

BOOL	TestMode( int nBPP, long lVirtWidth );
void	FillDisplayMem( int nBPP, long lVirtWidth, long lVirtHeight );
void	FillPattern_A( int nBPP, long lVirtWidth, long lVirtHeight );
void	FillPattern_B( int nBPP, long lVirtWidth, long lVirtHeight );
WORD	GetNextColor( int nBpp, WORD wColor );

BOOL	KbdHandler( int nBPP, long lVirtWidth, long lVirtHeight );

⌨️ 快捷键说明

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