(Origin section: C/C
Compressed file format: text content
Attachment source: Internet
Operation mode: Windows mode
Is it verified by yourself: yes
Attachment nature: free
Detailed description: C common algorithm assembly
#includestdio.h
#includedos.h
voidtasci(fn)
char
fn;
{FILE
fp;
unionREGSr;
inti,j,row,col;
unsignedcharc,p;
longintix,k;
unsignedcharfar
ptr=
(unsignedcharfar
)0xa0000000;
if((fp=fopen(fn,w b))==NULL)
{printf(cannotopenfn!\n);
exit(0);
}
r.h.ah=0;r.h.al=16;int86(16,r,r);
outportb(0x03CE,5);outportb(0x03CF,0);
row=10;col=0;
for(i=0;ilt;=130;i )
{c=(unsignedchar)i;
if(i==65){row=row 2;col=0;}
if((ilt;=32)(igt;=127))c=(unsignedchar)32;
r.h.ah=2;r.h.dh=row;r.h.dl=col;
r.h.bh=0;int86(16,r,r);col=col 1;
putchar(c);
}
row=139;col=0;
for(i=0;ilt;=129;i )
{if(i==65){row=row 28;col=0;}
for(j=0;jlt;=15;j )
{ix=(long)(row j)
80L (long)(col/8);
outportb(0x03CE,4);outportb(0x03CF,0);
p=
(ptr ix);
}
col=col 8;k=(long)i
16L;
fseek(fp,k
sizeof(char),SEEK_SET);
fwrite(p,sizeof(char),16,fp);
}
outportb(0x03CE,5);outportb(0x03CF,0);
r.h.ah=0;r.h.al=3;int86(16,r,r);
fclose(fp);return;
}
C common algorithm assembly\CH01\ABAND.C
C common algorithm assembly\CH01\ABAND0.C
C common algorithm assembly\CH01\ABAND0.DAT
C common algorithm assembly\CH01\ABINT.C
C common algorithm assembly\CH01\ABINT0.C
C common algorithm assembly\CH01\ABINT0.DAT
C common algorithm assembly\CH01\ACGAS.C
C common algorithm assembly\CH01\ACGAS0.C
C common algorithm assembly\CH01\ACGAS0.DAT
C common algorithm assembly\CH01\ACHOL.C
C common algorithm assembly\CH01\ACHOL0.C
C common algorithm assembly\CH01\ACHOL0.DAT
C common algorithm assembly\CH01\ACJDN.C
C common algorithm assembly\CH01\ACJDN0.C
C common algorithm assembly\CH01\ACJDN0.DAT
C common algorithm assembly\CH01\AGAUS.C
C common algorithm assembly\CH01\AGAUS0.C
C common algorithm assembly\CH01\AGAUS0.DAT
C common algorithm assembly\CH01\AGGJE.C
C common algorithm assembly\CH01\AGGJE0.C
C common algorithm assembly\CH01\AGGJE0.DAT
C common algorithm assembly\CH01\AGJDN.C
C common algorithm assembly\CH01\AGJDN0.C
C common algorithm assembly\CH01\AGJDN0.DAT
C common algorithm assembly\CH01\AGMIV.C
C common algorithm assembly\CH01\AGMIV0.C
C common algorithm assembly\CH01\AGMIV0.DAT
C common algorithm assembly\CH01\AGMQR.C
C common algorithm assembly\CH01\AGMQR0.C
C common algorithm assembly\CH01\AGMQR0.DAT
C common algorithm assembly\CH01\AGRAD.C
C common algorithm assembly\CH01\AGRAD0.C
C common algorithm assembly\CH01\AGRAD0.DAT
C common algorithm assembly\CH01\AGSDL.C
C common algorithm assembly\CH01\AGSDL0.C
C common algorithm assembly\CH01\AGSDL0.DAT
C common algorithm assembly\CH01\ALDLE.C
C common algorithm assembly\CH01\ALDLE0.C
C common algorithm assembly\CH01\ALDLE0.DAT
C common algorithm assembly\CH01\ATLVS.C
C common algorithm assembly\CH01\ATLVS0.C
C common algorithm assembly\CH01\ATLVS0.DAT
C common algorithm assembly\CH01\ATRDE.C
C common algorithm assembly\CH01\ATRDE0.C
C common algorithm assembly\CH01\ATRDE0.DAT
C common algorithm assembly\CH02\BCHOL.C
C common algorithm assembly\CH02\BCHOL0.C
C common algorithm assembly\CH02\BCHOL0.DAT
C common algorithm assembly\CH02\BCINV.C
C common algorithm assembly\CH02\BCINV0.C
C common algorithm assembly\CH02\BCINV0.DAT
C common algorithm assembly\CH02\BCMUL.C
C common algorithm assembly\CH02\BCMUL0.C
C common algorithm assembly\CH02\BCMUL0.DAT
C common algorithm assembly\CH02\BGINV.C
C common algorithm assembly\CH02\BGINV0.C
C common algorithm assembly\CH02\BGINV0.DAT
C common algorithm assembly\CH02\BLLUU.C
C common algorithm assembly\CH02\BLLUU0.C
C common algorithm assembly\CH02\BLLUU0.DAT
C common algorithm assembly\CH02\BMAQR.C
C common algorithm program?)