[comp.sys.ibm.pc.programmer] creating a new character

ccastjb@prism.gatech.EDU (Joubert Berger) (02/25/90)

I am in some help creating a new character.  I am using a VGA card, but
this would also have to work with EGA.  I know that interrupt 10H,
service 11H, subservice 0 will allow me to do this.  But I have not
been able to get this to work.  I know this is possible because I found
a program called vfont that changes the text fonts.  But there is no
source to this.  Could anyone give me an exampe of how to do this.  I have
been strugling with this for quit some time and I need to get on with the
project.  
       Joubert

-- 
Joubert Berger                    | uucp:  ...!{allegra,amd,hplabs,seismo,
Georgia Institute of Technology,  |             ut-ngp}!gatech!prism!ccastjb
P.O.Box 36152                     | ARPA:  ccastjb@prism.gatech.edu
Atlanta Georgia, 30332            | 

ts@uwasa.fi (Timo Salmi LASK) (02/25/90)

In article <6367@hydra.gatech.EDU> ccastjb@prism.gatech.EDU (Joubert Berger) writes:
>I am in some help creating a new character.  I am using a VGA card, but
>this would also have to work with EGA.  I know that interrupt 10H,

There is a Turbo Pascal book by Kent Porter that includes some
information on customizing charcters.

...................................................................
Prof. Timo Salmi        (Moderating at anon. ftp site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun

gray@strawberry.it.udel.edu (Scott Gray) (02/27/90)

  ccastjb@prism.gatech.EDU (Joubert Berger) writes:

> I am in some help creating a new character.  I am using a VGA card, but
> this would also have to work with EGA.  I know that interrupt 10H,
> service 11H, subservice 0 will allow me to do this.  But I have not

Actually, I don't know if vfont ALSO works on the EGA, but then I have never
tested it on an EGA.

Anyway, if you want your character sets to work on both EGA and VGA you 
will have to suffer with the EGA charater sizes. Since I haven't typed in
any of the listings I have I can't include then with this file but I can
give you an excellent reference for this sort of thing.  Try
    "Programmer's Guide to PC & PS/2 Video Systems" by Richard Wilton.
     published by Microsoft Press ISBN 1-55615-103-9
Be forwarned though, this book is for people that are at least slightly
familiar with assembly language, but even if you aren't the code that is
included is in the form to be included with Microsoft C (I suppose TC also)
as subroutines.

For those that are interested this book give some wonderful tricks to do
with the display and goes in depth into programming at the hardware level
and is a great technical reference.

                           -- Scott --


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+ SCOTT - gray@freezer.it.udel.edu  |  "I'm, BORED BORED BORED BORED!"        +
+      or  god@vax1.acs.udel.edu    |                 - Vivian                +
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-