mem_addr.h
上传用户:shyuanyi
上传日期:2008-05-24
资源大小:69k
文件大小:1k
- #ifndef _MEM_ADDR_DEF_
- #define _MEM_ADDR_DEF_
- /*************************************************/
- #define SAVE_BUFFER1_PAGEADDR 0 //缓冲区1存贮
- #define SAVE_BUFFER2_PAGEADDR 1 //缓冲区2存贮
- #define MyALL_SAVEDATA_PAGEADDR 2 //临时参数存贮
- #define MYTEST_START_PAGEADDR 3
- #define MYTEST_END_PAGEADDR 5
- #define OPUSER_START_PAGEADDR 6 //操作日志。
- #define OPUSER_END_PAGEADDR 7 //操作日志。
- #define PARAMETER_PAGE1ADDR 8 //功能参数存贮区
- #define PARAMETER_PAGE2ADDR 9
- #define YSN_FLAG_BYTEADDR 0x00
- #define YSN_REV_BYTEADDR 0x10
- #define PARA_START_BYTEADDR 0x20
- //==================充值参数部分=================
- #define FILL_LIMIT_INFO_PAGEADDR 17 //充值限制参数存贮页地址
- #define FILL_INFO_START_PAGEADDR 500 //充值信息开始页
- #define FILL_INFO_END_PAGEADDR 1106//充值信息结束页
- #define FILL_INFO_PAGE_MAX_RECORD_COUNT 33 //充值信息每页记录数
- //解挂缓冲表
- #define RESUMECARD_TEMP_PAGEADDR 18
- //黑名单临时表
- #define CARDSTATE_TEMP_PAGEADDR 19
- //黑名单主表
- #define CARDSTATE_START_PAGEADDR 20
- #define CARDSTATE_END_PAGEADDR 490
- //=====================记录存贮区============================
- #define CON_RECORD_START_PAGEADDR 1107
- #define CON_RECORD_END_PAGEADDR 2048
- #define MAX_PAGES 2048
- #define MEMPAGE_SIZE 264
- /*************************************************/
- #endif