Article View: comp.os.msdos.programmer
Article #658Re: How to a print *really* big letters?
From: Jeremy Brown
Date: Fri, 10 Apr 1992 14:53
Date: Fri, 10 Apr 1992 14:53
38 lines
1835 bytes
1835 bytes
In article <phil.702787613@adam.adelaide.edu.au> phil@adam.adelaide.edu.au (Phil Kernick) writes:
>I need to be able to display a large character (one of the standard ASCII
>set) in the middle of a VGA display.
>This does not sound like it should be too difficult, but up to now, I have
>not been able to find a way to do it, without having to define all of the
>character set myself.
>I was hoping to be able to use TurboPascal6.0, but the font support is only
>vector, so while I can draw big characters, they are not solid - which I
>require for my application.
>I have already grepped through the simtel archive, and cannot find anything
>like this.
If you have an EGA/VGA card you could try the following :-
Entry:
AH = 11H, AL = 30H
BL = 0 - Contents of vector 1FH
1 - Contents of vector 43H
2 - Address of ROM 8 x 14 font
3 - Address of ROM 8 x 8 font
4 - Address of second half of ROM 8 x 8 font
5 - Address of ROM 9 x 14 alternate font
6 - Address of ROM 8 x 16 font
7 - Address of ROM 9 x 16 alternate font
Exit:
ES:BP - Address required
CX - Height of matrix
DL - Rows minus one
Now you can decode the font and display it on the screen as you want.
I used this technique for displaying large letters on the screen and
waiting for the user to press the coressponding key.
Hope this helps.
Jeremy
Technical Details
Message-ID:
<jb.702917630@materna>Path:
arc1-ca.pugleaf.net!sparky!news.UU.NET!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!unido!materna!jbReferences:
<phil.702787613@adam.adelaide.edu.au> <1992Apr9.201124.21777@uwasa.fi>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!unido!materna!jb From: jb@Materna.DE (Jeremy Brown) Newsgroups: comp.os.msdos.programmer Subject: Re: How to a print *really* big letters? Message-ID: <jb.702917630@materna> Date: 10 Apr 92 14:53:50 GMT References: <phil.702787613@adam.adelaide.edu.au> <1992Apr9.201124.21777@uwasa.fi> Sender: root@maternaMaterna.DE Lines: 38