constvar.h

来自「ESS3890+SL原代码(1*16内存)」· C头文件 代码 · 共 62 行

H
62
字号
/* Copyright 1996, ESS Technology, Inc.					*//* SCCSID @(#)constvar.h	4.8 03/05/04 *//* * $Log$ */#ifndef __CONSTVAR_H__#define __CONSTVAR_H__#include "common.h"GBLDEF(unsigned int xINFINITY, 0x7fffffff); 	/* "local" infinity	*/GBLDEF(unsigned int xMAX_CDTIME, 0x00995974); 	/* Max. CD time.	*/GBLDEF(unsigned int x0fffffff, 0x0fffffff);	/* vcd.c */#ifndef PLAYONLYGBLDEF(unsigned int x00ffff00, 0x00ffff00);	/* CD time (MMSS00)	*/GBLDEF(unsigned int xff000000, 0xff000000);	/* CD track info's mask	*/GBLDEF(unsigned int xffff0000, 0xffff0000);	/* for ITU_G726 */#endifGBLDEF(unsigned int x00ffffff, 0x00ffffff);	/* SYNC			*/GBLDEF(unsigned int x14000003, 0x14000003);	/* DSC address */#ifdef NEW_EMULATOR#ifdef DVD_EMULATOR/* Using A19 */GBLDEF(unsigned int x1c00001b, 0x1c00001b);	/* Host data  (emulator)*/GBLDEF(unsigned int x1c00001f, 0x1c00001f);	/* Host status(emulator)*/GBLDEF(unsigned int bank3safe, 0x1c080000);	/* Random B3 addr (90ns)*/                                                /* For 3890, LA19 should*/                                                /* be 1 when not talk to*/                                                /* Emulator within bank3*/#else/* Using A2, A3 and CS1 (no size limit) */GBLDEF(unsigned int x1400001b, 0x1400001b);	/* Host data  (emulator)*/GBLDEF(unsigned int x1400001f, 0x1400001f);	/* Host status(emulator)*/GBLDEF(unsigned int bank3safe, 0x1c060000);	/* Random B3 addr (90ns)*/#endif /* DVD_EMULATOR */#else /* Using A2 and A17 (128K only) */GBLDEF(unsigned int x1c000000, 0x1c000000);	/* Host data  (emulator)*/GBLDEF(unsigned int x1c000004, 0x1c000004);	/* Host status(emulator)*/GBLDEF(unsigned int bank3safe, 0x1c060000);	/* Random B3 addr (90ns)*/#endif /* NEW_EMULATOR */#ifdef USE_256KROMGBLDEF(unsigned int ROM_BASE_ADDR, 0x1cfc0000);	/* ROM Base		*/#endif#ifdef USE_512KROMGBLDEF(unsigned int ROM_BASE_ADDR, 0x1cf80000);	/* ROM Base		*/#endifGBLDEF(unsigned int x18000000, 0x18000000);	/* Bank 2		*/GBLDEF(unsigned int x80000000, 0x80000000);GBLDEF(unsigned int xf0000000, 0xf0000000);#endif /* __CONSTVAR_H__ */

⌨️ 快捷键说明

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