ascii characters video displaying on tv screen

This is a discussion on ascii characters video displaying on tv screen within the C Programming forums, part of the General Programming Boards category; how can i know 1)how many bits are corresponding to length of a non-monospaced characters(let's say "i" and "m",they don't ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    20

    ascii characters video displaying on tv screen

    how can i know
    1)how many bits are corresponding to length of a non-monospaced
    characters(let's say "i" and "m",they don't have same length on the screen)
    2)the position of first bit of every line of a character in a nonmonospaced characters file.in a monospaced characters file it's easy to calculate because every character line has 1 byte length(the files are matrixes 256*nr_lines/char bytes bitmapping);
    i need this for making a hardware which inserts characters generated from a mono- or nonmono- spaced characters file in tv video signal.So, if the length of every char is different how can i do this in C , because the data in PC,external hardware parallel static RAM, C variables are represented on multiples of a byte.I must represent them in a video line as a continuous data string,the characters must be concatenated no matter of their bit length(without spaces at tick characters- display way is something similar with normal PC monitors)

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,701
    I have no idea what you are asking.......

    If you need to find the baseline and pixel width of a character using a particular font, then you need so state what OS/compiler you are using.

    gg

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    20
    the idea is to display in a tv line a set of characters, but the displaying is hardware made(for speed reasons),and this hardware(external static ram) is programmed by software .he contains bits of every character displayed in order in every tv monitor line.i ust read from memory bit by bit and inserting them in tv video signal.if you have some hardware knowledge about pc monitors it would be easy for you to help me.

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,701
    So each "bit" in the "external static ram" represent a pixel on the TV that is either white or black?

    gg

  5. #5
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,175
    Are you referring to "bit" as a "Binary digIT" or are you just saying "a bit of the TV scanline" like "a small chunk of it"? Because from what I know, binary digits have nothing to do with TV scanlines.
    If you understand what you're doing, you're not learning anything.

  6. #6
    Registered User
    Join Date
    May 2004
    Posts
    20

    continue

    you both have right.it depends on how fast are read the pixel from external ram.i want to do the folowing:let;s suppose that
    the characters heave each a different number of pixels for each tv line( for ex. 3,1,1 when i make the add, it's diferent from n*8 bits,n integer), but i must store these bits in a memory location(or if you want, in a table) which is organized in a multiple of a byte(8,16,32)one near the other.then from memory i load these trough lpt(data-1 byte) in external ram .the problem is that i don't know how the characters pixels are mapped in a cpi file.(it;s not like in a .fnt file)

  7. #7
    Registered User
    Join Date
    Jun 2004
    Posts
    722
    This website has the answer you want. Have fun!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Displaying Extended ASCII
    By JMJ_coder in forum C Programming
    Replies: 2
    Last Post: 10-07-2008, 09:35 AM
  2. Encoding charset to use card suits ASCII characters
    By Nazgulled in forum C Programming
    Replies: 23
    Last Post: 06-10-2007, 07:19 PM
  3. Getting characters FROM screen
    By Trauts in forum C++ Programming
    Replies: 8
    Last Post: 03-18-2003, 11:22 AM
  4. Console Screen Buffer
    By GaPe in forum Windows Programming
    Replies: 0
    Last Post: 02-06-2003, 05:15 AM
  5. reading files and displaying them on screen
    By kendals in forum C Programming
    Replies: 4
    Last Post: 03-29-2002, 05:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21