trolly wrote:also why do you copy the font to 0xa0000 and not 0x0000?000b -- Select font residing at 0000h - 1FFFh
Why do I get the idea you have no clue as to how a VGA's video memory works? There have been links posted to freevga all over the place already. I'll just add:trolly wrote:maybe the problem is that the sequencer copy only One byte on Two
VGA Hardware
The VGA has four banks, each have 64k of memory. In alpha mode, the first bank holds the character, the second the color. The third bank contains the font, but due to the addressing mode (odd/even), it can't normally be written. You have to change the settings of the GC (which is responsible for transferring data between the CPU and video memory) to get access to this bank. After that, you are free to load any font. Next, you should restore the original mode to have text draw normally.
If after properly reading all the material thrown at you, this still sounds like abracadabra to you, try Mode 13 programming, then Mode-X programming first. That way you get access to video memory as it really is, so you can develop a sense for how things work. Also in a graphics mode you can visually check what's currently in video memory, whereas in alpha mode you don't have that direct mapping.
It's hardly ever right to copy code of which you do not understand how it works...