Skip to navigation

Screen buffer: SetColumnBufferMax

Name: SetColumnBufferMax [Show more] Type: Subroutine Category: Screen buffer Summary: Set the maximum and minimum pitch angles for the column buffer
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * PanLandscapeView calls SetColumnBufferMax * ResetTilesObjects calls SetColumnBufferMax
.SetColumnBufferMax LDY #1 \ Set Y = 1 so we set the maximum and minimum pitch \ angles for the column buffer when we jump to rbuf1 BNE rbuf1 \ Jump to rbuf1 to set the maximum and minimum pitch \ angles for the column buffer and return from the \ subroutine using a tail call (this BNE is effectively \ a JMP as Y is never zero)