Skip to navigation


Drawing ships: DrawShipInBitplane

[NES version, Bank 7]

Name: DrawShipInBitplane [Show more] Type: Subroutine Category: Drawing ships Summary: Flip the drawing bitplane and draw the current ship in the newly flipped bitplane
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * BRIEF calls DrawShipInBitplane * ESCAPE calls DrawShipInBitplane * PAS1 calls DrawShipInBitplane * TITLE calls DrawShipInBitplane
.DrawShipInBitplane JSR FlipDrawingPlane ; Flip the drawing bitplane so we draw into the bitplane ; that isn't visible on-screen JSR LL9_b1 ; Draw the current ship into the newly flipped drawing ; bitplane ; Fall through into DrawBitplaneInNMI to configure the ; NMI to send the drawing bitplane to the PPU