.SendDashImageToPPU LDA #HI(16*69) ; Set PPU_ADDR to the address of pattern 69 in pattern STA PPU_ADDR ; table 0 LDA #LO(16*69) STA PPU_ADDR LDA #HI(dashImage) ; Set V(1 0) = dashImage STA V+1 ; LDA #LO(dashImage) ; So we can unpack the image data for the dashboard into STA V ; into patterns 69 to 255 in pattern table 0 JMP UnpackToPPU ; Unpack the image data to the PPU, returning from the ; subroutine using a tail callName: SendDashImageToPPU [Show more] Type: Subroutine Category: PPU Summary: Unpack the dashboard image and send it to patterns 69 to 255 in pattern table 0 in the PPU Deep dive: Views and view types in NES EliteContext: See this subroutine in context in the source code References: This subroutine is called as follows: * ResetScreen calls SendDashImageToPPU * SendViewToPPU calls SendDashImageToPPU
[X]
Configuration variable PPU_ADDR = $2006
The PPU address register, which is used to set the destination address within the PPU when sending data to the PPU
[X]
Subroutine UnpackToPPU (category: Utility routines)
Unpack compressed image data and send it to the PPU
[X]
Variable dashImage (category: Dashboard)
Packed image data for the dashboard