sgdk: sram.h Source File

sgdk

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

sram.h
Go to the documentation of this file.

    00001
    00024 #ifndef _SRAM_H_
    00025 #define _SRAM_H_
    00026
    00027
    00028 #include "mapper.h"
    00029
    00030
    00031 #define SRAM_CONTROL    MAPPER_BASE
    00032 #define SRAM_BASE       0x200001
    00033
    00034
    00039 void SRAM_enable();
    00044 void SRAM_enableRO();
    00049 void SRAM_disable();
    00050
    00059 u8 SRAM_readByte(u32 offset);
    00068 u16 SRAM_readWord(u32 offset);
    00077 u32 SRAM_readLong(u32 offset);
    00087 void SRAM_writeByte(u32 offset, u8 val);
    00097 void SRAM_writeWord(u32 offset, u16 val);
    00107 void SRAM_writeLong(u32 offset, u32 val);
    00108
    00109
    00110 #endif // _SRAM_H_

All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines