home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11819 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.2 KB

  1. Path: sparky!uunet!olivea!charnel!rat!zeus!tcobbs
  2. From: tcobbs@zeus.calpoly.edu (Travis Cobbs)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Which TEXT mode FONT chars abut? (touch?)
  5. Message-ID: <1993Jan06.081129.111005@zeus.calpoly.edu>
  6. Date: 6 Jan 93 08:11:29 GMT
  7. References: <C0CEJ7.102@news.cso.uiuc.edu>
  8. Organization: California Polytechnic State University, San Luis Obispo
  9. Lines: 35
  10.  
  11. In article <C0CEJ7.102@news.cso.uiuc.edu> amead@s.psych.uiuc.edu (Alan Mead) writes:
  12. >I redefined some text mode characters.  One is like ASCII 196 (a long
  13. >"hyphen" that stretchs the length of the character cell) but is
  14. >supposed to occupy only the bottom row of the definition (unlike 196
  15. >which, roughly, lies on the middle row).
  16. >
  17. >But one of the end columns won't display--resulting in a dashed, instead
  18. >of solid, line when I write a string of these.
  19. >
  20. >I dimly recall that only certain charcters can be defined as line
  21. >characters, but I've tried redefining 184, 189, and 190 and none of
  22. >them work.
  23. >
  24. >Thnaks for any help.
  25. >
  26. >-alan mead
  27.  
  28.  
  29. One quick addendum, then (hopefully) an answer.  The dashed output only occurs
  30. on a VGA.  The VGA has a 9x16 character size, while EGA has 8x14.  Since
  31. you're using the bottom of the character, though, it probably won't be visible
  32. at all on an EGA, so it's probably academic.
  33.  
  34. On a VGA, certain characters are special, as you surmised.  Those characters
  35. have the following property:  if the 8th pixel is on, the ninth for that row
  36. is also on.  The characters you can choose from are: 192-216, 218-220, and 223
  37. (ASCII).  These are the line draw characters which go all the way to the right
  38. hand side.  Sorry if I missed any.  By the way, if anyone knows of a way to
  39. add to the list of these, please post.
  40. +-----------------------------------+------------------------------------------+
  41. |                      Travis Cobbs | When you have to kill a man, it costs    |
  42. |           tcobbs@nike.calpoly.edu | nothing to be polite.                    |
  43. |       tcobbs@morpheus.calpoly.edu |   --Winston Churchill, On formal         |
  44. |    tcobbs@polyslo.csc.calpoly.edu |     declarations of war                  |
  45. +-----------------------------------+------------------------------------------+
  46.