🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.msdos.programmer
1 messages
1 total messages Started by Lady of the BitMode Tue, 10 Nov 1992 01:17
Turbo-C bitmap format
#616
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads