nds/arm9/background.h File Reference

#include <nds/jtypes.h>

Defines

#define BG_MOSAIC_ENABLE   0x40
#define BG_COLOR_256   0x80
#define BG_COLOR_16   0x00
#define CHAR_BASE_BLOCK(n)   (((n)*0x4000)+ 0x06000000)
#define CHAR_BASE_BLOCK_SUB(n)   (((n)*0x4000)+ 0x06200000)
#define SCREEN_BASE_BLOCK(n)   (((n)*0x800) + 0x06000000)
#define SCREEN_BASE_BLOCK_SUB(n)   (((n)*0x800) + 0x06200000)
#define CHAR_SHIFT   2
#define SCREEN_SHIFT   8
#define TEXTBG_SIZE_256x256   0x0
#define TEXTBG_SIZE_256x512   0x8000
#define TEXTBG_SIZE_512x256   0x4000
#define TEXTBG_SIZE_512x512   0xC000
#define ROTBG_SIZE_128x128   0x0
#define ROTBG_SIZE_256x256   0x4000
#define ROTBG_SIZE_512x512   0x8000
#define ROTBG_SIZE_1024x1024   0xC000
#define WRAPAROUND   0x1

Define Documentation

#define BG_COLOR_16   0x00

#define BG_COLOR_256   0x80

#define BG_MOSAIC_ENABLE   0x40

#define CHAR_BASE_BLOCK (  )     (((n)*0x4000)+ 0x06000000)

#define CHAR_BASE_BLOCK_SUB (  )     (((n)*0x4000)+ 0x06200000)

#define CHAR_SHIFT   2

#define ROTBG_SIZE_1024x1024   0xC000

#define ROTBG_SIZE_128x128   0x0

#define ROTBG_SIZE_256x256   0x4000

#define ROTBG_SIZE_512x512   0x8000

#define SCREEN_BASE_BLOCK (  )     (((n)*0x800) + 0x06000000)

#define SCREEN_BASE_BLOCK_SUB (  )     (((n)*0x800) + 0x06200000)

#define SCREEN_SHIFT   8

#define TEXTBG_SIZE_256x256   0x0

#define TEXTBG_SIZE_256x512   0x8000

#define TEXTBG_SIZE_512x256   0x4000

#define TEXTBG_SIZE_512x512   0xC000

#define WRAPAROUND   0x1


Generated on Tue Jan 22 15:48:54 2008 for libnds(ARM9) by  doxygen 1.5.4