🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #616

Turbo-C bitmap format

#616
From: Lady of the BitMode
Date: Tue, 10 Nov 1992 01:17
17 lines
1256 bytes
Hello. I'm using Turbo-C 3.0 soon tobe using 3.1. I've been playing with
graphics and want to now the format of a turbo-c bitmap produced by getimage()
function. I know that the must specify the mask map for colors and also
the bit configuration. But DO they have to specified the color for each bit ?
If so, the an image of 8 x 8 pixels would require:
8 * 8 bits * 4 bits = 256bits = 32bytes 
But in order to address a particular bit it appear to that they would
have to do so shifting and also set each bit a time, this would entail
256 calls to outport command to 256 access to register and or memory data.
THis doesn't sound very efficient to me. Is, there a better way or is that 
just what the people at Borland do?  I'm very curious to know how they, and
you, do this.

Thankyou:

Erica C. Ramsey
Technical Details
Message-ID: <1992Nov10.011711.17155@wariat.org>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
From: erica@wariat.org (Lady of the BitMode)
Newsgroups: alt.msdos.programmer
Subject: Turbo-C bitmap format
Message-ID: <1992Nov10.011711.17155@wariat.org>
Date: 10 Nov 92 01:17:11 GMT
Distribution: usa
Organization: Akademia Pana Kleksa, Public Access Uni* Site
Lines: 17