From: brennan AT mack DOT rt66 DOT com (Brennan "The Rev. Bas" Underwood) Newsgroups: comp.os.msdos.djgpp Subject: Re: ROM character set location Date: 22 Nov 1996 04:11:39 -0700 Organization: Rasterfari Lines: 33 Message-ID: <5741pb$8r2@mack.rt66.com> References: <01bbd3d6$70e15be0$0100007f AT hiway DOT co DOT uk DOT hiway DOT co DOT uk> NNTP-Posting-Host: mack.rt66.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <01bbd3d6$70e15be0$0100007f AT hiway DOT co DOT uk DOT hiway DOT co DOT uk>, Mark Gilbert wrote: > >Does anyone know the location of the ROM character set when using the >__djgpp_conventional_base offset? > >It's (char far *)0xF000FA6EL when in 16bit real mode. > >Is there a general way of converting base pointers from real mode to DJGPP? > fontgrab.c: #include #include int main(void) { char fonto[256*8]; dosmemget(0xffa6e, 256*8, fonto); setmode(fileno(stdout), O_BINARY); fwrite(fonto, 256, 8, stdout); exit(0); } fontgrab > 8x8.fnt --brennan -- brennan AT rt66 DOT com | fsck /u Riomhchlaraitheoir| Rasterfarian |