llvm-mos-sdk
|
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | MMU_WRITE 0x00 |
#define | MMU_READ 0x80 |
#define | MMU_ENABLE 0x00 |
#define | MMU_DISABLE 0x80 |
#define | MMU_REDBUS_ID 0x00 |
#define | MMU_REDBUS_WINDOW_OFFSET 0x01 |
#define | MMU_REDBUS_ACTIVE 0x02 |
#define | MMU_ADDRESS_BRK 0x05 |
#define | MMU_ADDRESS_POR 0x06 |
#define | MMU_DEBUG 0xFF |
#define | IO_DISPLAY_ROW_Y ((volatile uint8_t *)0x0300) |
#define | IO_DISPLAY_CURSOR_X ((volatile uint8_t *)0x0301) |
#define | IO_DISPLAY_CURSOR_Y ((volatile uint8_t *)0x0302) |
#define | IO_DISPLAY_CURSOR_MODE ((volatile uint8_t *)0x0303) |
#define | IO_DISPLAY_KEY_BUFFER_START ((volatile uint8_t *)0x0304) |
#define | IO_DISPLAY_KEY_BUFFER_POS ((volatile uint8_t *)0x0305) |
#define | IO_DISPLAY_KEY_BUFFER_VALUE ((volatile uint8_t *)0x0306) |
#define | IO_DISPLAY_BLIT_MODE ((volatile uint8_t *)0x0307) |
#define | IO_DISPLAY_BLIT_SRC_X ((volatile uint8_t *)0x0308) |
#define | IO_DISPLAY_BLIT_SRC_Y ((volatile uint8_t *)0x0309) |
#define | IO_DISPLAY_BLIT_DEST_X ((volatile uint8_t *)0x030A) |
#define | IO_DISPLAY_BLIT_DEST_Y ((volatile uint8_t *)0x030B) |
#define | IO_DISPLAY_BLIT_WIDTH ((volatile uint8_t *)0x030C) |
#define | IO_DISPLAY_BLIT_HEIGHT ((volatile uint8_t *)0x030D) |
#define | IO_DISPLAY_BLIT_FILL_VALUE ((volatile uint8_t *)0x0308) |
#define | IO_DISPLAY_ROW ((volatile uint8_t *)0x0310) |
#define | IO_DRIVE_BUFFER ((volatile uint8_t *)0x0300) |
#define | IO_DRIVE_SECTOR ((volatile uint16_t *)0x0380) |
#define | IO_DRIVE_COMMAND ((volatile uint8_t *)0x0382) |
#define | DRIVE_STATUS_SUCCESS 0x00 |
#define | DRIVE_STATUS_ERROR 0xFF |
#define | IO_DRIVE_STATUS ((volatile uint8_t *)0x0382) |
#define | COLOR_WHITE 0x0001 |
#define | COLOR_ORANGE 0x0002 |
#define | COLOR_MAGENTA 0x0004 |
#define | COLOR_LIGHT_BLUE 0x0008 |
#define | COLOR_YELLOW 0x0010 |
#define | COLOR_LIME 0x0020 |
#define | COLOR_PINK 0x0040 |
#define | COLOR_GRAY 0x0080 |
#define | COLOR_LIGHT_GRAY 0x0100 |
#define | COLOR_CYAN 0x0200 |
#define | COLOR_PURPLE 0x0400 |
#define | COLOR_BLUE 0x0800 |
#define | COLOR_BROWN 0x1000 |
#define | COLOR_GREEN 0x2000 |
#define | COLOR_RED 0x4000 |
#define | COLOR_BLACK 0x8000 |
#define | IO_IOX_INPUT ((volatile uint16_t *)0x0300) |
#define | IO_IOX_OUTPUT ((volatile uint16_t *)0x0302) |
#define | IO_SORTRON_COMMAND ((volatile uint8_t *)0x0300) |
#define | SORTRON_STATUS_SUCCESS 0x00 |
#define | SORTRON_STATUS_ERROR 0xFF |
#define | IO_SORTRON_STATUS ((volatile uint8_t *)0x0300) |
#define | IO_SORTRON_ITEM_COUNT ((volatile uint8_t *)0x0301) |
#define | IO_SORTRON_ITEM_SLOT ((volatile uint16_t *)0x0302) |
#define | IO_SORTRON_ITEM_HASH ((volatile uint32_t *)0x0304) |
#define | IO_SORTRON_ITEM_DAMAGE ((volatile uint16_t *)0x0308) |
#define | IO_SORTRON_ITEM_MAX_DAMAGE ((volatile uint16_t *)0x030A) |
#define | IO_SORTRON_ITEM_IN_COLOR_TAG ((volatile uint8_t *)0x030C) |
#define | IO_SORTRON_ITEM_OUT_COLOR_TAG ((volatile uint8_t *)0x030D) |
Hardware defines.
#define COLOR_BLACK 0x8000 |
#define COLOR_BLUE 0x0800 |
#define COLOR_BROWN 0x1000 |
#define COLOR_CYAN 0x0200 |
#define COLOR_GRAY 0x0080 |
#define COLOR_GREEN 0x2000 |
#define COLOR_LIGHT_BLUE 0x0008 |
#define COLOR_LIGHT_GRAY 0x0100 |
#define COLOR_LIME 0x0020 |
#define COLOR_MAGENTA 0x0004 |
#define COLOR_ORANGE 0x0002 |
#define COLOR_PINK 0x0040 |
#define COLOR_PURPLE 0x0400 |
#define COLOR_RED 0x4000 |
#define COLOR_WHITE 0x0001 |
#define COLOR_YELLOW 0x0010 |
#define DRIVE_STATUS_ERROR 0xFF |
#define DRIVE_STATUS_SUCCESS 0x00 |
#define IO_DISPLAY_BLIT_DEST_X ((volatile uint8_t *)0x030A) |
#define IO_DISPLAY_BLIT_DEST_Y ((volatile uint8_t *)0x030B) |
#define IO_DISPLAY_BLIT_FILL_VALUE ((volatile uint8_t *)0x0308) |
#define IO_DISPLAY_BLIT_HEIGHT ((volatile uint8_t *)0x030D) |
#define IO_DISPLAY_BLIT_MODE ((volatile uint8_t *)0x0307) |
#define IO_DISPLAY_BLIT_SRC_X ((volatile uint8_t *)0x0308) |
#define IO_DISPLAY_BLIT_SRC_Y ((volatile uint8_t *)0x0309) |
#define IO_DISPLAY_BLIT_WIDTH ((volatile uint8_t *)0x030C) |
#define IO_DISPLAY_CURSOR_MODE ((volatile uint8_t *)0x0303) |
#define IO_DISPLAY_CURSOR_X ((volatile uint8_t *)0x0301) |
#define IO_DISPLAY_CURSOR_Y ((volatile uint8_t *)0x0302) |
#define IO_DISPLAY_KEY_BUFFER_POS ((volatile uint8_t *)0x0305) |
#define IO_DISPLAY_KEY_BUFFER_START ((volatile uint8_t *)0x0304) |
#define IO_DISPLAY_KEY_BUFFER_VALUE ((volatile uint8_t *)0x0306) |
#define IO_DISPLAY_ROW ((volatile uint8_t *)0x0310) |
#define IO_DISPLAY_ROW_Y ((volatile uint8_t *)0x0300) |
#define IO_DRIVE_BUFFER ((volatile uint8_t *)0x0300) |
#define IO_DRIVE_COMMAND ((volatile uint8_t *)0x0382) |
#define IO_DRIVE_SECTOR ((volatile uint16_t *)0x0380) |
#define IO_DRIVE_STATUS ((volatile uint8_t *)0x0382) |
#define IO_IOX_INPUT ((volatile uint16_t *)0x0300) |
#define IO_IOX_OUTPUT ((volatile uint16_t *)0x0302) |
#define IO_SORTRON_COMMAND ((volatile uint8_t *)0x0300) |
#define IO_SORTRON_ITEM_COUNT ((volatile uint8_t *)0x0301) |
#define IO_SORTRON_ITEM_DAMAGE ((volatile uint16_t *)0x0308) |
#define IO_SORTRON_ITEM_HASH ((volatile uint32_t *)0x0304) |
#define IO_SORTRON_ITEM_IN_COLOR_TAG ((volatile uint8_t *)0x030C) |
#define IO_SORTRON_ITEM_MAX_DAMAGE ((volatile uint16_t *)0x030A) |
#define IO_SORTRON_ITEM_OUT_COLOR_TAG ((volatile uint8_t *)0x030D) |
#define IO_SORTRON_ITEM_SLOT ((volatile uint16_t *)0x0302) |
#define IO_SORTRON_STATUS ((volatile uint8_t *)0x0300) |
#define MMU_ADDRESS_BRK 0x05 |
#define MMU_ADDRESS_POR 0x06 |
#define MMU_DEBUG 0xFF |
#define MMU_DISABLE 0x80 |
#define MMU_ENABLE 0x00 |
#define MMU_READ 0x80 |
#define MMU_REDBUS_ACTIVE 0x02 |
#define MMU_REDBUS_ID 0x00 |
#define MMU_REDBUS_WINDOW_OFFSET 0x01 |
#define MMU_WRITE 0x00 |
#define SORTRON_STATUS_ERROR 0xFF |
#define SORTRON_STATUS_SUCCESS 0x00 |
enum color_tag_t |
enum cursor_mode_t |
enum display_blit_mode_t |
enum drive_command_t |
enum sortron_command_t |