home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
comm
/
ykh121.zip
/
YKHSRC.ZIP
/
MAKEFONT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-27
|
416b
|
31 lines
#pragma inline
#include <dos.h>
#include <stdio.h>
#include <stdlib.h>
unsigned fseg;
unsigned foffs;
main()
{
FILE* outfile;
unsigned char far* font;
asm push es
asm push bp
asm mov ax,1130h
asm mov bh,6
asm int 10h
asm mov fseg,es
asm mov foffs,bp
asm pop bp
asm pop es
font=MK_FP(fseg,foffs);
outfile=fopen("R08x16.f00","wb");
fwrite(font,16*256,1,outfile);
fclose(outfile);
}