home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / msdos / programm / 2698 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.2 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!wariat!erica
  2. From: erica@wariat.org (Lady of the BitMode)
  3. Newsgroups: alt.msdos.programmer
  4. Subject: Turbo-C bitmap format
  5. Message-ID: <1992Nov10.011711.17155@wariat.org>
  6. Date: 10 Nov 92 01:17:11 GMT
  7. Distribution: usa
  8. Organization: Akademia Pana Kleksa, Public Access Uni* Site
  9. Lines: 17
  10.  
  11.  
  12. Hello. I'm using Turbo-C 3.0 soon tobe using 3.1. I've been playing with
  13. graphics and want to now the format of a turbo-c bitmap produced by getimage()
  14. function. I know that the must specify the mask map for colors and also
  15. the bit configuration. But DO they have to specified the color for each bit ?
  16. If so, the an image of 8 x 8 pixels would require:
  17. 8 * 8 bits * 4 bits = 256bits = 32bytes 
  18. But in order to address a particular bit it appear to that they would
  19. have to do so shifting and also set each bit a time, this would entail
  20. 256 calls to outport command to 256 access to register and or memory data.
  21. THis doesn't sound very efficient to me. Is, there a better way or is that 
  22. just what the people at Borland do?  I'm very curious to know how they, and
  23. you, do this.
  24.  
  25. Thankyou:
  26.  
  27. Erica C. Ramsey
  28.