>>clears unforunately the hole vid-mem, so no fonts after the stop routine
>>are available (yet).
>
>well, I just copy the font from Linux and store in byte array. and draw it
>pixel on the screen. I think that would be much more easy to do it.
>hm, What's vid-mem ? :o, I remember that font are stored in VGA.
>But I forget how to retrieve it from VGA. is there any Doc?
This is the way to retrieve it using the BIOS. This might prove to be a bit problematic in OS design, but solving this problem is left as an excersize for the reader ;-D
This info has been extracted from Ralf Brown's interrupt list, file inter60a.zip available through ftpsearch.lycos.com ....
Hope it helps someone somewhere ...
Ranieri
--------V-101130-----------------------------
INT 10 - VIDEO - GET FONT INFORMATION (EGA, MCGA, VGA)
Return: ES:BP = specified pointer
Note:
BUG:
SeeAlso: AX=1100h,AX=1103h,AX=1120h,INT 1F"SYSTEM DATA",INT 43"VIDEO DATA"
Format of alternate font table [array]:
Offset
00h
01h N BYTEs
--------V-101130BX4D4F-----------------------
_______________________________________________ Kernel maillist - [EMAIL PROTECTED] http://jos.org/mailman/listinfo/kernel