home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12294 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.6 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!materna!zeus!jrb
  2. From: jrb@Materna.DE (Jeremy Brown)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: COMPLETELY amazed! How is it done?
  5. Message-ID: <jrb.727618960@zeus>
  6. Date: 21 Jan 93 12:22:40 GMT
  7. References: <C16zAy.KIz@news.cso.uiuc.edu>
  8. Sender: root@maternaMaterna.DE
  9. Lines: 49
  10.  
  11. amead@s.psych.uiuc.edu (Alan Mead) writes:
  12.  
  13. >I thought I knew a thing or two about how VGA fonts work on the IBM
  14. >PC...
  15.  
  16. >Then I happened to invoke a little programmer's tsr while in WordPerfect
  17. >5.1 .  All the letters that the tsr used were strange greek, foreign,
  18. >etc, symbols.  (This is while the prefectly normal charscters show on
  19. >the screen.)
  20.  
  21. >I know how to change a font, but how do you make more than 256
  22. >different chars appear on the screen?  And why would WordPerfect remap
  23. >the normal a..zA..Z to something else?
  24.  
  25. >Thanks.  I'll be able to sleep again when I know.
  26.  
  27. >-alan
  28.  
  29. Hi All,
  30.  
  31. One way is to tell the EGA/VGA card that when the intensified attribute
  32. is set it should display the character from the second character set.
  33.  
  34.   AX = 1103      ; intensified == 2nd character set
  35.   BL = 04
  36.   INT 10
  37.  
  38.   AX = 1000      ; Enable all planes
  39.   BX = 0712
  40.   INT 10
  41.  
  42. To disable (ie intensified is really intensified)
  43.  
  44.   AX = 1000
  45.   BX = 0F12
  46.   INT 10
  47.  
  48. If you can find a copy "PC Magazine September 16, 1986" had an articule
  49. by Charles Petzold explaining the above techniques.
  50.  
  51. Hope this helps,
  52.  
  53. Jeremy
  54.  
  55. --
  56. Jeremy Brown                      EMAIL: jb@materna.de
  57. Dr Materna GmbH                   Tele : +49 231 5599301
  58. Vosskuhle 37                      Fax  : +49 231 5599100
  59. 4600 Dortmund 1  Germany          Home : +49 231 416655
  60.