From: Martynas Kunigelis Newsgroups: comp.os.msdos.djgpp Subject: Re: Geting 8x8 text from rom? Date: Mon, 15 Dec 1997 13:52:33 +0200 Organization: LITNET Lines: 23 Message-ID: <34951A01.5C6864E3@nm3.ktu.lt> References: <34938c5f DOT 0 AT pusher DOT student DOT adelaide DOT edu DOT au> NNTP-Posting-Host: slibinas.nm3.ktu.lt Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Matthew wrote: > > Im rather new to DJGPP so please excuse my ignorance here > > I would like to know how I would use farnspeekb for the following address. > 0xF000FA6E which contains the 8x8 font for mode 13h in rom. The only ^^^^^^^^^^ Wrong! It's F000:FA6E in 8086 segmented addressing notation. Please note, that this is _very_ different from 0xF000FA6E. The linear address for F000:FA6E is 0xFFA6E. > example close to farnspeekb I can find is for writing to the screen > ie _farnspokeb(0xA0000 + line_offset, color); > Im used to writing 0xA0000000 for the screen address! How so? The VGA framebuffer is at A000:0000, while 0xA0000000 is somewhere above 2GB in the address space! > How do I write the adress 0xF000FA6E for use with farnspeekb? You write F000:FA6E as 0xFFA6E. Martynas