home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
datafiles
/
hardware
/
eprommer
/
source.lha
/
src
/
intelhex.h
< prev
Wrap
C/C++ Source or Header
|
1993-04-05
|
497b
|
29 lines
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define IH_COLON 0
#define IH_NRDATA 1
#define IH_ADDRESS 3
#define IH_STATUS 7
#define IH_FIRSTDATA 9
#define IH_MAXDATA 16
#define CONTINOUS 0
#define FRAGMENTED 1
#ifdef _INTELHEX
# define extern
#endif
char *readintelhex(FILE *fp,unsigned char *buffer,int maxbuffer,long *plength,int flag,long *p_epromstart);
char *writeintelhex(FILE *fp,unsigned char *buffer,int offset,int length);
#ifdef _INTELHEX
# undef extern
#endif