[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fill Maze



In article <19630@mindlink.bc.ca> Clayten_Hamacher@mindlink.bc.ca (Clayten Hamacher) writes:
>I used to have docs for Fill Maze which described the method of drawing an
>entire line with one 'command'. Does someone have these docs or a text on
>doing this in general? P.S. What apple manual would this be in?

	I don't think there is a specific call that he is talking
about.  I think what he meant was he unrolled the line loop.  So
instead of drawing the line 1 point at a time, and comparing to an end
condition and branching back up to the pixel plot, he just had xx
number of lda, sta combinations.  Which basically reduces the overhead
of having a loop and a counter.  The lda, sta combinations address's would be
at hardcoded screen offsets.

>Clayten_Hamacher@Mindlink.bc.ca                 Land of the rising snow.

Steven Chiang                  Order - DreamGrafix:  The ONLY 16/256/3200
stc7@cunixb.cc.columbia.edu       color paint program for the Apple IIGS.
America On_Line:  DWS Steve
Genie:  S.Chiang4              Apple IIGS Forever!