Skip to navigation

Screen buffer: UseRowBuffer

Name: UseRowBuffer [Show more] Type: Subroutine Category: Screen buffer Summary: Configure the row buffer for use
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * PanLandscapeView calls UseRowBuffer * SetColumnBufferMax calls via rbuf1

Other entry points: rbuf1 Set the minimum and maximum pitch angled for the buffer type specified in Y (0 = row buffer, 1 = column buffer)
.UseRowBuffer LDA #0 \ Call ConfigureBuffer with A = 0 to set up the screen JSR ConfigureBuffer \ buffer for use as a row buffer LDY #0 \ Set Y = 0 so we set the maximum and minimum pitch \ angles for the row buffer in the following .rbuf1 LDA bufferMaxPitch,Y \ Set maxPitchAngle to the maximum pitch angle allowed STA maxPitchAngle \ in the buffer specified in Y LDA bufferMinPitch,Y \ Set minPitchAngle to the minimum pitch angle allowed STA minPitchAngle \ in the buffer specified in Y RTS \ Return from the subroutine