stevens@hsi.UUCP (Richard Stevens) (11/11/87)
The following code is from the etch-a-sketch program from
The Store. Basically the program keeps a bit map in memory,
writing to the screen as necessary. The comment on the declaration
for bmdumb[] puzzles me - is this extrnaeous array allocated
space to correct some early problem with the wrastop() operation
on the UNIX PC ?? Only the first 2 arrays are needed, so I'd
guess the extra one is a workaround for some bug ??
unsigned short bitmap[WINHEIGHT][WINSWIDTH];
unsigned short bmsave[WINHEIGHT][WINSWIDTH];
unsigned short bmdumb[WINHEIGHT][WINSWIDTH]; /*Without this rubber() fails */
If this is so, anyone know if the bug has been fixed, now that
the system is over 2 years old ??
Richard Stevens
Health Systems International, New Haven, CT
{ uunet | ihnp4 } ! hsi ! stevens