flat assembler
Message board for the users of flat assembler.
Index
> DOS > Mode 13h and ROM Fonts ? |
Author |
|
AsmGuru62 06 Sep 2013, 01:40
Try this resource:
http://stanislavs.org/helppc/bios_data_area.html If you scroll down to the very bottom -- you may find the location of DOS Font. |
|||
06 Sep 2013, 01:40 |
|
SeproMan 06 Sep 2013, 20:55
Kuemmel,
First use this code to retrieve a pointer to the 8x16 systemfont. You get this information irrespective of the current video mode! (Use bh=2 to locate the 8x14 font) mov ax,1130h mov bh,6 int 10h You will get output in CX=16, DL and ES:BP At ES:BP there sits a table of 256 packets of 16 bytes. Each packet represents an ASCII character. The 1st byte of each packet defines the topline of the character whereas the 16th byte defines its bottomline. Within every byte bit 7 defines the leftmost pixel on screen and bit 0 defines the rightmost pixel on screen. All in all it's a very straightforward format. Good luck! _________________ Real Address Mode. |
|||
06 Sep 2013, 20:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.