Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > Re: ASCII Symbo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 467 of 500
Post > Topic >>

Re: ASCII Symbols

by Peter 'Shaggy' Haywood <phaywood@[EMAIL PROTECTED] > Oct 19, 2007 at 04:18 PM

Groovy hepcat Andy Leese was jivin' in alt.msdos.programmer on Thu, 18
Oct 2007 8:05 pm. It's a cool scene! Dig it.

> ASCII Symbols
> 
> I am programming for DOS using Borland C++ and  wish to display the
> symbols of the early ASCII character set...
> 
> For example:
> 
>   cprintf("%c",mychar[7]); // where mychar[7] is char(7)
> 
> This is assigned to the BELL signal and therefore sounds the beep and
> doesn't display the bullet point I require. Is there a way to display
> these symbols without allowing the operating system to 'interpret'
> them into the beep sound for whatever?

  There is no "bullet point" in ASCII. ASCII is a text character set
with some control characters. ASCII 7 is a control character intended,
as you have ascertained, to cause an audible tone to be generated.
  If you want to output something else, first you should understand that
the bullet glyph is part of the IBM Extended Character Set, not ASCII,
and that the way to display such a thing on your screen may depend on
the exact nature of your system and how you're displaying things on the
screen.
  But what I advise is to either use an INT 10H BIOS call (See Ralf
Brown's Interrupt List.) or access video RAM directly.

-- 
                 Dig the sig!

----------- Peter 'Shaggy' Haywood ------------
              Ain't I'm a dawg!!
 




 2 Posts in Topic:
ASCII Symbols
"Andy Leese" &l  2007-10-18 11:05:41 
Re: ASCII Symbols
Peter 'Shaggy' Haywood &l  2007-10-19 16:18:25 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:52:36 CDT 2008.