libws libws
WSwan hardware library for the Wonderful toolchain
|
#define WS_DISPLAY_BACK_PORT 0x01 |
#define WS_DISPLAY_CTRL_SCR1_ENABLE 0x01 |
#define WS_DISPLAY_CTRL_SCR2_ENABLE 0x02 |
#define WS_DISPLAY_CTRL_SCR2_WIN_INSIDE 0x20 |
#define WS_DISPLAY_CTRL_SCR2_WIN_OUTSIDE 0x30 |
#define WS_DISPLAY_CTRL_SPR_ENABLE 0x04 |
#define WS_DISPLAY_CTRL_SPR_WIN_ENABLE 0x08 |
#define WS_DISPLAY_LINE_IRQ_PORT 0x03 |
#define WS_DISPLAY_LINE_PORT 0x02 |
#define WS_LCD_CTRL_PORT 0x14 |
#define WS_LCD_ICON_LATCH_PORT 0x1A |
#define WS_LCD_ICON_ORIENT_H 0x04 |
#define WS_LCD_ICON_ORIENT_V 0x02 |
#define WS_LCD_ICON_PORT 0x15 |
#define WS_LCD_ICON_SLEEP 0x01 |
#define WS_LCD_NEXT_LINE_PORT 0x18 |
#define WS_LCD_STN_VSYNC_PORT 0x17 |
#define WS_LCD_VTOTAL_PORT 0x16 |
#define WS_SCR1_SCRL_X_PORT 0x10 |
#define WS_SCR1_SCRL_Y_PORT 0x11 |
#define WS_SCR2_SCRL_X_PORT 0x12 |
#define WS_SCR2_SCRL_Y_PORT 0x13 |
#define WS_SCR2_WIN_X1_PORT 0x08 |
#define WS_SCR2_WIN_X2_PORT 0x0A |
#define WS_SCR2_WIN_Y1_PORT 0x09 |
#define WS_SCR2_WIN_Y2_PORT 0x0B |
#define WS_SCR_BASE_ADDR1 | ( | n | ) |
#define WS_SCR_BASE_ADDR2 | ( | n | ) |
#define WS_SCR_BASE_PORT 0x07 |
#define WS_SPR_BASE_ADDR | ( | n | ) |
#define WS_SPR_BASE_PORT 0x04 |
#define WS_SPR_COUNT_PORT 0x06 |
#define WS_SPR_FIRST_PORT 0x05 |
#define WS_SPR_WIN_X1_PORT 0x0C |
#define WS_SPR_WIN_X2_PORT 0x0E |
#define WS_SPR_WIN_Y1_PORT 0x0D |