On Thu, 2008-01-17 at 11:48 +0100, Vinzent Hoefler wrote: > On Thursday 17 January 2008 01:27, [EMAIL PROTECTED] wrote: > > > The question. Is this font accessible from linux; do I have > > to be root ? > > Yes. Yes. > > "/dev/mem" should be the raw memory device (where even the BIOS "image" > can be read from), but this device which is only accessible to root. > > > How do I make the 16 bit segment/offset address > > into a 32 bit pointer to access these fonts ? > > The same as in the old days: Multiply the segment with 16 and add the > offset, which gives you the 32 bit (absolute/physical) address. This is > basically the offset into the "/dev/mem" device file and thus can be > fed to the (f)seek... > > > Vinzent.
Thank you, I have tended to shy away from touching stuff in /dev except when administrating my system. I just learned something new about Linux :). This doesn't sound like I can use this conveniently. And yes I did mean if I can't find another font to use the BIOS font as a fall back. I'm sure I can find a Free Font somewhere and link it into my code. Anthony > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal