.ResetBank PLA ; Retrieve the ROM bank number from the stack into A ; Fall through into SetBank to page ROM bank A into ; memory at $8000Name: ResetBank [Show more] Type: Subroutine Category: Utility routines Summary: Retrieve a ROM bank number from the stack and page that bank into memory at $8000 Deep dive: Splitting NES Elite across multiple ROM banksContext: See this subroutine in context in the source code References: This subroutine is called as follows: * BEEP_b7 calls ResetBank * ChangeCmdrName_b6 calls ResetBank * ChangeToView_b0 calls ResetBank * CheckSaveSlots_b6 calls ResetBank * ChooseLanguage_b6 calls ResetBank * ChooseMusic_b6 calls ResetBank * CHPR_b2 calls ResetBank * CIRCLE2_b1 calls ResetBank * ClearDashEdge_b6 calls ResetBank * ClearScreen_b3 calls ResetBank * CLIP_b1 calls ResetBank * DASC_b2 calls ResetBank * DETOK_b2 calls ResetBank * DIALS_b6 calls ResetBank * DrawBackground_b3 calls ResetBank * DrawBigLogo_b4 calls ResetBank * DrawCmdrImage_b6 calls ResetBank * DrawDashNames_b3 calls ResetBank * DrawEquipment_b6 calls ResetBank * DrawImageFrame_b3 calls ResetBank * DrawImageNames_b4 calls ResetBank * DrawLaunchBox_b6 calls ResetBank * DrawLightning_b6 calls ResetBank * DrawScreenInNMI_b0 calls ResetBank * DrawSmallBox_b3 calls ResetBank * DrawSmallLogo_b4 calls ResetBank * DrawSpriteImage_b6 calls ResetBank * DrawSystemImage_b3 calls ResetBank * DTS_b2 calls ResetBank * ex_b2 calls ResetBank * FadeToBlack_b3 calls ResetBank * FadeToColour_b3 calls ResetBank * GetCmdrImage_b4 calls ResetBank * GetHeadshot_b4 calls ResetBank * GetHeadshotType_b4 calls ResetBank * GetSystemBack_b5 calls ResetBank * GetSystemImage_b5 calls ResetBank * HALL_b1 calls ResetBank * HideFromScanner_b1 calls ResetBank * InputName_b6 calls ResetBank * JAMESON_b6 calls ResetBank * LL164_b6 calls ResetBank * LL9_b1 calls ResetBank * LoadHighFont_b3 calls ResetBank * LoadNormalFont_b3 calls ResetBank * MakeSounds_b6 calls ResetBank * MVS5_b0 calls ResetBank * PAS1_b0 calls ResetBank * PauseGame_b6 calls ResetBank * PDESC_b2 calls ResetBank * PrintCtrlCode_b0 calls ResetBank * ResetCommander_b6 calls ResetBank * ResetScanner_b3 calls ResetBank * ResetScreen_b3 calls ResetBank * SCAN_b1 calls ResetBank * SendBitplaneToPPU_b3 calls ResetBank * SendViewToPPU_b3 calls ResetBank * SetBank calls ResetBank * SetDemoAutoPlay_b5 calls ResetBank * SetKeyLogger_b6 calls ResetBank * SetLinePatterns_b3 calls ResetBank * SetupAfterLoad_b0 calls ResetBank * SetupIconBar_b3 calls ResetBank * SetupViewInNMI_b3 calls ResetBank * SetViewAttrs_b3 calls ResetBank * ShowIconBar_b3 calls ResetBank * ShowScrollText_b6 calls ResetBank * SIGHT_b3 calls ResetBank * STARS_b1 calls ResetBank * StartEffect_b6 calls ResetBank * StopSounds_b6 calls ResetBank * SUN_b1 calls ResetBank * SVE_b6 calls ResetBank * TIDY_b1 calls ResetBank * TT24_b6 calls ResetBank * TT27_b2 calls ResetBank * TT66_b0 calls ResetBank * UpdateIconBar_b3 calls ResetBank * UpdateView_b0 calls ResetBank
Arguments: Stack The number of the ROM bank to page into memory at $8000