extern char patterns, patterns_end;
extern char palette;
extern char map, map_end;
u16 pad0;
u8 angle;
int main(void)
{
angle = 0;
while (1)
{
if (pad0)
{
switch (pad0)
{
angle++;
break;
angle--;
break;
}
}
}
return 0;
}
void bgInitMapTileSet7(u8 *tileSource, u8 *mapSource, u8 *tilePalette, u16 tileSize, u16 address)
Initializes a Tile & Map Set and Loads the Tile & Map GFX into VRAM for Mode 7.
void consoleInit(void)
Initialize console.
void WaitForVBlank(void)
Wait for vblank interrupt
the master include file for snes applications.
void setMode7Rot(u8 angle)
Change angle view in mode 7 with matrix transformation.
void setScreenOn(void)
Put screen On.
void setMode7(u8 mode)
Put screen in mode 7 with generic init.