.SetupPPUForIconBar PHA ; Store the value of A on the stack so we can retrieve ; it below SETUP_PPU_FOR_ICON_BAR ; If the PPU has started drawing the icon bar, configure ; the PPU to use nametable 0 and pattern table 0 PLA ; Retrieve the value of A from the stack so it is ; unchanged RTS ; Return from the subroutineName: SetupPPUForIconBar [Show more] Type: Subroutine Category: PPU Summary: If the PPU has started drawing the icon bar, configure the PPU to use nametable 0 and pattern table 0, while preserving A Deep dive: The split-screen mode in NES EliteContext: See this subroutine in context in the source code References: This subroutine is called as follows: * BR1 calls SetupPPUForIconBar * BuyAndSellCargo calls SetupPPUForIconBar * ClearDashEdge calls SetupPPUForIconBar * CLYNS calls SetupPPUForIconBar * CopyCommanderToBuf calls SetupPPUForIconBar * CopyNameBuffer0To1 calls SetupPPUForIconBar * DrawImageFrame calls SetupPPUForIconBar * DrawScreenInNMI calls SetupPPUForIconBar * DrawSmallBox calls SetupPPUForIconBar * DrawSpaceViewInNMI calls SetupPPUForIconBar * Main flight loop (Part 3 of 16) calls SetupPPUForIconBar * MoveInLeftColumn calls SetupPPUForIconBar * MoveInMiddleColumn calls SetupPPUForIconBar * MoveInRightColumn calls SetupPPUForIconBar * NLIN2 calls SetupPPUForIconBar * PAUSE2 calls SetupPPUForIconBar * PrintEquipment calls SetupPPUForIconBar * qv calls SetupPPUForIconBar * RemoveShip calls SetupPPUForIconBar * SFS1 calls SetupPPUForIconBar * TITLE calls SetupPPUForIconBar * TT151 calls SetupPPUForIconBar * TT167 calls SetupPPUForIconBar * TT26 calls SetupPPUForIconBar * WaitForNoDirection calls SetupPPUForIconBar * ZERO calls SetupPPUForIconBar
[X]
Macro SETUP_PPU_FOR_ICON_BAR (category: PPU)
If the PPU has started drawing the icon bar, configure the PPU to use nametable 0 and pattern table 0