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

📄 bmapfont.h

📁 dragon ball vz328 上的一个例子程序。 用于做手持仪表用。
💻 H
字号:
/******************************************************************************

 (c) copyright Motorola Semiconductors Hong Kong Limited 1995-2000
 ALL RIGHTS RESERVED

******************************************************************************
 Project Name  : Personal Portable System Manager, PPSM
 Project Number: PDAPSM031
 Title         : Bitmap font related definitions
 File Name     : bmapfont.h
 Created On    : 08/19/95
 Modifications : 01/11/00 EC - Changed the include file search path from system
                               to user (CE-001)

 Release       : 02/29/00 PPSM v3.20
**********************************************************************/
#ifndef BMAPFONT_INCLUDED
#define BMAPFONT_INCLUDED

#include	"ppsm.h"	/*** MOD CE-001 ***/

/* 
    Number of unprintable characters at the beginning of the ASCII 
    list not included in the font libraries i.e. characters 0 to 
    (NUM_UNPRINTABLE - 1) are not printable 
*/
#define	NUM_UNPRINTABLE	0x0

/* Macros to extract high and low byte of the BIG5 code respectively */
#define	HI(code)		(((code) >> 8) & 0xff)
#define	LOW(code)		((code) & 0xff)

// MWERKS_PPSMV311
extern	const U8	smallNormalFont[];
extern	const U8	largeNormalFont[];

#define	SMALL_ENG_FONT_ADDR		0x1090000//smallNormalFont
#define	LARGE_ENG_FONT_ADDR		largeNormalFont
#define	GB_FONT_ADDR			   0x10A0000//lxz	
#define	CHINESE_FONT_ADDR		GB_FONT_ADDR	/* default to GB_FONT_ADDR */
#define	BITMAP_BIG5_FONT_ADDR	0x780000

/* offsets into BIG5 bitmap font */
#define	JIS2BASE		(0x16f0)		/* ((0xc6 - 0xa1) * 0x9d + 0x3f) */
#define	ADDITION_OFFSET	(0x1aa0)

#endif

⌨️ 快捷键说明

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