Mail Archives: djgpp/1996/11/22/13:15:49
In article <01bbd3d6$70e15be0$0100007f AT hiway DOT co DOT uk DOT hiway DOT co DOT uk>,
Mark Gilbert <mark DOT gilbert AT pop3 DOT hiway DOT co DOT uk> 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 <stdio.h>
#include <fcntl.h>
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 | <http://brennan.home.ml.org>
- Raw text -