Home | History | Annotate | Download | only in mopcopy

Lines Matching defs:header

10  * If necessary, the a.out header is stripped, and the program
12 * A header is prepended that looks like an IHD header. In
16 * is aborted. The original a.out header is copied into the front
17 * of the header so that once we have detected the Unix machine
93 u_char header[512]; /* The VAX header we generate is 1 block. */
156 mopFilePutLX(header,IHD_W_SIZE,0xd4,2); /* Offset to ISD section. */
157 mopFilePutLX(header,IHD_W_ACTIVOFF,0x30,2);/* Offset to 1st section.*/
158 mopFilePutLX(header,IHD_W_ALIAS,IHD_C_NATIVE,2);/* It's a VAX image.*/
159 mopFilePutLX(header,IHD_B_HDRBLKCNT,1,1); /* Only one header block. */
160 mopFilePutLX(header,0xd4+ISD_V_VPN,dl.loadaddr/512,2);/* load Addr */
161 mopFilePutLX(header,0x30+IHA_L_TFRADR1,dl.xferaddr,4); /* Xfer Addr */
162 mopFilePutLX(header,0xd4+ISD_W_PAGCNT,i,2);/* Imagesize in blks.*/
168 /* Now we do the actual work. Write VAX MOP-image header */
170 fwrite (header, sizeof (header), 1, out);
199 while ((i = mopFileRead(&dl,header)) > 0) {
200 (void)fwrite(header, i, 1, out);