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

📄 object_io.h

📁 The Lite Evaluation/Demonstration Kit is intended to illustrate use of the AN3042. The AN3042 is c
💻 H
字号:
//////////////////////////////////////////////////////////////////////
//
// File: object_io.h 
//
// $Archive: /ComemL/Host/ComemLif/object_io.h $
//
// Purpose:
//
// $Author: Tpm $
//
// $History: object_io.h $
//  
//  *****************  Version 10  *****************
//  User: Tpm          Date: 11/06/98   Time: 4:58p
//  Updated in $/ComemL/Host/ComemLif
//  Creat seperate directory for ComemLite IF Library.
//  
//  *****************  Version 8  *****************
//  User: Tpm          Date: 8/27/98    Time: 10:30a
//  Updated in $/Comem/Mapper
//  Aug Plug-Fest version.
//  
//  *****************  Version 7  *****************
//  User: Tpm          Date: 8/27/98    Time: 9:12a
//  Updated in $/ComemL/Host/ComemLif
//  use ComelL.vxd.
//  
//  *****************  Version 6  *****************
//  User: Stevek       Date: 10/24/97   Time: 3:55p
//  Updated in $/Comem/Mapper
//  Started to seperate library functions out of mapper files.
//  Current code is tested with one comem.
//  
//  *****************  Version 5  *****************
//  User: Stevek       Date: 10/22/97   Time: 12:27p
//  Updated in $/Comem/Mapper
//  Added header blocks to all files at once!
//  
// Copyright (c) 1997 Anchor Chips, Inc.  May not be reproduced without
// permission.  See the license agreement for more details.
//
//////////////////////////////////////////////////////////////////////
// Shared .h file used for all of the binary and hex file i/o routines
errcodeE intel_in(FILE *fpIn, AllocBlockAll allData, int limit, DWORD &io_offset, char endian_flags, BOOLEAN spaces, DWORD comemID);
errcodeE intel_in_buffer(FILE *fpIn, char *buffer, int limit, DWORD &io_offset, char endian_flags, BOOLEAN spaces);

void intel_out(FILE *fp, AllocBlockAll regions, DWORD limit, DWORD addr, char endian_flags, BOOLEAN spaces, BOOLEAN endrec);
void intel_out_buffer(FILE *fp, char *buffer, DWORD limit, DWORD addr, char endian_flags, BOOLEAN spaces, BOOLEAN endrec);

errcodeE binary_in(FILE *fpIn, char *buffer, int limit, DWORD &io_offset, char endian_flags, BOOLEAN spaces, DWORD comemID);
errcodeE binary_in_buffer(FILE *fpIn, char *buffer, int limit, DWORD &io_offset, char endian_flags, BOOLEAN spaces);
void binary_out(FILE *fp, char *buffer, DWORD limit, DWORD addr, 
              char endian_flags, 
              BOOLEAN spaces,       // Ignored
              BOOLEAN endrec);       // Ignored

errcodeE srec_in(FILE *fp, AllocBlockAll regions, DWORD limit, DWORD &offset, char endian_flags, BOOLEAN spaces, DWORD comemID);
errcodeE srec_in_buffer(FILE *fp, char *buffer, DWORD limit, DWORD &offset, char endian_flags, BOOLEAN spaces);

void srec_out(FILE *fp, AllocBlockAll regions, DWORD limit, DWORD addr, 
              char endian_flags, 
              BOOLEAN spaces,       // Ignored
              BOOLEAN endrec);       // Ignored
void srec_out_buffer(FILE *fp, char *buffer, DWORD limit, DWORD addr, 
              char endian_flags, 
              BOOLEAN spaces,       // Ignored
              BOOLEAN endrec);      // Ignored


#define MAX_FRAGMENTS 16



⌨️ 快捷键说明

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