Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-20 Thread Mark Morgan Lloyd
Anthony W.Henry wrote: One thing I'd add is that using Delphi it's possible (although not trivial) to embed a .fon as a resource in an executable. I don't know the extent to which this can be done using (in particular) Lazarus on Windows or on Linux. I imagine the easiest way is bin2obj an

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-19 Thread Anthony W.Henry
On Sat, 2008-01-19 at 13:19 +, Mark Morgan Lloyd wrote: > Anthony W.Henry wrote: > > > I really don't have to worry about the few Kilobytes > > it will add to the program file :). Anyone know any good > > GPL'd or Public Domain bit fonts ? > > Remember that you can easily preprocess it w

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-19 Thread Mark Morgan Lloyd
Anthony W.Henry wrote: I really don't have to worry about the few Kilobytes it will add to the program file :). Anyone know any good GPL'd or Public Domain bit fonts ? Remember that you can easily preprocess it with RLL. I'd expect a bitmap fount to be very compressible. Google for "Pro

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-18 Thread Anthony W.Henry
On Thu, 2008-01-17 at 15:32 +, Mark Morgan Lloyd wrote: > Michael Van Canneyt wrote: > > >> The question. Is this font accessible from linux; do I have > >> to be root ?How do I make the 16 bit segment/offset address > >> into a 32 bit pointer to access these fonts ? > > > > This fon

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-18 Thread Anthony W.Henry
On Thu, 2008-01-17 at 11:47 +0100, Michael Van Canneyt wrote: > > On Thu, 17 Jan 2008, 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. > > > > "

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-18 Thread Anthony W.Henry
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"

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-17 Thread Marco van de Voort
> On Thu, 17 Jan 2008, [EMAIL PROTECTED] wrote: > > a fallback text output method if font files aren't available. > > > > The question. Is this font accessible from linux; do I have > > to be root ?How do I make the 16 bit segment/offset address > > into a 32 bit pointer to access these fon

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-17 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: The question. Is this font accessible from linux; do I have to be root ?How do I make the 16 bit segment/offset address into a 32 bit pointer to access these fonts ? This font is not accessible. Linux does not allow direct hardware access unless you write a

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-17 Thread Vinzent Hoefler
On Thursday 17 January 2008 11:47, Michael Van Canneyt wrote: > On Thu, 17 Jan 2008, 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" sho

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-17 Thread Michael Van Canneyt
On Thu, 17 Jan 2008, 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 re

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-17 Thread Michael Van Canneyt
On Thu, 17 Jan 2008, [EMAIL PROTECTED] wrote: > A task I used to do regularly when programming in Turbo Pascal > was to read the BIOS Rom Font.I first picked this up to make > "Splash" Screens for Text Mode programs that wrote out big > several lines high using the character it was made of >

Re: [fpc-pascal] Accessing ROM BIOS Font in Linux.

2008-01-17 Thread Vinzent Hoefler
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. > Ho