Skip to navigation

Screen buffer: ShowIconBuffer

Name: ShowIconBuffer [Show more] Type: Subroutine Category: Screen buffer Summary: Display the redrawn icon and scanner row by copying the contents of the icon screen buffer into screen memory
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * ClearIconsScanner calls ShowIconBuffer * IRQHandler calls ShowIconBuffer * UpdateIconsScanner calls ShowIconBuffer
.ShowIconBuffer LDA #HI(iconBuffer) \ Set fromAddr(1 0) = iconBuffer(1 0) STA fromAddr+1 \ LDA #LO(iconBuffer) \ So the call to ShowBufferRow copies from the icon STA fromAddr \ screen buffer, which contains the redrawn icon and \ scanner row LDA iconRowAddr+1 \ Set toAddr(1 0) = iconRowAddr(1 0) STA toAddr+1 \ LDA iconRowAddr \ So the call to ShowBufferRow copies from the icon STA toAddr \ screen buffer into the screen memory for the icon and \ scanner row at the top of the screen JMP ShowBufferRow \ Jump to ShowBufferRow to copy the contents of the \ icon screen buffer into screen memory