BIOS font

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
MB
Posts: 4
Joined: Sun Oct 24, 2004 11:00 pm

BIOS font

Post by MB »

How I can change BIOS font in my OS for view text with special chars (ex. German, Russian, Polish...)?
[AlAdDiN]
Member
Member
Posts: 107
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re: BIOS font

Post by [AlAdDiN] »

i think u must redefine (redraw) the character map .
-----------------------
There are 10 types of people in this world... those that understand binary, and those that don't.
cipek
Member
Member
Posts: 43
Joined: Mon Oct 25, 2004 11:00 pm
Location: Poland

Re: BIOS font

Post by cipek »

You can download source of FDOS from http://www.fdos.de may be you will found here somothing about it :)
MB
Posts: 4
Joined: Sun Oct 24, 2004 11:00 pm

Re: BIOS font

Post by MB »

Have you anything in C??
Anton
Member
Member
Posts: 30
Joined: Thu Oct 21, 2004 11:00 pm
Location: Moscow, Russian Federation

Re: BIOS font

Post by Anton »

MB wrote:Have you anything in C??
What do you mean by saying "in C"? All you need to know is the "magic" address, and the way characters are stored in memory. And then you could write to that memory using C, C++, Pascal, asm, ....
Anton.
d11in
Posts: 1
Joined: Tue Dec 14, 2004 12:00 am

Re: BIOS font

Post by d11in »

MB wrote:How I can change BIOS font in my OS for view text with special chars (ex. German, Russian, Polish...)?
yes you can but not exactly (sorry), you have to rewrite a charcater map, you should be able to overwrite the characters map pointer (is readonly memory) to your own map... i guess it worked (an old pascal project reminds me ;)
Last edited by d11in on Tue Dec 14, 2004 12:00 am, edited 1 time in total.
MB
Posts: 4
Joined: Sun Oct 24, 2004 11:00 pm

Re: BIOS font

Post by MB »

Do you have anything about rewriting character map. Maby some code...
Anton
Member
Member
Posts: 30
Joined: Thu Oct 21, 2004 11:00 pm
Location: Moscow, Russian Federation

Re: BIOS font

Post by Anton »

MB wrote:Do you have anything about rewriting character map. Maby some code...
A character map is black and white bit map.
Instead of explaining i will give you an example.
Characters 8x16(that is 8 width and 16 height)
consists on 16 bytes.(each scan line(of 8 bits) is a byte)
So, the character map contains such data for all characters(BTW if you don't need blinking text, then you can use 512 characters :) )
I don't know where exactly this map is located, but someting like c8000 or c0000. :)

Anton.
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Re: BIOS font

Post by JAAman »

that is the address of the video BIOS (which prob contains it) you cannot write to it so there has to be a pointer to find it in rm that pointer was the int 1F(iirc) pointer but in pm it would have to be in a hardware register
User avatar
gaf
Member
Member
Posts: 349
Joined: Thu Oct 21, 2004 11:00 pm
Location: Munich, Germany

Re: BIOS font

Post by gaf »

Hello
Chapter 10 from the vgaguide is about this topic.

http://alexfru.narod.ru/miscdocs/ega_vga/vgaguide.zip
(The server is not down - it just takes ages)

regards,
gaf
Post Reply