The hardware's I/O registers and their bits, as pret names them. More...
Go to the source code of this file.
Macros | |
| #define | REG_DISPCNT (*(volatile u16 *)0x04000000) |
| #define | REG_DISPSTAT (*(volatile u16 *)0x04000004) |
| #define | DISPSTAT_VBLANK_INTR 0x0008 |
| #define | DISPSTAT_HBLANK_INTR 0x0010 |
| #define | DISPSTAT_VCOUNT_INTR 0x0020 |
| #define | DISPSTAT_VCOUNT_LINE(line) |
| DISPSTAT's high byte: the line the VCount interrupt fires on (the LYC compare). | |
| #define | REG_VCOUNT (*(volatile u16 *)0x04000006) |
| #define | REG_BG1CNT (*(volatile u16 *)0x0400000a) |
| #define | REG_BG2CNT (*(volatile u16 *)0x0400000c) |
| #define | REG_BG3CNT (*(volatile u16 *)0x0400000e) |
| #define | BGCNT_PRIORITY(n) |
| #define | BGCNT_CHAR_BASE(block) |
| #define | BGCNT_MOSAIC 0x0040 |
| #define | BGCNT_256_COLORS 0x0080 |
| #define | BGCNT_SCREEN_BASE(block) |
| #define | BGCNT_WRAP 0x2000 |
| Affine backgrounds only: wrap around instead of showing the backdrop. | |
| #define | BGCNT_SIZE(n) |
| The background's size: for an affine one, 0 to 3 are 128, 256, 512 and 1024 pixels square. | |
| #define | REG_BG1HOFS (*(volatile u16 *)0x04000014) |
| #define | REG_BG1VOFS (*(volatile u16 *)0x04000016) |
| #define | REG_BG2HOFS (*(volatile u16 *)0x04000018) |
| #define | REG_BG2VOFS (*(volatile u16 *)0x0400001a) |
| #define | REG_BG3HOFS (*(volatile u16 *)0x0400001c) |
| #define | REG_BG3VOFS (*(volatile u16 *)0x0400001e) |
| #define | Q_8_8(n) |
| The BG2/BG3 affine matrix entries are signed 8.8 fixed point: texels stepped per screen pixel. | |
| #define | REG_BG2PA (*(volatile u16 *)0x04000020) |
| #define | REG_BG2PB (*(volatile u16 *)0x04000022) |
| #define | REG_BG2PC (*(volatile u16 *)0x04000024) |
| #define | REG_BG2PD (*(volatile u16 *)0x04000026) |
| #define | REG_BG2X (*(volatile s32 *)0x04000028) |
| #define | REG_BG2Y (*(volatile s32 *)0x0400002c) |
| #define | REG_BG3PA (*(volatile u16 *)0x04000030) |
| #define | REG_BG3PB (*(volatile u16 *)0x04000032) |
| #define | REG_BG3PC (*(volatile u16 *)0x04000034) |
| #define | REG_BG3PD (*(volatile u16 *)0x04000036) |
| #define | REG_BG3X (*(volatile s32 *)0x04000038) |
| #define | REG_BG3Y (*(volatile s32 *)0x0400003c) |
| #define | REG_WIN0H (*(volatile u16 *)0x04000040) |
| #define | REG_WIN1H (*(volatile u16 *)0x04000042) |
| #define | REG_WIN0V (*(volatile u16 *)0x04000044) |
| #define | REG_WIN1V (*(volatile u16 *)0x04000046) |
| #define | WIN_RANGE(start, end) |
| A REG_WINxH or REG_WINxV value: the window covers start up to, but not including, end. | |
| #define | REG_WININ (*(volatile u16 *)0x04000048) |
| #define | REG_WINOUT (*(volatile u16 *)0x0400004a) |
| #define | WININ_WIN0_BG0 0x0001 |
| #define | WININ_WIN0_BG1 0x0002 |
| #define | WININ_WIN0_BG2 0x0004 |
| #define | WININ_WIN0_BG3 0x0008 |
| #define | WININ_WIN0_OBJ 0x0010 |
| #define | WININ_WIN0_CLR 0x0020 |
| #define | WININ_WIN0_ALL 0x003f |
| #define | WININ_WIN1_BG0 0x0100 |
| #define | WININ_WIN1_BG1 0x0200 |
| #define | WININ_WIN1_BG2 0x0400 |
| #define | WININ_WIN1_BG3 0x0800 |
| #define | WININ_WIN1_OBJ 0x1000 |
| #define | WININ_WIN1_CLR 0x2000 |
| #define | WININ_WIN1_ALL 0x3f00 |
| #define | WINOUT_WIN01_BG0 0x0001 |
| #define | WINOUT_WIN01_BG1 0x0002 |
| #define | WINOUT_WIN01_BG2 0x0004 |
| #define | WINOUT_WIN01_BG3 0x0008 |
| #define | WINOUT_WIN01_OBJ 0x0010 |
| #define | WINOUT_WIN01_CLR 0x0020 |
| #define | WINOUT_WIN01_ALL 0x003f |
| #define | WINOUT_WINOBJ_BG0 0x0100 |
| #define | WINOUT_WINOBJ_BG1 0x0200 |
| #define | WINOUT_WINOBJ_BG2 0x0400 |
| #define | WINOUT_WINOBJ_BG3 0x0800 |
| #define | WINOUT_WINOBJ_OBJ 0x1000 |
| #define | WINOUT_WINOBJ_CLR 0x2000 |
| #define | WINOUT_WINOBJ_ALL 0x3f00 |
| #define | REG_MOSAIC (*(volatile u16 *)0x0400004c) |
| #define | REG_BLDCNT (*(volatile u16 *)0x04000050) |
| #define | BLDCNT_TGT1_BG0 0x0001 |
| #define | BLDCNT_TGT1_BG1 0x0002 |
| #define | BLDCNT_TGT1_BG2 0x0004 |
| #define | BLDCNT_TGT1_BG3 0x0008 |
| #define | BLDCNT_TGT1_OBJ 0x0010 |
| #define | BLDCNT_TGT1_BD 0x0020 |
| #define | BLDCNT_TGT1_ALL 0x003f |
| #define | BLDCNT_EFFECT_NONE 0x0000 |
| #define | BLDCNT_EFFECT_BLEND 0x0040 |
| weighted by REG_BLDALPHA | |
| #define | BLDCNT_EFFECT_LIGHTEN 0x0080 |
| towards white by REG_BLDY | |
| #define | BLDCNT_EFFECT_DARKEN 0x00c0 |
| towards black by REG_BLDY | |
| #define | BLDCNT_TGT2_BG0 0x0100 |
| #define | BLDCNT_TGT2_BG1 0x0200 |
| #define | BLDCNT_TGT2_BG2 0x0400 |
| #define | BLDCNT_TGT2_BG3 0x0800 |
| #define | BLDCNT_TGT2_OBJ 0x1000 |
| #define | BLDCNT_TGT2_BD 0x2000 |
| #define | BLDCNT_TGT2_ALL 0x3f00 |
| #define | REG_BLDALPHA (*(volatile u16 *)0x04000052) |
| #define | BLEND_ALPHA(top, bottom) |
| A REG_BLDALPHA value: top and bottom are the two targets' weights, out of 16. | |
| #define | REG_BLDY (*(volatile u16 *)0x04000054) |
| #define | BG_CANVAS_MAP ((volatile s16 *)0x06003800) |
| #define | REG_BG0HOFS ((void *)0x04000010) |
| #define | REG_DMA0 ((volatile u16 *)0x040000b0) |
| #define | REG_DMA3 ((volatile u32 *)0x040000d4) |
| #define | PLTT_BACKDROP (*(volatile u16 *)0x05000000) |
| #define | BG_PLTT ((volatile u16 *)0x05000000) |
| #define | BG_PLTT_COLOR(palette, color) |
| #define | OBJ_PLTT ((volatile u16 *)0x05000200) |
| #define | OBJ_PLTT_COLOR(palette, color) |
| #define | RGB(r, g, b) |
| A 15-bit colour from its red, green and blue levels (0 to 31 each), as the palette stores it: blue in the high bits. | |
| #define | BG_CHAR_BLOCK(n) |
| #define | BG_SCREEN_BLOCK(n) |
| #define | TILE_SIZE_4BPP 32 |
| #define | OBJ_VRAM0 0x06010000 |
| Sprite tile memory, as pret names it: the 32 KB from 0x06010000. | |
| #define | REG_TM3CNT (*(volatile u32 *)0x0400010c) |
| #define | REG_TM3CNT_H (*(volatile u16 *)0x0400010e) |
| #define | TIMER_INTR_ENABLE 0x0040 |
| TMxCNT_H flags, as pret names them. | |
| #define | TIMER_ENABLE 0x0080 |
| #define | REG_SIODATA32 ((volatile u32 *)0x04000120) |
| #define | REG_SIOCNT (*(volatile u32 *)0x04000128) |
| #define | REG_SIOCNT16 (*(volatile u16 *)0x04000128) |
| #define | REG_SIODATA8 (*(volatile u16 *)0x0400012a) |
| #define | REG_KEYINPUT (*(volatile u16 *)0x04000130) |
| #define | REG_KEYCNT (*(volatile u16 *)0x04000132) |
| #define | REG_RCNT (*(volatile u16 *)0x04000134) |
| #define | SIO_115200_BPS 0x0003 |
| #define | SIO_START 0x0080 |
| #define | SIO_32BIT_MODE 0x1000 |
| #define | SIO_MULTI_MODE 0x2000 |
| #define | SIO_INTR_ENABLE 0x4000 |
| #define | RCNT_SIO_MODE 0x0000 |
| RCNT's mode: 0 leaves the port to SIOCNT's serial modes; bit 15 alone makes it general-purpose pins. | |
| #define | RCNT_GPIO_MODE 0x8000 |
| #define | DMA_DEST_INC 0x0000 |
| #define | DMA_DEST_DEC 0x0020 |
| #define | DMA_DEST_FIXED 0x0040 |
| #define | DMA_DEST_RELOAD 0x0060 |
| #define | DMA_SRC_INC 0x0000 |
| #define | DMA_SRC_DEC 0x0080 |
| #define | DMA_SRC_FIXED 0x0100 |
| #define | DMA_REPEAT 0x0200 |
| #define | DMA_16BIT 0x0000 |
| #define | DMA_32BIT 0x0400 |
| #define | DMA_DREQ_ON 0x0800 |
| #define | DMA_START_NOW 0x0000 |
| #define | DMA_START_VBLANK 0x1000 |
| #define | DMA_START_HBLANK 0x2000 |
| #define | DMA_START_SPECIAL 0x3000 |
| #define | DMA_INTR_ENABLE 0x4000 |
| #define | DMA_ENABLE 0x8000 |
| #define | DMA_START_TIMING_DRQ_REPEAT (DMA_START_SPECIAL | DMA_DREQ_ON | DMA_REPEAT) |
| A DMA control's start timing (bits 12 and 13), cartridge request (bit 11) and repeat (bit 9): the bits cleared before a channel is stopped. | |
| #define | DMA_COPY_WORDS(n) |
| #define | DMA_COPY_HALFWORDS(n) |
| #define | DMA_HBLANK_HALFWORD_PER_LINE ((DMA_ENABLE | DMA_START_HBLANK | DMA_REPEAT | DMA_DEST_RELOAD) << 16 | 1) |
| #define | DMA_HBLANK_WORD_PER_LINE |
| #define | CPU_SET_SRC_FIXED 0x01000000 |
| BIOS CpuSet control flags, above its count. | |
| #define | CPU_SET_32BIT 0x04000000 |
| #define | OAM ((void *)0x07000000) |
| #define | OAM_SIZE 0x400 |
| OAM's size in bytes: 128 sprites of 8 bytes. | |
| #define | KEYS_MASK 0x3ff |
| #define | REG_BG0CNT (*(volatile u16 *)0x04000008) |
| #define | REG_BG0VOFS (*(volatile u16 *)0x04000012) |
| #define | REG_SOUNDCNT_H (*(volatile u16 *)0x04000082) |
| #define | SOUND_CGB_MIX_FULL 0x0002 |
| #define | SOUND_A_MIX_FULL 0x0004 |
| #define | SOUND_B_MIX_FULL 0x0008 |
| #define | SOUND_ALL_MIX_FULL (SOUND_CGB_MIX_FULL | SOUND_A_MIX_FULL | SOUND_B_MIX_FULL) |
| #define | SOUND_A_RIGHT_OUTPUT 0x0100 |
| #define | SOUND_A_LEFT_OUTPUT 0x0200 |
| #define | SOUND_A_TIMER_0 0x0000 |
| #define | SOUND_A_FIFO_RESET 0x0800 |
| #define | SOUND_B_RIGHT_OUTPUT 0x1000 |
| #define | SOUND_B_LEFT_OUTPUT 0x2000 |
| #define | SOUND_B_TIMER_0 0x0000 |
| #define | SOUND_B_FIFO_RESET 0x8000 |
| #define | REG_SOUNDBIAS (*(volatile u16 *)0x04000088) |
| #define | REG_FIFO_A (*(volatile u32 *)0x040000a0) |
| #define | REG_FIFO_B (*(volatile u32 *)0x040000a4) |
| #define | REG_DMA0SAD (*(volatile u32 *)0x040000b0) |
| #define | REG_DMA0DAD (*(volatile u32 *)0x040000b4) |
| #define | REG_DMA0CNT (*(volatile u32 *)0x040000b8) |
| #define | REG_DMA0CNT_H (*(volatile u16 *)0x040000ba) |
| #define | REG_DMA1SAD (*(volatile u32 *)0x040000bc) |
| #define | REG_DMA1DAD (*(volatile u32 *)0x040000c0) |
| #define | REG_DMA1CNT (*(volatile u32 *)0x040000c4) |
| #define | REG_DMA1CNT_H (*(volatile u16 *)0x040000c6) |
| #define | REG_DMA2SAD (*(volatile u32 *)0x040000c8) |
| #define | REG_DMA2DAD (*(volatile u32 *)0x040000cc) |
| #define | REG_DMA2CNT (*(volatile u32 *)0x040000d0) |
| #define | REG_DMA2CNT_H (*(volatile u16 *)0x040000d2) |
| #define | REG_DMA3SAD (*(volatile u32 *)0x040000d4) |
| #define | REG_DMA3DAD (*(volatile u32 *)0x040000d8) |
| #define | REG_DMA3CNT (*(volatile u32 *)0x040000dc) |
| #define | REG_DMA3CNT_H (*(volatile u16 *)0x040000de) |
| #define | REG_TM0CNT_L (*(volatile u16 *)0x04000100) |
| #define | REG_TM0CNT_H (*(volatile u16 *)0x04000102) |
| #define | REG_TM1CNT_L (*(volatile u16 *)0x04000104) |
| #define | REG_TM1CNT_H (*(volatile u16 *)0x04000106) |
| #define | REG_TM2CNT_L (*(volatile u16 *)0x04000108) |
| #define | REG_TM2CNT_H (*(volatile u16 *)0x0400010a) |
| #define | REG_IE (*(volatile u16 *)0x04000200) |
| #define | REG_IF (*(volatile u16 *)0x04000202) |
| #define | REG_WAITCNT (*(volatile u16 *)0x04000204) |
| #define | REG_IME (*(volatile u16 *)0x04000208) |
| #define | KEYCNT_SOFT_RESET 0xc00f |
| A, B, Select and Start. | |
| #define | KEYCNT_DISARMED 0xc3ff |
| Requires all ten keys together to prevent the reset chord retriggering it. | |
| #define | KEYCNT_SHOULDERS_WAKE 0xc300 |
| L and R, which wake the sleep. | |
| #define | KEYCNT_SLEEP_WAKE 0xc304 |
| #define | WAITCNT_GAME 0x4014 |
Enumerations | |
| enum | DisplayControl { DISPCNT_MODE_0 = 0x0000 , DISPCNT_MODE_1 = 0x0001 , DISPCNT_MODE_2 = 0x0002 , DISPCNT_OBJ_1D_MAP = 0x0040 , DISPCNT_BG0_ON = 0x0100 , DISPCNT_BG1_ON = 0x0200 , DISPCNT_BG2_ON = 0x0400 , DISPCNT_BG3_ON = 0x0800 , DISPCNT_OBJ_ON = 0x1000 , DISPCNT_WIN0_ON = 0x2000 , DISPCNT_WIN1_ON = 0x4000 , DISPCNT_OBJWIN_ON = 0x8000 } |
| enum | KeyMask { KEY_A = 0x001 , KEY_B = 0x002 , KEY_SELECT = 0x004 , KEY_START = 0x008 , KEY_RIGHT = 0x010 , KEY_LEFT = 0x020 , KEY_UP = 0x040 , KEY_DOWN = 0x080 , KEY_R = 0x100 , KEY_L = 0x200 , KEYS_HORIZONTAL = KEY_RIGHT | KEY_LEFT , KEYS_VERTICAL = KEY_UP | KEY_DOWN , KEYS_DPAD = KEYS_HORIZONTAL | KEYS_VERTICAL , KEYS_SHOULDERS = KEY_R | KEY_L } |
The hardware's I/O registers and their bits, as pret names them.
Definition in file io_reg.h.
| #define REG_DISPCNT (*(volatile u16 *)0x04000000) |
Definition at line 9 of file io_reg.h.
Referenced by BabiPalace_WakeFromFinalsDream(), Battle_RunEncounter(), BattleFx_BeginCanvasLayer(), BattleFx_ConfigureEffectDisplay(), BattleFx_EndCanvasLayer(), BattleFx_HideBg1AndRestoreBackdrop(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunAtalanta(), BattleFx_RunShatteringOpening(), BattleFx_SetupBlendedDisplay(), BattleFx_SetupCanvasTileMap(), BattleFx_StartWindowHBlankDma(), BattlePres_RunAttack(), BattlePres_RunEntryTransition(), BattlePres_RunMosaicFadeOut(), DebugBattle_ViewMessages(), DisplayScroll_RunSlideshow(), DisplayTransition_Start(), DisplayTransition_UpdateScanline(), DisplayTransition_UpdateScanlineTable(), Graphics_ApplyWindowBlendRegisters(), Graphics_ResetVramBlockAndReleaseHeapBlocks(), LuckyDice_Run(), Map_InitializePerspectiveScene(), Map_LoadLayeredScene(), Map_ShowWorldMap(), MapAnimation_ApplyAffineFrame(), Menu_RunCommandRow(), ObjectSystem_ResumeProjectionAndHideLayers(), ObjectSystem_SuspendProjectionAndShowSprites(), ReelGame_Run(), ReelGame_Start(), Runtime_BlankDisplayAndRun(), System_Initialize(), Title_LoadIntroBackgrounds(), Title_RevealScreen(), Title_ShowAnimatedSplash(), Title_ShowIntro(), Title_ShowSplashScreen(), Ui_RunIconMonitor(), WaitFrames(), and Water_FlickerOut().
| #define REG_DISPSTAT (*(volatile u16 *)0x04000004) |
Definition at line 10 of file io_reg.h.
Referenced by Runtime_InstallIwramAndIrqs(), and Runtime_SetIrqHandler().
| #define DISPSTAT_VBLANK_INTR 0x0008 |
Definition at line 13 of file io_reg.h.
Referenced by Runtime_SetIrqHandler().
| #define DISPSTAT_VCOUNT_LINE | ( | line | ) |
DISPSTAT's high byte: the line the VCount interrupt fires on (the LYC compare).
Definition at line 18 of file io_reg.h.
Referenced by Runtime_SetIrqHandler().
| #define REG_VCOUNT (*(volatile u16 *)0x04000006) |
Definition at line 19 of file io_reg.h.
Referenced by AudioEngine_SetPcmRate(), CrossboneIslePillarRooms_JitterBackgroundScroll(), DisplayTransition_UpdateScanline(), KolimaForestBend_ShakeLines(), TretTreeBranch_ApplyBg3ScrollAtScanline(), and WaitFrames().
| #define REG_BG1CNT (*(volatile u16 *)0x0400000a) |
Definition at line 20 of file io_reg.h.
Referenced by BattleBackground_Load(), BattleFx_RunBeamSequence(), BattleFx_RunParticleStreams(), BattleFx_RunRingAndSparkScene(), BattleFx_RunShatteringOpening(), BattleFx_SetupCanvasTileMap(), BattlePres_RunEntryTransition(), BattlePresentation_ConfigurePaletteFade(), Graphics_SetBg1Priority0(), Graphics_SetBg1Priority3(), LemurianShip_SetupScene(), LuckyDice_Run(), Map_InitializePerspectiveScene(), Map_LoadLayeredScene(), Map_ShowBg1FromBuffer(), Map_ShowWorldMap(), MapAnimation_PresentFrame(), RaiseTheShip(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define REG_BG2CNT (*(volatile u16 *)0x0400000c) |
Definition at line 21 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_BeginTiledCanvas(), BattleFx_EndCanvasLayer(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunAtalanta(), BattleFx_RunGaia(), BattleFx_RunJudgment(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunPaletteParticles(), BattleFx_RunParticleStreams(), BattleFx_RunShatteringOpening(), BattleFx_RunThor(), BattleFx_RunTorch(), BattlePres_UpdateHBlankScroll(), Clear_LoadBackground(), DisplayScroll_RunSlideshow(), LemurianShip_SetupScene(), Map_InitializePerspectiveScene(), Map_LoadLayeredScene(), RaiseTheShip(), ReelGame_Run(), Title_LoadBackground(), Title_LoadIntroBackgrounds(), Title_ShowAnimatedSplash(), Title_ShowIntro(), and Title_ShowSplashScreen().
| #define REG_BG3CNT (*(volatile u16 *)0x0400000e) |
Definition at line 22 of file io_reg.h.
Referenced by DisplayScroll_RunSlideshow(), LemurianShip_SetupScene(), Map_InitializePerspectiveScene(), Map_LoadLayeredScene(), and RaiseTheShip().
| #define BGCNT_PRIORITY | ( | n | ) |
Definition at line 24 of file io_reg.h.
Referenced by BattleFx_EndCanvasLayer(), BattleFx_RunAtalanta(), BattleFx_RunBeamSequence(), BattleFx_RunDouse(), BattleFx_RunGaia(), BattleFx_RunIce(), BattleFx_RunJudgment(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunPaletteParticles(), BattleFx_RunParticleStreams(), BattleFx_RunRingAndSparkScene(), BattleFx_RunShatteringOpening(), BattleFx_RunThor(), BattleFx_RunTorch(), BattleFx_SetupCanvasTileMap(), BattlePres_RunEntryTransition(), DisplayScroll_RunSlideshow(), Graphics_SetBg1Priority0(), Graphics_SetBg1Priority3(), LuckyDice_Run(), Map_InitializePerspectiveScene(), Map_ShowBg1FromBuffer(), MapAnimation_PresentFrame(), ReelGame_Run(), Title_LoadIntroBackgrounds(), Title_ShowAnimatedSplash(), Title_ShowIntro(), and Title_ShowSplashScreen().
| #define BGCNT_CHAR_BASE | ( | block | ) |
Definition at line 25 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_BeginTiledCanvas(), BattleFx_EndCanvasLayer(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunAtalanta(), BattleFx_RunBeamSequence(), BattleFx_RunGaia(), BattleFx_RunJudgment(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunPaletteParticles(), BattleFx_RunParticleStreams(), BattleFx_RunRingAndSparkScene(), BattleFx_RunShatteringOpening(), BattleFx_RunThor(), BattleFx_RunTorch(), BattleFx_SetupCanvasTileMap(), BattlePres_RunEntryTransition(), DisplayScroll_RunSlideshow(), LuckyDice_Run(), Map_InitializePerspectiveScene(), Map_LoadLayeredScene(), ReelGame_Run(), and Title_ShowAnimatedSplash().
| #define BGCNT_MOSAIC 0x0040 |
Definition at line 26 of file io_reg.h.
Referenced by BattlePres_RunMosaicFadeOut(), and Title_LoadIntroBackgrounds().
| #define BGCNT_256_COLORS 0x0080 |
Definition at line 27 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_BeginTiledCanvas(), BattleFx_EndCanvasLayer(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunAtalanta(), BattleFx_RunBeamSequence(), BattleFx_RunGaia(), BattleFx_RunJudgment(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunPaletteParticles(), BattleFx_RunParticleStreams(), BattleFx_RunRingAndSparkScene(), BattleFx_RunShatteringOpening(), BattleFx_RunThor(), BattleFx_RunTorch(), BattleFx_SetupCanvasTileMap(), DisplayScroll_RunSlideshow(), LuckyDice_Run(), Map_ShowWorldMap(), MapAnimation_PresentFrame(), ReelGame_Run(), Title_LoadIntroBackgrounds(), Title_ShowAnimatedSplash(), Title_ShowIntro(), and Title_ShowSplashScreen().
| #define BGCNT_SCREEN_BASE | ( | block | ) |
Definition at line 28 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_BeginTiledCanvas(), BattleFx_EndCanvasLayer(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunAtalanta(), BattleFx_RunBeamSequence(), BattleFx_RunGaia(), BattleFx_RunJudgment(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunPaletteParticles(), BattleFx_RunParticleStreams(), BattleFx_RunRingAndSparkScene(), BattleFx_RunShatteringOpening(), BattleFx_RunThor(), BattleFx_RunTorch(), BattleFx_SetupCanvasTileMap(), BattlePres_RunEntryTransition(), DebugText_Clear(), DisplayScroll_RunSlideshow(), LuckyDice_Run(), Map_InitializePerspectiveScene(), Map_LoadLayeredScene(), Map_ShowBg1FromBuffer(), Map_ShowWorldMap(), MapAnimation_PresentFrame(), ReelGame_Run(), Title_LoadIntroBackgrounds(), Title_ShowAnimatedSplash(), Title_ShowIntro(), and Title_ShowSplashScreen().
| #define BGCNT_WRAP 0x2000 |
Affine backgrounds only: wrap around instead of showing the backdrop.
Definition at line 30 of file io_reg.h.
Referenced by BattleCamera_SetRange(), BattleFx_BeginTiledCanvas(), BattleFx_RunAtalanta(), BattleFx_RunDouse(), BattleFx_RunIce(), BattleFx_RunJudgment(), BattleFx_RunParticleStreams(), BattleFx_RunThor(), BattleFx_RunTorch(), and Map_InitializePerspectiveScene().
| #define BGCNT_SIZE | ( | n | ) |
The background's size: for an affine one, 0 to 3 are 128, 256, 512 and 1024 pixels square.
Definition at line 33 of file io_reg.h.
Referenced by BattleFx_BeginTiledCanvas(), and Map_InitializePerspectiveScene().
| #define REG_BG1HOFS (*(volatile u16 *)0x04000014) |
Definition at line 49 of file io_reg.h.
Referenced by DisplayScroll_ArmHBlankDma(), LuckyDice_Run(), and ReelGame_Run().
| #define REG_BG1VOFS (*(volatile u16 *)0x04000016) |
Definition at line 50 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define REG_BG2HOFS (*(volatile u16 *)0x04000018) |
Definition at line 51 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define REG_BG2VOFS (*(volatile u16 *)0x0400001a) |
Definition at line 52 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define REG_BG3HOFS (*(volatile u16 *)0x0400001c) |
Definition at line 53 of file io_reg.h.
Referenced by DisplayScroll_ArmHBlankDma(), and TretTreeBranch_ApplyBg3ScrollAtScanline().
| #define Q_8_8 | ( | n | ) |
The BG2/BG3 affine matrix entries are signed 8.8 fixed point: texels stepped per screen pixel.
Q_8_8(1) draws the layer at its own size and Q_8_8(0.5) twice as large.
Definition at line 59 of file io_reg.h.
Referenced by BattleFx_InitializeStarField(), BattleFx_RunAtalanta(), BattleFx_RunBind(), BattleFx_RunBurstShower(), BattleFx_RunCastingImpact(), BattleFx_RunCondemn(), BattleFx_RunCybele(), BattleFx_RunDjinnBeams(), BattleFx_RunElementBurst(), BattleFx_RunElementPillar(), BattleFx_RunGaia(), BattleFx_RunGrowingColumns(), BattleFx_RunHealingMotes(), BattleFx_RunImpactBurst(), BattleFx_RunJudgment(), BattleFx_RunMirroredWall(), BattleFx_RunNeptune(), BattleFx_RunParticleStreams(), BattleFx_RunQuake(), BattleFx_RunRay(), BattleFx_RunSpiderWeb(), BattleFx_RunStatBoost(), BattleFx_RunThor(), BattleFx_RunThorn(), BattleFx_RunTorch(), BattleFx_RunVine(), BattleFx_StartElementStreaks(), Graphics_ResetBg2Pa(), and Graphics_SetBg2AffineScaleHalf().
| #define REG_BG2PA (*(volatile u16 *)0x04000020) |
Definition at line 61 of file io_reg.h.
Referenced by BattleFx_InitializeStarField(), BattleFx_RunAtalanta(), BattleFx_RunBind(), BattleFx_RunBurstShower(), BattleFx_RunCastingImpact(), BattleFx_RunCondemn(), BattleFx_RunCybele(), BattleFx_RunDjinnBeams(), BattleFx_RunElementBurst(), BattleFx_RunElementPillar(), BattleFx_RunGaia(), BattleFx_RunGrowingColumns(), BattleFx_RunHealingMotes(), BattleFx_RunImpactBurst(), BattleFx_RunJudgment(), BattleFx_RunMirroredWall(), BattleFx_RunNeptune(), BattleFx_RunParticleStreams(), BattleFx_RunQuake(), BattleFx_RunRay(), BattleFx_RunSpiderWeb(), BattleFx_RunStatBoost(), BattleFx_RunThor(), BattleFx_RunThorn(), BattleFx_RunTorch(), BattleFx_RunVine(), BattleFx_StartElementStreaks(), BattlePres_UpdateHBlankScroll(), Graphics_ResetBg2Pa(), Graphics_SetBg2AffineScaleHalf(), Map_InitializePerspectiveScene(), and MapAnimation_ApplyAffineFrame().
| #define REG_BG2PB (*(volatile u16 *)0x04000022) |
Definition at line 62 of file io_reg.h.
Referenced by BattleFx_InitializeStarField(), and Map_InitializePerspectiveScene().
| #define REG_BG2PC (*(volatile u16 *)0x04000024) |
Definition at line 63 of file io_reg.h.
Referenced by BattleFx_InitializeStarField(), and Map_InitializePerspectiveScene().
| #define REG_BG2PD (*(volatile u16 *)0x04000026) |
Definition at line 64 of file io_reg.h.
Referenced by BattleFx_InitializeStarField(), and Map_InitializePerspectiveScene().
| #define REG_BG2X (*(volatile s32 *)0x04000028) |
Definition at line 65 of file io_reg.h.
Referenced by BattleFx_AdvanceBg2OnInterval(), BattleFx_ArmBg2AffineHBlankDma(), BattleFx_InitializeStarField(), BattleFx_PlayUnitElementEffect(), BattleFx_RunBind(), BattleFx_RunBladeRain(), BattleFx_RunCastingImpact(), BattleFx_RunCurse(), BattleFx_RunCybele(), BattleFx_RunDjinnBeams(), BattleFx_RunElementBurst(), BattleFx_RunElementPillar(), BattleFx_RunFrost(), BattleFx_RunGaia(), BattleFx_RunGrowingColumns(), BattleFx_RunHealingMotes(), BattleFx_RunHelmSplitter(), BattleFx_RunImpactBurst(), BattleFx_RunJudgment(), BattleFx_RunMirroredWall(), BattleFx_RunOrbitingSkulls(), BattleFx_RunOrbitingSpirals(), BattleFx_RunParticleStreams(), BattleFx_RunQuake(), BattleFx_RunRay(), BattleFx_RunSleep(), BattleFx_RunSpiderWeb(), BattleFx_RunSpire(), BattleFx_RunStatBoost(), BattleFx_RunStatReduction(), BattleFx_RunSwirlSwipe(), BattleFx_RunThorn(), BattleFx_RunTriangleStrike(), BattleFx_RunUndeadSword(), BattleFx_RunVine(), Display_ApplyBg2Reference(), and Map_InitializePerspectiveScene().
| #define REG_BG2Y (*(volatile s32 *)0x0400002c) |
Definition at line 66 of file io_reg.h.
Referenced by BattleFx_AdvanceBg2OnInterval(), BattleFx_InitializeStarField(), BattleFx_RunParticleStreams(), Display_ApplyBg2Reference(), and Map_InitializePerspectiveScene().
| #define REG_BG3PA (*(volatile u16 *)0x04000030) |
Definition at line 67 of file io_reg.h.
Referenced by Map_InitializePerspectiveScene().
| #define REG_BG3PB (*(volatile u16 *)0x04000032) |
Definition at line 68 of file io_reg.h.
Referenced by Map_InitializePerspectiveScene().
| #define REG_BG3PC (*(volatile u16 *)0x04000034) |
Definition at line 69 of file io_reg.h.
Referenced by Map_InitializePerspectiveScene().
| #define REG_BG3PD (*(volatile u16 *)0x04000036) |
Definition at line 70 of file io_reg.h.
Referenced by Map_InitializePerspectiveScene().
| #define REG_BG3X (*(volatile s32 *)0x04000038) |
Definition at line 71 of file io_reg.h.
Referenced by Map_InitializePerspectiveScene().
| #define REG_BG3Y (*(volatile s32 *)0x0400003c) |
Definition at line 72 of file io_reg.h.
Referenced by Map_InitializePerspectiveScene().
| #define REG_WIN0H (*(volatile u16 *)0x04000040) |
Definition at line 74 of file io_reg.h.
Referenced by BattleFx_ArmWin0HBlankDma(), BattleFx_BuildWindowEdgeTable(), BattleFx_PlayUnitElementEffect(), BattleFx_RunBoreas(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunRamses(), BattleFx_StartWindowHBlankDma(), BattlePres_RunAttack(), BattlePres_RunEntryTransition(), Graphics_ApplyWindowBlendRegisters(), LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define REG_WIN1H (*(volatile u16 *)0x04000042) |
Definition at line 75 of file io_reg.h.
Referenced by BattleFx_StartWindowHBlankDma(), BattlePres_RunAttack(), BattlePres_RunEntryTransition(), Graphics_ApplyWindowBlendRegisters(), LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define REG_WIN0V (*(volatile u16 *)0x04000044) |
Definition at line 76 of file io_reg.h.
Referenced by BattleFx_PlayUnitElementEffect(), BattleFx_StartWindowHBlankDma(), BattlePres_RunAttack(), BattlePres_RunEntryTransition(), Graphics_ApplyWindowBlendRegisters(), LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define REG_WIN1V (*(volatile u16 *)0x04000046) |
Definition at line 77 of file io_reg.h.
Referenced by BattleFx_RunRamses(), BattleFx_StartWindowHBlankDma(), BattlePres_RunAttack(), BattlePres_RunEntryTransition(), Graphics_ApplyWindowBlendRegisters(), LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define WIN_RANGE | ( | start, | |
| end ) |
A REG_WINxH or REG_WINxV value: the window covers start up to, but not including, end.
Definition at line 80 of file io_reg.h.
Referenced by BattleFx_PlayUnitElementEffect(), BattleFx_RunBoreas(), BattleFx_RunDouse(), BattleFx_RunIce(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunRamses(), BattleFx_StartWindowHBlankDma(), BattlePres_RunAttack(), BattlePres_RunEntryTransition(), LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define REG_WININ (*(volatile u16 *)0x04000048) |
Definition at line 81 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_ConfigureEffectDisplay(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunBoreas(), BattleFx_RunDouse(), BattleFx_RunIce(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunRamses(), BattleFx_RunShatteringOpening(), BattleFx_SetupCanvasTileMap(), BattleFx_StartWindowHBlankDma(), BattlePres_RunAttack(), BattlePres_RunEntryTransition(), Graphics_ApplyWindowBlendRegisters(), LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define REG_WINOUT (*(volatile u16 *)0x0400004a) |
Definition at line 82 of file io_reg.h.
Referenced by BattleEvent_Playback(), BattleFx_BeginCanvasLayer(), BattleFx_ConfigureEffectDisplay(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunShatteringOpening(), BattleFx_SetupCanvasTileMap(), BattleFx_StartWindowHBlankDma(), BattlePres_RunAttack(), BattlePres_RunEntryTransition(), BattlePresentation_WaitForAdvance(), BattlePresentation_WaitForPromptAt(), Graphics_ApplyWindowBlendRegisters(), LuckyDice_Run(), and ReelGame_Run().
| #define WININ_WIN0_BG0 0x0001 |
Definition at line 86 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define WININ_WIN0_BG1 0x0002 |
Definition at line 87 of file io_reg.h.
Referenced by LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define WININ_WIN0_BG2 0x0004 |
Definition at line 88 of file io_reg.h.
Referenced by LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define WININ_WIN0_OBJ 0x0010 |
Definition at line 90 of file io_reg.h.
Referenced by LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define WININ_WIN0_CLR 0x0020 |
Definition at line 91 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define WININ_WIN0_ALL 0x003f |
Definition at line 92 of file io_reg.h.
Referenced by BattleFx_PlayUnitElementEffect().
| #define WININ_WIN1_BG0 0x0100 |
Definition at line 93 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_ConfigureEffectDisplay(), BattleFx_OpenCanvasLayer(), BattleFx_RunBoreas(), BattleFx_RunDouse(), BattleFx_RunIce(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunRamses(), BattleFx_RunShatteringOpening(), BattleFx_SetupCanvasTileMap(), LuckyDice_Run(), and ReelGame_Run().
| #define WININ_WIN1_BG1 0x0200 |
Definition at line 94 of file io_reg.h.
Referenced by BattleFx_RunDouse(), BattleFx_RunIce(), BattleFx_RunKirin(), BattleFx_RunRamses(), LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define WININ_WIN1_BG2 0x0400 |
Definition at line 95 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_ConfigureEffectDisplay(), BattleFx_OpenCanvasLayer(), BattleFx_RunKirin(), BattleFx_RunRamses(), BattleFx_RunShatteringOpening(), BattleFx_SetupCanvasTileMap(), LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define WININ_WIN1_OBJ 0x1000 |
Definition at line 97 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_ConfigureEffectDisplay(), BattleFx_OpenCanvasLayer(), BattleFx_RunDouse(), BattleFx_RunIce(), BattleFx_RunShatteringOpening(), BattleFx_SetupCanvasTileMap(), LuckyDice_Run(), ReelGame_Run(), and Title_LoadIntroBackgrounds().
| #define WININ_WIN1_CLR 0x2000 |
Definition at line 98 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_ConfigureEffectDisplay(), BattleFx_OpenCanvasLayer(), BattleFx_RunBoreas(), BattleFx_RunDouse(), BattleFx_RunIce(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunRamses(), BattleFx_RunShatteringOpening(), BattleFx_SetupCanvasTileMap(), LuckyDice_Run(), and ReelGame_Run().
| #define WINOUT_WIN01_BG0 0x0001 |
Definition at line 103 of file io_reg.h.
Referenced by BattleFx_PlayUnitElementEffect(), LuckyDice_Run(), and ReelGame_Run().
| #define WINOUT_WIN01_BG1 0x0002 |
Definition at line 104 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define WINOUT_WIN01_BG2 0x0004 |
Definition at line 105 of file io_reg.h.
Referenced by ReelGame_Run().
| #define WINOUT_WIN01_OBJ 0x0010 |
Definition at line 107 of file io_reg.h.
Referenced by BattleFx_PlayUnitElementEffect().
| #define WINOUT_WIN01_CLR 0x0020 |
Definition at line 108 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define WINOUT_WINOBJ_BG0 0x0100 |
Definition at line 110 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define WINOUT_WINOBJ_BG1 0x0200 |
Definition at line 111 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define WINOUT_WINOBJ_BG2 0x0400 |
Definition at line 112 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define WINOUT_WINOBJ_CLR 0x2000 |
Definition at line 115 of file io_reg.h.
Referenced by LuckyDice_Run(), and ReelGame_Run().
| #define REG_MOSAIC (*(volatile u16 *)0x0400004c) |
Definition at line 118 of file io_reg.h.
Referenced by BattlePres_RunMosaicFadeOut(), Map_InitializePerspectiveScene(), and Map_LoadLayeredScene().
| #define REG_BLDCNT (*(volatile u16 *)0x04000050) |
Definition at line 119 of file io_reg.h.
Referenced by AltmillerCave_ApplyFadeBlend(), AltmillerCave_InitializeDarkness(), AltmillerCave_RestoreBabiAndInviteParty(), Battle_RunEncounter(), BattleFx_BeginCanvasLayer(), BattleFx_ConfigureEffectDisplay(), BattleFx_EndCanvasLayer(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunBladeRain(), BattleFx_RunBurstShower(), BattleFx_RunCastingImpact(), BattleFx_RunCurse(), BattleFx_RunCybele(), BattleFx_RunDouse(), BattleFx_RunFlare(), BattleFx_RunFlashingStrike(), BattleFx_RunGaia(), BattleFx_RunGrowingColumns(), BattleFx_RunIce(), BattleFx_RunImpactBurst(), BattleFx_RunParticleStreams(), BattleFx_RunProjectileVolley(), BattleFx_RunQuake(), BattleFx_RunShatteringOpening(), BattleFx_RunSleep(), BattleFx_RunSpire(), BattleFx_RunThorn(), BattleFx_RunVine(), BattleFx_SetupBlendedDisplay(), BattleFx_SetupCanvasTileMap(), BattleFx_StartFadeOverlay(), BattleMotion_InterpolatePosition(), BattlePres_RunEntryTransition(), BattlePres_SetActorModes(), BattlePresentation_RunPairedUnitTransition(), BattlePresentation_RunUnitTransition(), Clear_UpdateBlend(), Colosso_FadeInCompetitor(), Colosso_UpdateLettering(), CrossboneIslePlatformRooms_InitializeScene2(), DisplayBlend_RunScript(), DisplayScroll_RunSlideshow(), Event_CastReveal(), Fade_Update(), FieldFx_StartGroundParticles(), FieldMotes_Start(), Graphics_AdvancePaletteCycle(), Graphics_ApplyWindowBlendRegisters(), Graphics_FadeAlphaIn(), Graphics_FadeAlphaOut(), Graphics_SetBlendControl(), Io_SetBlendControl(), LemurianShip_SetupScene(), LuckyDice_Run(), Map_InitializePerspectiveScene(), Map_LoadLayeredScene(), Map_UpdateWorldMapMarkers(), MercuryLighthouse_Initialize(), MercuryLighthouseEntrance_Initialize(), RaiseTheShip(), ReelGame_InitTitle(), ReelGame_Run(), ReelGame_RunFrame(), Scene_RunEntrySetup(), SetBlendTarget(), Title_LoadIntroBackgrounds(), Title_RevealScreen(), Title_ShowIntro(), Title_UpdateIntroSprites(), TolbiSpring_Initialize(), TolbiSpring_RiseAndFadeIn(), TretTreeBranch_Initialize(), and Ui_RunIconMonitor().
| #define BLDCNT_TGT1_BG0 0x0001 |
Definition at line 123 of file io_reg.h.
Referenced by Clear_UpdateBlend().
| #define BLDCNT_TGT1_BG1 0x0002 |
Definition at line 124 of file io_reg.h.
Referenced by BattleFx_RunCybele(), BattleFx_RunFlare(), BattleFx_RunGaia(), BattleFx_RunImpactBurst(), BattleFx_RunParticleStreams(), BattleFx_SetupBlendedDisplay(), BattleFx_SetupCanvasTileMap(), BattleFx_StartFadeOverlay(), BattlePres_RunMosaicFadeOut(), Event_CastReveal(), Event_HurryToThePlaza(), Map_InitializePerspectiveScene(), Title_RevealScreen(), TretTreeBranch_Initialize(), and Ui_RunIconMonitor().
| #define BLDCNT_TGT1_BG2 0x0004 |
Definition at line 125 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunBladeRain(), BattleFx_RunCybele(), BattleFx_RunDouse(), BattleFx_RunFlare(), BattleFx_RunGaia(), BattleFx_RunGrowingColumns(), BattleFx_RunIce(), BattleFx_RunImpactBurst(), BattleFx_RunShatteringOpening(), BattleFx_RunThorn(), BattleFx_SetupBlendedDisplay(), BattleFx_StartFadeOverlay(), BattlePres_RunMosaicFadeOut(), DisplayScroll_RunSlideshow(), Graphics_FadeAlphaIn(), Graphics_FadeAlphaOut(), LuckyDice_Run(), Map_InitializePerspectiveScene(), ReelGame_Run(), ReelGame_RunFrame(), Title_LoadIntroBackgrounds(), and Title_RevealScreen().
| #define BLDCNT_TGT1_BG3 0x0008 |
Definition at line 126 of file io_reg.h.
Referenced by BattleFx_StartFadeOverlay(), BattlePres_RunMosaicFadeOut(), Map_InitializePerspectiveScene(), and Title_RevealScreen().
| #define BLDCNT_TGT1_OBJ 0x0010 |
Definition at line 127 of file io_reg.h.
Referenced by BattleFx_StartFadeOverlay(), Clear_UpdateBlend(), Graphics_AdvancePaletteCycle(), Map_InitializePerspectiveScene(), ReelGame_RunFrame(), Title_ShowIntro(), and Title_UpdateIntroSprites().
| #define BLDCNT_TGT1_BD 0x0020 |
Definition at line 128 of file io_reg.h.
Referenced by BattlePres_RunMosaicFadeOut().
| #define BLDCNT_TGT1_ALL 0x003f |
Definition at line 129 of file io_reg.h.
Referenced by Graphics_SetBlendControl(), and Title_LoadIntroBackgrounds().
| #define BLDCNT_EFFECT_BLEND 0x0040 |
weighted by REG_BLDALPHA
Definition at line 131 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunBladeRain(), BattleFx_RunCybele(), BattleFx_RunDouse(), BattleFx_RunFlare(), BattleFx_RunGaia(), BattleFx_RunGrowingColumns(), BattleFx_RunIce(), BattleFx_RunImpactBurst(), BattleFx_RunParticleStreams(), BattleFx_RunShatteringOpening(), BattleFx_RunThorn(), BattleFx_SetupBlendedDisplay(), BattleFx_SetupCanvasTileMap(), Clear_UpdateBlend(), DisplayScroll_RunSlideshow(), Event_CastReveal(), Event_HurryToThePlaza(), Graphics_FadeAlphaIn(), Graphics_FadeAlphaOut(), LuckyDice_Run(), MercuryLighthouse_Initialize(), MercuryLighthouseEntrance_Initialize(), ReelGame_Run(), ReelGame_RunFrame(), Title_LoadIntroBackgrounds(), Title_ShowIntro(), Title_UpdateIntroSprites(), TretTreeBranch_Initialize(), and Ui_RunIconMonitor().
| #define BLDCNT_EFFECT_LIGHTEN 0x0080 |
towards white by REG_BLDY
Definition at line 132 of file io_reg.h.
Referenced by BattleFx_StartFadeOverlay(), Graphics_AdvancePaletteCycle(), Graphics_SetBlendControl(), Map_InitializePerspectiveScene(), and Title_LoadIntroBackgrounds().
| #define BLDCNT_EFFECT_DARKEN 0x00c0 |
towards black by REG_BLDY
Definition at line 133 of file io_reg.h.
Referenced by BattlePres_RunMosaicFadeOut(), ReelGame_RunFrame(), and Title_RevealScreen().
| #define BLDCNT_TGT2_BG0 0x0100 |
Definition at line 134 of file io_reg.h.
Referenced by Colosso_FadeInCompetitor(), Title_RevealScreen(), and Title_ShowIntro().
| #define BLDCNT_TGT2_BG1 0x0200 |
Definition at line 135 of file io_reg.h.
Referenced by BattlePres_RunMosaicFadeOut(), Clear_UpdateBlend(), Colosso_FadeInCompetitor(), Title_RevealScreen(), and Title_ShowIntro().
| #define BLDCNT_TGT2_BG2 0x0400 |
Definition at line 136 of file io_reg.h.
Referenced by BattlePres_RunMosaicFadeOut(), Clear_UpdateBlend(), Colosso_FadeInCompetitor(), Title_RevealScreen(), and Title_ShowIntro().
| #define BLDCNT_TGT2_BG3 0x0800 |
Definition at line 137 of file io_reg.h.
Referenced by BattlePres_RunMosaicFadeOut(), Clear_UpdateBlend(), Colosso_FadeInCompetitor(), DisplayScroll_RunSlideshow(), Title_RevealScreen(), and Title_ShowIntro().
| #define BLDCNT_TGT2_OBJ 0x1000 |
Definition at line 138 of file io_reg.h.
Referenced by BattlePres_RunMosaicFadeOut().
| #define BLDCNT_TGT2_BD 0x2000 |
Definition at line 139 of file io_reg.h.
Referenced by BattlePres_RunMosaicFadeOut(), Clear_UpdateBlend(), DisplayScroll_RunSlideshow(), Graphics_FadeAlphaIn(), Graphics_FadeAlphaOut(), Title_RevealScreen(), and Title_ShowIntro().
| #define BLDCNT_TGT2_ALL 0x3f00 |
Definition at line 140 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunBladeRain(), BattleFx_RunCybele(), BattleFx_RunDouse(), BattleFx_RunFlare(), BattleFx_RunGaia(), BattleFx_RunGrowingColumns(), BattleFx_RunIce(), BattleFx_RunImpactBurst(), BattleFx_RunParticleStreams(), BattleFx_RunShatteringOpening(), BattleFx_RunThorn(), BattleFx_SetupBlendedDisplay(), BattleFx_SetupCanvasTileMap(), BattleFx_StartFadeOverlay(), Event_CastReveal(), Event_HurryToThePlaza(), FieldFx_StartGroundParticles(), FieldMotes_Start(), Graphics_AdvancePaletteCycle(), LuckyDice_Run(), Map_InitializePerspectiveScene(), Map_UpdateWorldMapMarkers(), MercuryLighthouse_Initialize(), MercuryLighthouseEntrance_Initialize(), ReelGame_Run(), ReelGame_RunFrame(), Title_LoadIntroBackgrounds(), Title_UpdateIntroSprites(), TretTreeBranch_Initialize(), and Ui_RunIconMonitor().
| #define REG_BLDALPHA (*(volatile u16 *)0x04000052) |
Definition at line 142 of file io_reg.h.
Referenced by AltmillerCave_ApplyFadeBlend(), AltmillerCave_InitializeDarkness(), AltmillerCave_RestoreBabiAndInviteParty(), AltmillerCave_StartReveal(), BattleFx_BeginCanvasLayer(), BattleFx_ConfigureEffectDisplay(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunBladeRain(), BattleFx_RunBoreas(), BattleFx_RunBurstScene(), BattleFx_RunBurstShower(), BattleFx_RunCastingImpact(), BattleFx_RunCondemn(), BattleFx_RunDjinniEntrance(), BattleFx_RunDragonCloud(), BattleFx_RunElementBurst(), BattleFx_RunElementPillar(), BattleFx_RunFire(), BattleFx_RunFlare(), BattleFx_RunFroth(), BattleFx_RunGaia(), BattleFx_RunGround(), BattleFx_RunGrowingColumns(), BattleFx_RunHail(), BattleFx_RunJudgment(), BattleFx_RunJupiter(), BattleFx_RunKirin(), BattleFx_RunLobbedShells(), BattleFx_RunNeptune(), BattleFx_RunNereid(), BattleFx_RunOrbitingSkulls(), BattleFx_RunPaletteParticles(), BattleFx_RunParticleStreams(), BattleFx_RunPlasma(), BattleFx_RunPrism(), BattleFx_RunRagnarok(), BattleFx_RunShatteringOpening(), BattleFx_RunSparkGroups(), BattleFx_RunSpiderWeb(), BattleFx_RunStreakVolley(), BattleFx_RunTargetStrike(), BattleFx_RunThor(), BattleFx_RunThorn(), BattleFx_RunTitanBlade(), BattleFx_RunTorch(), BattleFx_RunVenus(), BattleFx_RunVolcano(), BattleFx_RunWhirlwind(), BattleFx_SetupBlendedDisplay(), BattleFx_SetupCanvasTileMap(), BattleFx_StartElementStreaks(), BattleFx_StartFadeOverlay(), BattlePres_RunEntryTransition(), BattlePres_SetActorModes(), BattlePresentation_RunPairedUnitTransition(), BattlePresentation_RunUnitTransition(), BattlePresentation_WaitForAdvance(), BattlePresentation_WaitForPromptAt(), Clear_UpdateBlend(), Colosso_FadeInCompetitor(), Colosso_UpdateLettering(), CrossboneIslePlatformRooms_InitializeScene2(), DisplayBlend_RunScript(), DisplayScroll_RunSlideshow(), Event_BeginRevealBlend(), Event_CastReveal(), Event_EndRevealBlend(), Event_HurryToThePlaza(), FieldFx_StartGroundParticles(), FieldMotes_Start(), Graphics_AdvancePaletteCycle(), Graphics_ApplyWindowBlendRegisters(), Graphics_FadeAlphaIn(), Graphics_FadeAlphaOut(), Io_SetBlendAlpha(), LemurianShip_SetupScene(), LuckyDice_Run(), Map_InitializePerspectiveScene(), Map_ShowWorldMap(), Map_UpdateWorldMapMarkers(), MercuryLighthouse_Initialize(), MercuryLighthouseEntrance_Initialize(), RaiseTheShip(), ReelGame_Run(), ReelGame_RunFrame(), SetBlendAlpha(), Ship_UpdateSwell(), Title_LoadIntroBackgrounds(), Title_RevealScreen(), Title_ShowIntro(), Title_UpdateIntroSprites(), TolbiSpring_Initialize(), TolbiSpring_RiseAndFadeIn(), and TretTreeBranch_Initialize().
| #define BLEND_ALPHA | ( | top, | |
| bottom ) |
A REG_BLDALPHA value: top and bottom are the two targets' weights, out of 16.
Definition at line 145 of file io_reg.h.
Referenced by BattleFx_BeginCanvasLayer(), BattleFx_ConfigureEffectDisplay(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_RunBladeRain(), BattleFx_RunBoreas(), BattleFx_RunBurstScene(), BattleFx_RunBurstShower(), BattleFx_RunCastingImpact(), BattleFx_RunCondemn(), BattleFx_RunDjinniEntrance(), BattleFx_RunDragonCloud(), BattleFx_RunElementBurst(), BattleFx_RunElementPillar(), BattleFx_RunFire(), BattleFx_RunFlare(), BattleFx_RunFroth(), BattleFx_RunGaia(), BattleFx_RunGround(), BattleFx_RunGrowingColumns(), BattleFx_RunHail(), BattleFx_RunJudgment(), BattleFx_RunJupiter(), BattleFx_RunKirin(), BattleFx_RunLobbedShells(), BattleFx_RunNeptune(), BattleFx_RunNereid(), BattleFx_RunOrbitingSkulls(), BattleFx_RunPaletteParticles(), BattleFx_RunParticleStreams(), BattleFx_RunPlasma(), BattleFx_RunPrism(), BattleFx_RunRagnarok(), BattleFx_RunShatteringOpening(), BattleFx_RunSparkGroups(), BattleFx_RunSpiderWeb(), BattleFx_RunStreakVolley(), BattleFx_RunTargetStrike(), BattleFx_RunThor(), BattleFx_RunThorn(), BattleFx_RunTitanBlade(), BattleFx_RunTorch(), BattleFx_RunVenus(), BattleFx_RunVolcano(), BattleFx_RunWhirlwind(), BattleFx_SetupBlendedDisplay(), BattleFx_SetupCanvasTileMap(), BattleFx_StartElementStreaks(), BattleFx_StartFadeOverlay(), BattlePres_RunEntryTransition(), BattlePres_SetActorModes(), BattlePresentation_RunPairedUnitTransition(), BattlePresentation_RunUnitTransition(), BattlePresentation_WaitForAdvance(), BattlePresentation_WaitForPromptAt(), Clear_UpdateBlend(), Colosso_FadeInCompetitor(), Event_CastReveal(), Event_HurryToThePlaza(), FieldFx_StartGroundParticles(), FieldMotes_Start(), Graphics_AdvancePaletteCycle(), Graphics_FadeAlphaIn(), Graphics_FadeAlphaOut(), LuckyDice_Run(), Map_InitializePerspectiveScene(), MercuryLighthouse_Initialize(), MercuryLighthouseEntrance_Initialize(), ReelGame_Run(), ReelGame_RunFrame(), Title_LoadIntroBackgrounds(), Title_RevealScreen(), Title_UpdateIntroSprites(), and TretTreeBranch_Initialize().
| #define REG_BLDY (*(volatile u16 *)0x04000054) |
Definition at line 146 of file io_reg.h.
Referenced by BattleFx_StartFadeOverlay(), BattlePres_SetActorModes(), DisplayBlend_RunScript(), Fade_Update(), FieldFx_StartGroundParticles(), FieldMotes_Start(), Graphics_AdvancePaletteCycle(), Map_InitializePerspectiveScene(), RaiseTheShip(), ReelGame_RunFrame(), and Title_RevealScreen().
| #define BG_CANVAS_MAP ((volatile s16 *)0x06003800) |
Definition at line 148 of file io_reg.h.
Referenced by BattleFx_BeginTiledCanvas().
| #define REG_BG0HOFS ((void *)0x04000010) |
Definition at line 149 of file io_reg.h.
Referenced by BattleFx_ArmBg0HBlankDma(), Clear_LoadBackground(), System_VBlankHandler(), Title_LoadBackground(), Title_LoadIntroBackgrounds(), Title_ShowAnimatedSplash(), and Title_ShowSplashScreen().
| #define REG_DMA0 ((volatile u16 *)0x040000b0) |
Definition at line 151 of file io_reg.h.
Referenced by BattleFx_ArmBg0HBlankDma(), BattleFx_ArmBg2AffineHBlankDma(), BattleFx_ArmPaletteHBlankDma(), BattleFx_ArmWin0HBlankDma(), BattleFx_BuildWindowEdgeTable(), BattleFx_StartWindowHBlankDma(), DisplayScroll_ArmHBlankDma(), DisplayScroll_DisarmHBlankDma(), DisplayTransition_UpdateFrame(), DisplayTransition_UpdateScanlineTable(), Game_ResetForNewGame(), MapAnimation_ApplyAffineFrame(), ReelGame_RunFrame(), Ripple_Stop(), System_Initialize(), and System_VBlankHandler().
| #define REG_DMA3 ((volatile u32 *)0x040000d4) |
Definition at line 153 of file io_reg.h.
Referenced by AltinPeak_StepPaletteAnim(), AltmillerCave_BeginRetreat(), BattleBackground_Load(), BattleEffect_InitializeBuffers(), BattleEffect_InitializeSharedScene(), BattleFx_BuildBuffer(), BattleFx_InitializeStarField(), BattleFx_RunJudgment(), BattleFx_RunParticleStreams(), BattleFx_RunTorch(), BattlePres_RunEntryTransition(), BattlePres_UpdateHBlankScroll(), BattlePresentation_BuildSortedUnitEntries(), BattlePresentation_ConfigurePaletteFade(), BattlePresentation_InitializeTilePattern(), BattlePresentation_SetPaletteLevel(), BattlePresentation_UploadTileVariant(), CharacterSelector_RunRearrange(), Clear_LoadBackground(), ColorBuffer_BackupAndBrighten(), ColorBuffer_BackupAndBrightenPartial(), ColorBuffer_BackupAndDarken(), ColorBuffer_BackupAndDarkenPartial(), ColorBuffer_BackupAndHalve(), ColorBuffer_BackupAndHalveNonzero(), ColorBuffer_BackupAndScaleNonzeroThreeQuarters(), ColorBuffer_BackupAndScaleThreeQuarters(), Colosso_DrawGauge(), Colosso_LoadLettering(), CrossboneIslePillarRooms_ReadMapCell(), CrossboneIslePillarRooms_SortPillarActors(), DebugMenu_SelectItem(), DisplayBlend_StartScript(), DisplayScroll_InitializeHBlankDma(), DisplayScroll_UpdateObjects(), DisplayTransition_FillTilemapAndSolidTile(), Dma_StopAllThenRunHook(), Event_MovePillar(), FieldFx_UpdateLightning(), HeatGauge_Draw(), IoWriteQueue_FlushPending(), ItemLevel_SelectAbility(), ItemLevel_SelectItem(), ItemMenu_SelectGiveQuantity(), KolimaForestBend_Initialize(), KolimaPalette_Capture(), KolimaPalette_Restore(), KolimaPalette_SaveFirst(), KolimaPalette_SaveSecond(), LuckyDice_Run(), Map_LoadAreaGraphics(), Map_ShowBg1FromBuffer(), Map_ShowWorldMap(), Map_WriteLayerCellTile(), MapAnimation_PresentFrame(), MapAnimation_Update(), Menu_OpenBackdropScreen(), NameEntry_EditOwnerName(), ObjectTable_Restore(), ObjectTable_Snapshot(), OptionMenu_Open(), Palette_CopyObjectBankToBackground14(), Palette_LightenBankHighlight(), Palette_LoadBasicObjColors(), Palette_StepTowardResource(), Palette_Transform(), PaletteFade_Init(), PaletteFade_Update(), PaletteQueue_Add(), PaletteQueue_StepCycles(), PartyTalkMenu_Choose(), ReelGame_Run(), ReelGame_RunFrame(), ReelGame_TransferCanvas(), Resource_DecompressHalfwords(), RunLuckyDice(), RunReelGame(), Runtime_InstallIwramAndIrqs(), SaveState_ReadSlotAndCheckChecksum(), SerialRuntime_CollectReceivedPayloads(), SerialRuntime_PrepareSendPacket(), SerialRuntime_StepBlockTransfer(), SerialTest_Run(), ShipGlow_CyclePalette(), Shop_CreatePriceSprite(), Shop_SaveAndTintFieldPalette(), Shop_SelectQuantity(), Sound_LoadPresetParameters(), Sprite_ComposeAnimationFrame(), StatusMenu_Run(), System_CopyBuildStamp(), System_VBlankHandler(), Title_LoadBackground(), Title_LoadIntroBackgrounds(), Title_LoadSprites(), Title_ShowAnimatedSplash(), Title_ShowIntro(), Title_ShowSplashScreen(), Title_UpdateIntroSprites(), Transform_BuildLookAt(), Transform_Load(), Transform_Pop(), Transform_Push(), Transform_Store(), TretPalette_SaveSceneColors(), Ui_LoadWindowGraphics(), UiGlyph_LoadEntryWithPalette(), UiText_BuildRenderEntries(), UiText_DrawGlyph(), UiText_LoadRemappedGlyph(), UiText_ScrollCanvasUp(), UiWindow_DrawStatusBarTiles(), UiWindow_OverlayTilePattern(), UiWork_Initialize(), UiWork_InitializeWithResourceCounters(), UiWork_UploadDirtyBlocks(), Vram_CopyTile(), VramCache_Load(), WaitFrames(), WorldMap_BeginStillView(), and WorldMap_LoadGraphics().
| #define PLTT_BACKDROP (*(volatile u16 *)0x05000000) |
Definition at line 155 of file io_reg.h.
Referenced by BattleFx_RunBoreas(), BattleFx_RunJudgment(), BattleFx_RunKirin(), BattleFx_RunNeptune(), BattleFx_RunParticleStreams(), BattleFx_RunRamses(), BattleFx_RunThor(), DisplayTransition_Start(), Event_ClearBackdropColor(), Field_RunScene(), Field_StartEncounterTransition(), LeaveTheShip(), RaiseTheShip(), SetSail(), SolSanctumLunaSolRooms_ShowFloatingEye(), Ui_LoadWindowGraphics(), Ui_RunIconMonitor(), VenusLighthouseAerie_EruptBeacon(), WaitFrames(), and WorldMap_RunOpeningRise().
| #define BG_PLTT ((volatile u16 *)0x05000000) |
Definition at line 157 of file io_reg.h.
Referenced by BattleEffect_InitializeBuffers(), BattleFx_ArmPaletteHBlankDma(), BattleFx_BuildBuffer(), BattleFx_InitializeStarField(), BattleFx_RunAstralBlast(), BattleFx_RunAtalanta(), BattleFx_RunBeamSequence(), BattleFx_RunBind(), BattleFx_RunBoreas(), BattleFx_RunBreak(), BattleFx_RunBurstScene(), BattleFx_RunBurstShower(), BattleFx_RunCondemn(), BattleFx_RunCybele(), BattleFx_RunDjinnBeams(), BattleFx_RunDjinniEntrance(), BattleFx_RunDrain(), BattleFx_RunElementBurst(), BattleFx_RunElementPillar(), BattleFx_RunEruption(), BattleFx_RunFroth(), BattleFx_RunGaia(), BattleFx_RunGatheringLights(), BattleFx_RunHaunt(), BattleFx_RunHealingMotes(), BattleFx_RunJudgment(), BattleFx_RunLobbedShells(), BattleFx_RunMars(), BattleFx_RunMirroredWall(), BattleFx_RunMoteFountain(), BattleFx_RunNeptune(), BattleFx_RunNereid(), BattleFx_RunOrbitingSkulls(), BattleFx_RunOrbitingSpirals(), BattleFx_RunPaletteParticles(), BattleFx_RunParticleStreams(), BattleFx_RunPlanetDiver(), BattleFx_RunPlasma(), BattleFx_RunProcne(), BattleFx_RunProjectileVolley(), BattleFx_RunRamses(), BattleFx_RunRingAndSparkScene(), BattleFx_RunRushingStrike(), BattleFx_RunShatteringOpening(), BattleFx_RunShiningStar(), BattleFx_RunSparkGroups(), BattleFx_RunStatBoost(), BattleFx_RunStatReduction(), BattleFx_RunStreakVolley(), BattleFx_RunSwirlSwipe(), BattleFx_RunTargetBursts(), BattleFx_RunTargetMotes(), BattleFx_RunTargetStrike(), BattleFx_RunThor(), BattleFx_RunTorch(), BattleFx_RunTriangleStrike(), BattleFx_RunVolcano(), BattleFx_RunWhirlwind(), BattleFx_StartElementStreaks(), BattleFx_StepPaletteToResource(), BattlePalette_UpdateBlend(), BattlePres_RunItem(), CharacterSelector_RunRearrange(), Clear_LoadBackground(), Graphics_AdjustPaletteBank(), Graphics_ClearCharacterBlockAndPalette(), Graphics_ConvertBackgroundToBlueRamp(), Graphics_LoadCharacterBlockAndPalette(), Graphics_UpdatePhasePalette(), KolimaPalette_Capture(), LuckyDice_Run(), Map_LoadAreaGraphics(), Map_LoadLayeredScene(), Map_ShowWorldMap(), Palette_BrightenBgEntries(), Palette_CopyBanksWithBrightnessOffset(), Palette_StepTowardResource(), PaletteFade_Init(), PaletteFade_Update(), PaletteQueue_Add(), ReelGame_Run(), Resource_LoadAndDecompress(), StatusMenu_Run(), Title_LoadBackground(), Title_LoadIntroBackgrounds(), Title_ShowAnimatedSplash(), Title_ShowIntro(), Title_ShowSplashScreen(), TretPalette_SaveSceneColors(), and UiText_LoadRemappedGlyph().
| #define BG_PLTT_COLOR | ( | palette, | |
| color ) |
Definition at line 158 of file io_reg.h.
Referenced by BattleBackground_Load(), BattleFx_RunJudgment(), BattleFx_RunKirin(), BattleFx_RunParticleStreams(), BattleFx_RunShatteringOpening(), BattlePresentation_ConfigurePaletteFade(), CharacterSelector_RunRearrange(), DebugMenu_SelectItem(), DjinnMenu_Run(), Field_StartEncounterTransition(), Graphics_ConvertBackgroundToBlueRamp(), ItemLevel_SelectAbility(), ItemLevel_SelectItem(), Menu_OpenBackdropScreen(), MercuryLighthouse_ClearPalette(), MercuryLighthouse_CycleEntrancePalette(), MercuryLighthouse_CyclePalette(), MercuryLighthouse_CycleWaterfallPalette(), MercuryLighthouse_FadePaletteToBlack(), MercuryLighthouse_FadePaletteToWhite(), NameEntry_EditOwnerName(), Palette_CopyObjectBankToBackground14(), Palette_DarkenSceneStep(), Palette_LightenBankHighlight(), Palette_StepFadeTransfer(), PaletteGlow_Update(), PaletteGlow_UpdateSine(), PartyTalkMenu_Choose(), ReelGame_Run(), RunLuckyDice(), RunReelGame(), StatusMenu_Run(), Ui_FillBank15PaletteGrey(), Ui_LoadWindowGraphics(), Ui_SetBank15PaletteAndClearRenderMode(), UiWindow_DrawStatusBarTiles(), and WindowColor_WritePalette().
| #define OBJ_PLTT ((volatile u16 *)0x05000200) |
Definition at line 159 of file io_reg.h.
Referenced by BattleBackground_Load(), BattleEffect_InitializeBuffers(), BattlePalette_UpdateBlend(), BattlePresentation_ConfigurePaletteFade(), CharacterSelector_RunRearrange(), DebugMenu_SelectItem(), ItemLevel_SelectAbility(), ItemLevel_SelectItem(), KolimaPalette_Capture(), LuckyDice_Run(), Palette_CopyObjectBankToBackground14(), Palette_DarkenSceneStep(), Palette_LoadBasicObjColors(), PaletteFade_Init(), PaletteFade_Update(), ReelGame_Run(), StatusMenu_Run(), Title_LoadIntroBackgrounds(), Title_LoadSprites(), Ui_LoadWindowGraphics(), and UiText_LoadRemappedGlyph().
| #define OBJ_PLTT_COLOR | ( | palette, | |
| color ) |
Definition at line 160 of file io_reg.h.
Referenced by Colosso_DrawGauge(), Colosso_LoadLettering(), OptionMenu_Open(), ReelGame_Run(), Title_LoadSprites(), and UiGlyph_LoadEntryWithPalette().
| #define RGB | ( | r, | |
| g, | |||
| b ) |
A 15-bit colour from its red, green and blue levels (0 to 31 each), as the palette stores it: blue in the high bits.
Definition at line 164 of file io_reg.h.
Referenced by BattleFx_RunCybele(), BattleFx_RunEruption(), BattleFx_RunGaia(), BattleFx_RunJudgment(), BattleFx_RunMercuryDjinnCapture(), BattleFx_RunParticleStreams(), BattleFx_RunShatteringOpening(), BattleFx_StepPaletteToResource(), Debug_RunPaletteEditor(), Field_StartEncounterTransition(), FieldFx_UpdateMindReadWave(), Graphics_ConvertBackgroundToBlueRamp(), Graphics_UpdatePhasePalette(), Palette_BrightenBgEntries(), Palette_DarkenSceneStep(), Palette_StepTowardResource(), ReelGame_Run(), RunSceneTransitionEffect(), Ui_LoadWindowGraphics(), Ui_SetBank15PaletteAndClearRenderMode(), and WaitFrames().
| #define BG_CHAR_BLOCK | ( | n | ) |
Definition at line 166 of file io_reg.h.
Referenced by BattleBackground_Load(), BattleFx_BeginCanvasLayer(), BattleFx_EndCanvasLayer(), BattleFx_EndElementStreaks(), BattleFx_FlushPendingGraphicsTransfer(), BattleFx_OpenCanvasLayer(), BattleFx_PlayUnitElementEffect(), BattleFx_ProcessPendingGraphicsTransfer(), BattleFx_RunCastingImpact(), BattleFx_RunDjinniEntrance(), BattleFx_RunImpactBurst(), BattleFx_RunParticleStreams(), BattleFx_RunQuake(), BattleFx_RunRingAndSparkScene(), BattleFx_RunShatteringOpening(), BattleFx_SetupBlendedDisplay(), BattleFx_SetupCanvasTileMap(), BattleFx_UploadStarField(), CastingImpact_EndPrelude(), DisplayTransition_FillTilemapAndSolidTile(), DisplayTransition_UpdateFrame(), DjinnMenu_Run(), Graphics_ClearCharacterBlockAndPalette(), Graphics_ConvertBackgroundToBlueRamp(), Graphics_LoadCharacterBlockAndPalette(), Graphics_ResetVramBlockAndReleaseHeapBlocks(), ItemMenu_Run(), Map_LoadLayeredScene(), Map_ShowBg1FromBuffer(), Map_ShowWorldMap(), MapAnimation_PresentFrame(), MapAnimation_Update(), Menu_BuildPatternTiles(), Menu_OpenBackdropScreen(), ReelGame_Run(), StatusMenu_Run(), Title_LoadIntroBackgrounds(), Title_ShowAnimatedSplash(), Title_ShowIntro(), Title_ShowSplashScreen(), Ui_LoadWindowGraphics(), UiText_LoadRemappedGlyph(), UiText_RenderStringTiles(), UiWindow_OverlayTilePattern(), UiWork_Initialize(), Vram_CopyTile(), WorldMap_BeginStillView(), and WorldMap_LoadGraphics().
| #define BG_SCREEN_BLOCK | ( | n | ) |
Definition at line 167 of file io_reg.h.
Referenced by BattleBackground_Load(), BattleFx_SetupCanvasTileMap(), BattlePres_DrawTransitionRows(), BattlePres_RunEntryTransition(), BattlePresentation_ConfigurePaletteFade(), DebugText_Clear(), DebugText_Print(), DisplayScroll_RunSlideshow(), DisplayTransition_FillTilemapAndSolidTile(), GetWorldMapCollision(), LuckyDice_Run(), Map_DrawCellPanel(), Map_RenderMetatileColumn(), Map_RenderMetatileRow(), Map_RenderPaletteMappedColumn(), Map_RenderPaletteMappedRow(), Map_SetCameraCenter(), Map_WriteLayerCellTile(), ReelGame_Run(), SerialTest_Run(), Title_LoadIntroBackgrounds(), Title_ShowAnimatedSplash(), Title_ShowIntro(), Title_ShowSplashScreen(), and WorldMap_LoadGraphics().
| #define TILE_SIZE_4BPP 32 |
Definition at line 168 of file io_reg.h.
Referenced by Menu_OpenBackdropScreen(), UiText_RenderStringTiles(), UiWindow_OverlayTilePattern(), UiWork_Initialize(), and Vram_CopyTile().
| #define OBJ_VRAM0 0x06010000 |
Sprite tile memory, as pret names it: the 32 KB from 0x06010000.
Definition at line 170 of file io_reg.h.
Referenced by BattleEvent_Playback(), DisplayScroll_DrawLine(), DisplayScroll_InitObjectTable(), LuckyDice_Run(), Map_RenderAnimatedTileFrame(), ReelGame_Run(), Title_LoadIntroBackgrounds(), UiText_DrawGlyph(), and VramCache_Load().
| #define REG_TM3CNT (*(volatile u32 *)0x0400010c) |
Definition at line 172 of file io_reg.h.
Referenced by SerialRuntime_DisableTransfer(), SerialRuntime_PollAndTransfer(), and SerialRuntime_PollStatus().
| #define REG_TM3CNT_H (*(volatile u16 *)0x0400010e) |
Definition at line 173 of file io_reg.h.
Referenced by SerialRuntime_PrepareSendPacket().
| #define TIMER_INTR_ENABLE 0x0040 |
TMxCNT_H flags, as pret names them.
Definition at line 176 of file io_reg.h.
Referenced by SerialRuntime_PrepareSendPacket().
| #define TIMER_ENABLE 0x0080 |
Definition at line 177 of file io_reg.h.
Referenced by AudioEngine_SetPcmRate(), and SerialRuntime_PrepareSendPacket().
| #define REG_SIODATA32 ((volatile u32 *)0x04000120) |
Definition at line 179 of file io_reg.h.
Referenced by SerialRuntime_HandleTransferInterrupt().
| #define REG_SIOCNT (*(volatile u32 *)0x04000128) |
Definition at line 180 of file io_reg.h.
Referenced by LinkLobby_PeerSlotMatches(), SaveMenu_Run(), SerialRuntime_ExchangePayloads(), SerialRuntime_HandleTransferInterrupt(), SerialRuntime_Initialize(), SerialRuntime_PollAndTransfer(), SerialRuntime_PollStatus(), SerialRuntime_StepBlockTransfer(), and SerialRuntime_WaitForStatusMask().
| #define REG_SIOCNT16 (*(volatile u16 *)0x04000128) |
Definition at line 181 of file io_reg.h.
Referenced by SerialRuntime_DisableTransfer(), and SerialRuntime_Initialize().
| #define REG_KEYINPUT (*(volatile u16 *)0x04000130) |
Definition at line 183 of file io_reg.h.
Referenced by System_VBlankHandler().
| #define REG_KEYCNT (*(volatile u16 *)0x04000132) |
Definition at line 184 of file io_reg.h.
Referenced by Input_HandleKeyInterrupt(), Runtime_InstallIwramAndIrqs(), System_Initialize(), and WaitFrames().
| #define REG_RCNT (*(volatile u16 *)0x04000134) |
Definition at line 185 of file io_reg.h.
Referenced by SerialRuntime_Initialize().
| #define SIO_115200_BPS 0x0003 |
Definition at line 188 of file io_reg.h.
Referenced by SerialRuntime_DisableTransfer(), and SerialRuntime_Initialize().
| #define SIO_32BIT_MODE 0x1000 |
Definition at line 190 of file io_reg.h.
Referenced by SerialRuntime_Initialize().
| #define SIO_MULTI_MODE 0x2000 |
Definition at line 191 of file io_reg.h.
Referenced by SerialRuntime_DisableTransfer(), and SerialRuntime_Initialize().
| #define SIO_INTR_ENABLE 0x4000 |
Definition at line 192 of file io_reg.h.
Referenced by SerialRuntime_Initialize().
| #define RCNT_SIO_MODE 0x0000 |
RCNT's mode: 0 leaves the port to SIOCNT's serial modes; bit 15 alone makes it general-purpose pins.
Definition at line 196 of file io_reg.h.
Referenced by SerialRuntime_Initialize().
| #define RCNT_GPIO_MODE 0x8000 |
Definition at line 197 of file io_reg.h.
Referenced by SerialRuntime_Initialize().
| #define DMA_DEST_FIXED 0x0040 |
Definition at line 203 of file io_reg.h.
Referenced by AudioEngine_Initialize(), and AudioEngine_SuspendDirectSound().
| #define DMA_DEST_RELOAD 0x0060 |
Definition at line 204 of file io_reg.h.
Referenced by MapAnimation_ApplyAffineFrame().
| #define DMA_SRC_FIXED 0x0100 |
Definition at line 207 of file io_reg.h.
Referenced by DisplayBlend_StartScript(), GameState_InitDefaults(), and Title_ShowIntro().
| #define DMA_REPEAT 0x0200 |
Definition at line 208 of file io_reg.h.
Referenced by AudioEngine_Initialize(), AudioEngine_ResumeDirectSound(), AudioEngine_SuspendDirectSound(), and MapAnimation_ApplyAffineFrame().
| #define DMA_32BIT 0x0400 |
Definition at line 210 of file io_reg.h.
Referenced by AltmillerCave_BeginRetreat(), AudioEngine_Initialize(), AudioEngine_ResumeDirectSound(), AudioEngine_SuspendDirectSound(), BattleEffect_InitializeBuffers(), BattleEffect_InitializeSharedScene(), BattleFx_BuildBuffer(), BattlePalette_UpdateBlend(), Clear_LoadBackground(), Colosso_LoadLettering(), CrossboneIslePillarRooms_ReadMapCell(), CrossboneIslePillarRooms_SortPillarActors(), DisplayBlend_StartScript(), DisplayTransition_FillTilemapAndSolidTile(), DisplayTransition_UpdateFrame(), Event_MovePillar(), FieldFx_UpdateLightning(), GameState_InitDefaults(), ItemMenu_SelectGiveQuantity(), KolimaForestBend_Initialize(), KolimaPalette_Capture(), KolimaPalette_Restore(), KolimaPalette_SaveFirst(), KolimaPalette_SaveSecond(), LuckyDice_Run(), Map_LoadAreaGraphics(), Map_ShowBg1FromBuffer(), Map_ShowWorldMap(), Map_WriteLayerCellTile(), MapAnimation_ApplyAffineFrame(), MapAnimation_PresentFrame(), MapAnimation_Update(), ObjectTable_Restore(), ObjectTable_Snapshot(), Palette_LightenBankHighlight(), Palette_StepTowardResource(), ReelGame_Run(), ReelGame_RunFrame(), ReelGame_TransferCanvas(), RunLuckyDice(), RunReelGame(), Shop_CreatePriceSprite(), Shop_SaveAndTintFieldPalette(), Shop_SelectQuantity(), Sprite_ComposeAnimationFrame(), Title_LoadBackground(), Title_LoadSprites(), TretPalette_SaveSceneColors(), WorldMap_BeginStillView(), and WorldMap_LoadGraphics().
| #define DMA_START_HBLANK 0x2000 |
Definition at line 214 of file io_reg.h.
Referenced by MapAnimation_ApplyAffineFrame().
| #define DMA_START_SPECIAL 0x3000 |
Definition at line 215 of file io_reg.h.
Referenced by AudioEngine_ResumeDirectSound().
| #define DMA_ENABLE 0x8000 |
Definition at line 217 of file io_reg.h.
Referenced by AltinPeak_StepPaletteAnim(), AltmillerCave_BeginRetreat(), AudioEngine_Initialize(), AudioEngine_ResumeDirectSound(), AudioEngine_SuspendDirectSound(), BattleEffect_InitializeBuffers(), BattleEffect_InitializeSharedScene(), BattleFx_ArmBg0HBlankDma(), BattleFx_BuildBuffer(), BattleFx_StartWindowHBlankDma(), BattlePalette_UpdateBlend(), CharacterSelector_RunRearrange(), Clear_LoadBackground(), Colosso_DrawGauge(), Colosso_LoadLettering(), CrossboneIslePillarRooms_ReadMapCell(), CrossboneIslePillarRooms_SortPillarActors(), DebugMenu_SelectItem(), DisplayBlend_StartScript(), DisplayScroll_ArmHBlankDma(), DisplayScroll_DisarmHBlankDma(), DisplayTransition_FillTilemapAndSolidTile(), DisplayTransition_UpdateFrame(), DisplayTransition_UpdateScanlineTable(), Dma_Stop(), Dma_Wait(), Event_MovePillar(), FieldFx_UpdateLightning(), Game_ResetForNewGame(), GameState_InitDefaults(), ItemLevel_SelectAbility(), ItemLevel_SelectItem(), ItemMenu_SelectGiveQuantity(), KolimaForestBend_Initialize(), KolimaPalette_Capture(), KolimaPalette_Restore(), KolimaPalette_SaveFirst(), KolimaPalette_SaveSecond(), LuckyDice_Run(), Map_LoadAreaGraphics(), Map_ShowBg1FromBuffer(), Map_ShowWorldMap(), Map_WriteLayerCellTile(), MapAnimation_ApplyAffineFrame(), MapAnimation_PresentFrame(), MapAnimation_Update(), Menu_OpenBackdropScreen(), ObjectTable_Restore(), ObjectTable_Snapshot(), Palette_CopyObjectBankToBackground14(), Palette_LightenBankHighlight(), Palette_LoadBasicObjColors(), Palette_StepTowardResource(), Palette_Transform(), PaletteQueue_Add(), PaletteQueue_StepCycles(), ReelGame_Run(), ReelGame_RunFrame(), ReelGame_TransferCanvas(), Ripple_Stop(), RunLuckyDice(), RunReelGame(), ShipGlow_CyclePalette(), Shop_CreatePriceSprite(), Shop_SaveAndTintFieldPalette(), Shop_SelectQuantity(), Sprite_ComposeAnimationFrame(), StatusMenu_Run(), System_Initialize(), System_VBlankHandler(), Title_LoadBackground(), Title_LoadIntroBackgrounds(), Title_LoadSprites(), Title_ShowIntro(), TretPalette_SaveSceneColors(), Ui_LoadWindowGraphics(), WaitFrames(), WorldMap_BeginStillView(), and WorldMap_LoadGraphics().
| #define DMA_START_TIMING_DRQ_REPEAT (DMA_START_SPECIAL | DMA_DREQ_ON | DMA_REPEAT) |
A DMA control's start timing (bits 12 and 13), cartridge request (bit 11) and repeat (bit 9): the bits cleared before a channel is stopped.
Definition at line 220 of file io_reg.h.
Referenced by BattleFx_ArmBg0HBlankDma(), BattleFx_StartWindowHBlankDma(), DisplayScroll_ArmHBlankDma(), DisplayScroll_DisarmHBlankDma(), DisplayTransition_UpdateFrame(), DisplayTransition_UpdateScanlineTable(), Dma_Stop(), Game_ResetForNewGame(), MapAnimation_ApplyAffineFrame(), ReelGame_RunFrame(), Ripple_Stop(), System_Initialize(), and System_VBlankHandler().
| #define DMA_COPY_WORDS | ( | n | ) |
Definition at line 226 of file io_reg.h.
Referenced by BattleBackground_Load(), BattleFx_InitializeStarField(), BattleFx_PlayUnitElementEffect(), BattlePres_RunEntryTransition(), BattlePres_UpdateHBlankScroll(), BattlePresentation_BuildSortedUnitEntries(), BattlePresentation_UploadTileVariant(), ColorBuffer_BackupAndBrighten(), ColorBuffer_BackupAndBrightenPartial(), ColorBuffer_BackupAndDarken(), ColorBuffer_BackupAndDarkenPartial(), ColorBuffer_BackupAndHalve(), ColorBuffer_BackupAndHalveNonzero(), ColorBuffer_BackupAndScaleNonzeroThreeQuarters(), ColorBuffer_BackupAndScaleThreeQuarters(), DisplayScroll_UpdateObjects(), Dma_StopAllThenRunHook(), Graphics_LoadCharacterBlockAndPalette(), Palette_Transform(), PaletteFade_Init(), PaletteFade_Update(), Resource_DecompressHalfwords(), Runtime_InstallIwramAndIrqs(), SaveState_InitializeWorkspace(), SaveState_InvalidateSlot(), SaveState_ReadRecordPayload(), SaveState_ReadSlotAndCheckChecksum(), SaveState_WriteRecord(), SerialRuntime_CollectReceivedPayloads(), SerialRuntime_PrepareSendPacket(), SerialRuntime_StepBlockTransfer(), SerialTest_Run(), Sound_LoadPresetParameters(), System_CopyBuildStamp(), System_VBlankHandler(), Title_LoadIntroBackgrounds(), Title_ShowAnimatedSplash(), Title_ShowIntro(), Title_ShowSplashScreen(), Title_UpdateIntroSprites(), Transform_BuildLookAt(), Ui_LoadWindowGraphics(), VramCache_Load(), and WaitFrames().
| #define DMA_COPY_HALFWORDS | ( | n | ) |
Definition at line 227 of file io_reg.h.
Referenced by BattleBackground_Load(), BattlePresentation_ConfigurePaletteFade(), BattlePresentation_InitializeTilePattern(), and BattlePresentation_SetPaletteLevel().
| #define DMA_HBLANK_HALFWORD_PER_LINE ((DMA_ENABLE | DMA_START_HBLANK | DMA_REPEAT | DMA_DEST_RELOAD) << 16 | 1) |
Definition at line 228 of file io_reg.h.
Referenced by BattleFx_ArmBg0HBlankDma(), BattleFx_ArmPaletteHBlankDma(), BattleFx_ArmWin0HBlankDma(), BattleFx_BuildWindowEdgeTable(), BattlePres_UpdateHBlankScroll(), and ReelGame_RunFrame().
| #define DMA_HBLANK_WORD_PER_LINE |
Definition at line 230 of file io_reg.h.
Referenced by BattleFx_ArmBg2AffineHBlankDma(), BattleFx_StartWindowHBlankDma(), and DisplayScroll_ArmHBlankDma().
| #define CPU_SET_SRC_FIXED 0x01000000 |
BIOS CpuSet control flags, above its count.
Definition at line 236 of file io_reg.h.
Referenced by AudioEngine_Initialize(), AudioEngine_SuspendDirectSound(), and CgbAudio_Initialize().
| #define CPU_SET_32BIT 0x04000000 |
Definition at line 237 of file io_reg.h.
Referenced by Audio_Initialize(), AudioEngine_Initialize(), AudioEngine_SuspendDirectSound(), and CgbAudio_Initialize().
| #define OAM ((void *)0x07000000) |
Definition at line 239 of file io_reg.h.
Referenced by DisplayScroll_UpdateObjects(), LuckyDice_Run(), ReelGame_RunFrame(), System_VBlankHandler(), and Title_UpdateIntroSprites().
| #define OAM_SIZE 0x400 |
OAM's size in bytes: 128 sprites of 8 bytes.
Definition at line 241 of file io_reg.h.
Referenced by DisplayScroll_UpdateObjects(), and System_VBlankHandler().
| #define KEYS_MASK 0x3ff |
Definition at line 259 of file io_reg.h.
Referenced by System_VBlankHandler().
| #define REG_BG0CNT (*(volatile u16 *)0x04000008) |
Definition at line 261 of file io_reg.h.
Referenced by BattlePres_RunEntryTransition(), BattlePres_RunMosaicFadeOut(), and DebugText_Clear().
| #define REG_BG0VOFS (*(volatile u16 *)0x04000012) |
Definition at line 262 of file io_reg.h.
Referenced by BattlePresentation_ClearBg0VerticalOffset(), and Graphics_ClearBg0Vofs().
| #define REG_SOUNDCNT_H (*(volatile u16 *)0x04000082) |
Definition at line 263 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define SOUND_ALL_MIX_FULL (SOUND_CGB_MIX_FULL | SOUND_A_MIX_FULL | SOUND_B_MIX_FULL) |
Definition at line 269 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define SOUND_A_RIGHT_OUTPUT 0x0100 |
Definition at line 271 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define SOUND_A_TIMER_0 0x0000 |
Definition at line 273 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define SOUND_A_FIFO_RESET 0x0800 |
Definition at line 274 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define SOUND_B_LEFT_OUTPUT 0x2000 |
Definition at line 276 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define SOUND_B_TIMER_0 0x0000 |
Definition at line 277 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define SOUND_B_FIFO_RESET 0x8000 |
Definition at line 278 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define REG_FIFO_A (*(volatile u32 *)0x040000a0) |
Definition at line 280 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define REG_FIFO_B (*(volatile u32 *)0x040000a4) |
Definition at line 281 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define REG_DMA0SAD (*(volatile u32 *)0x040000b0) |
Definition at line 282 of file io_reg.h.
Referenced by BattlePres_UpdateHBlankScroll().
| #define REG_DMA1SAD (*(volatile u32 *)0x040000bc) |
Definition at line 286 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define REG_DMA1DAD (*(volatile u32 *)0x040000c0) |
Definition at line 287 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define REG_DMA1CNT (*(volatile u32 *)0x040000c4) |
Definition at line 288 of file io_reg.h.
Referenced by AudioEngine_Initialize(), and AudioEngine_SuspendDirectSound().
| #define REG_DMA1CNT_H (*(volatile u16 *)0x040000c6) |
Definition at line 289 of file io_reg.h.
Referenced by AudioEngine_Initialize(), AudioEngine_ResumeDirectSound(), and AudioEngine_SuspendDirectSound().
| #define REG_DMA2SAD (*(volatile u32 *)0x040000c8) |
Definition at line 290 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define REG_DMA2DAD (*(volatile u32 *)0x040000cc) |
Definition at line 291 of file io_reg.h.
Referenced by AudioEngine_Initialize().
| #define REG_DMA2CNT (*(volatile u32 *)0x040000d0) |
Definition at line 292 of file io_reg.h.
Referenced by AudioEngine_Initialize(), and AudioEngine_SuspendDirectSound().
| #define REG_DMA2CNT_H (*(volatile u16 *)0x040000d2) |
Definition at line 293 of file io_reg.h.
Referenced by AudioEngine_Initialize(), AudioEngine_ResumeDirectSound(), and AudioEngine_SuspendDirectSound().
| #define REG_TM0CNT_L (*(volatile u16 *)0x04000100) |
Definition at line 298 of file io_reg.h.
Referenced by AudioEngine_SetPcmRate(), and SetFlashTimerIntr().
| #define REG_TM0CNT_H (*(volatile u16 *)0x04000102) |
Definition at line 299 of file io_reg.h.
Referenced by AudioEngine_SetPcmRate().
| #define REG_IE (*(volatile u16 *)0x04000200) |
Definition at line 305 of file io_reg.h.
Referenced by Runtime_InstallIwramAndIrqs(), Runtime_SetIrqHandler(), SerialRuntime_DisableTransfer(), SerialRuntime_Initialize(), SerialRuntime_PollAndTransfer(), SerialRuntime_PollStatus(), StartFlashTimer(), and StopFlashTimer().
| #define REG_IF (*(volatile u16 *)0x04000202) |
Definition at line 306 of file io_reg.h.
Referenced by SerialRuntime_DisableTransfer(), SerialRuntime_Initialize(), SerialRuntime_PollAndTransfer(), and SerialRuntime_PollStatus().
| #define REG_WAITCNT (*(volatile u16 *)0x04000204) |
Definition at line 307 of file io_reg.h.
Referenced by EraseAtmelFlashBlock(), EraseAtmelFlashChip(), EraseFlashChip(), EraseFlashSector(), Flash_VerifySector(), IdentifyFlash(), ProgramAtmelFlashBlock(), ProgramFlashSector(), ProgramFlashSectorWithEraseRetry(), ReadFlash(), and System_Initialize().
| #define REG_IME (*(volatile u16 *)0x04000208) |
Definition at line 308 of file io_reg.h.
Referenced by BattleFx_PlayUnitElementEffect(), BattleFx_RunJudgment(), BattlePresentation_SetPaletteLevel(), EraseAtmelFlashSector(), ProgramAtmelFlashSector(), Runtime_InstallIwramAndIrqs(), SerialRuntime_CollectReceivedPayloads(), SerialRuntime_DisableTransfer(), SerialRuntime_Initialize(), SerialRuntime_PollAndTransfer(), SerialRuntime_PollStatus(), SerialRuntime_ResetTransferState(), StartFlashTimer(), StopFlashTimer(), and System_SoftReset().
| #define KEYCNT_SOFT_RESET 0xc00f |
A, B, Select and Start.
Definition at line 311 of file io_reg.h.
Referenced by System_Initialize(), and WaitFrames().
| #define KEYCNT_DISARMED 0xc3ff |
Requires all ten keys together to prevent the reset chord retriggering it.
Definition at line 313 of file io_reg.h.
Referenced by Input_HandleKeyInterrupt(), and Runtime_InstallIwramAndIrqs().
| #define KEYCNT_SHOULDERS_WAKE 0xc300 |
| #define WAITCNT_GAME 0x4014 |
Definition at line 317 of file io_reg.h.
Referenced by System_Initialize().
| enum DisplayControl |