Alchemy
Loading...
Searching...
No Matches

ram_buffer.h File Reference

The work pointers in the gWorkSlot table, by name. More...

Go to the source code of this file.

Macros

#define Ram_MapCellBuffer   FIXED_ADDRESS((u8 *), 0x02010000, gMapCellBuffer)
#define Ram_DecodeBuffer   FIXED_ADDRESS((u8 *), 0x0201c000, gDecodeBuffer)
#define Ram_MapBlocks   FIXED_ADDRESS((u8 *), 0x02020000, gMapBlocks)
#define Ram_MapCollision   FIXED_ADDRESS((u8 *), 0x0202c000, gMapCollision)
#define Ram_BgTileBuffer   FIXED_ADDRESS((u8 *), 0x02038000, gBgTileBuffer)
#define Ram_ActorSpriteSlots   FIXED_ADDRESS((u8 *), 0x02018000, gActorSpriteSlots)
#define Ram_SoundMixer   FIXED_ADDRESS((u8 *), 0x03007000, SoundDriver_Mixer)
#define Ram_IwramHeapEnd   FIXED_ADDRESS((u8 *), 0x03007800, gCartridgeResetMarker)
#define Ram_FrameWaitStackTop   FIXED_ADDRESS((u8 *), 0x03007a00, gFrameWaitStackTop)
#define Ram_BgScroll   FIXED_ADDRESS((u8 *), 0x03001ad0, gBgScroll)
#define Ram_VramBlockCache   FIXED_ADDRESS((u8 *), 0x03001b10, gVramBlockCache)
#define Ram_WorkSlot   FIXED_ADDRESS((void **), 0x03001e50, gWorkSlot)
#define Ram_MapWork   ((void **)&gWorkSlot[8])
#define Ram_CameraWork   ((void **)&gWorkSlot[12])
#define Ram_EventWork   ((void **)&gWorkSlot[27])
#define Ram_DisplayWork   ((void **)&gWorkSlot[31])
#define Ram_ActorEffectWork   ((void **)&gWorkSlot[36])
#define Ram_Disp   ((void **)&gWorkSlot[42])
#define Ram_EffectWork   ((void **)&gWorkSlot[56])
#define Ram_SceneMapStateOffset   FIXED_OFFSET(0xc, gFieldBlendWork, gEventWork)

Detailed Description

The work pointers in the gWorkSlot table, by name.

Definition in file ram_buffer.h.

Macro Definition Documentation

◆ Ram_MapCellBuffer

#define Ram_MapCellBuffer   FIXED_ADDRESS((u8 *), 0x02010000, gMapCellBuffer)

◆ Ram_DecodeBuffer

#define Ram_DecodeBuffer   FIXED_ADDRESS((u8 *), 0x0201c000, gDecodeBuffer)

Definition at line 11 of file ram_buffer.h.

Referenced by MapAnimation_Update().

◆ Ram_MapBlocks

◆ Ram_MapCollision

◆ Ram_BgTileBuffer

#define Ram_BgTileBuffer   FIXED_ADDRESS((u8 *), 0x02038000, gBgTileBuffer)

Definition at line 14 of file ram_buffer.h.

Referenced by Map_LoadAreaGraphics(), and WorldMap_LoadGraphics().

◆ Ram_ActorSpriteSlots

#define Ram_ActorSpriteSlots   FIXED_ADDRESS((u8 *), 0x02018000, gActorSpriteSlots)

Definition at line 16 of file ram_buffer.h.

Referenced by SummonSlot_RegisterActorSprites(), and Ui_RunIconMonitor().

◆ Ram_SoundMixer

#define Ram_SoundMixer   FIXED_ADDRESS((u8 *), 0x03007000, SoundDriver_Mixer)

Definition at line 19 of file ram_buffer.h.

Referenced by Audio_Initialize().

◆ Ram_IwramHeapEnd

#define Ram_IwramHeapEnd   FIXED_ADDRESS((u8 *), 0x03007800, gCartridgeResetMarker)

◆ Ram_FrameWaitStackTop

#define Ram_FrameWaitStackTop   FIXED_ADDRESS((u8 *), 0x03007a00, gFrameWaitStackTop)

Definition at line 24 of file ram_buffer.h.

Referenced by WaitFrames().

◆ Ram_BgScroll

#define Ram_BgScroll   FIXED_ADDRESS((u8 *), 0x03001ad0, gBgScroll)

Definition at line 37 of file ram_buffer.h.

Referenced by BattlePres_AdvanceTransitionTimer().

◆ Ram_VramBlockCache

#define Ram_VramBlockCache   FIXED_ADDRESS((u8 *), 0x03001b10, gVramBlockCache)

Definition at line 38 of file ram_buffer.h.

Referenced by RenderOutput_Create().

◆ Ram_WorkSlot

#define Ram_WorkSlot   FIXED_ADDRESS((void **), 0x03001e50, gWorkSlot)

◆ Ram_MapWork

#define Ram_MapWork   ((void **)&gWorkSlot[8])

◆ Ram_CameraWork

#define Ram_CameraWork   ((void **)&gWorkSlot[12])

Definition at line 49 of file ram_buffer.h.

Referenced by BattlePres_AdvanceTransitionTimer().

◆ Ram_EventWork

#define Ram_EventWork   ((void **)&gWorkSlot[27])

◆ Ram_DisplayWork

#define Ram_DisplayWork   ((void **)&gWorkSlot[31])

◆ Ram_ActorEffectWork

#define Ram_ActorEffectWork   ((void **)&gWorkSlot[36])

Definition at line 52 of file ram_buffer.h.

◆ Ram_Disp

#define Ram_Disp   ((void **)&gWorkSlot[42])

Definition at line 53 of file ram_buffer.h.

Referenced by BattlePres_AdvanceTransitionTimer().

◆ Ram_EffectWork

#define Ram_EffectWork   ((void **)&gWorkSlot[56])

Definition at line 54 of file ram_buffer.h.

Referenced by EventObject_Initialize().

◆ Ram_SceneMapStateOffset

#define Ram_SceneMapStateOffset   FIXED_OFFSET(0xc, gFieldBlendWork, gEventWork)

Definition at line 56 of file ram_buffer.h.

Referenced by Event_DoraWakesIsaac(), and ValeInteriors_Initialize().