SayoriOS 0.3.3

mem.h
1 #ifndef MEM_H
2 #define MEM_H
3
4 #include "portability.h"
5 #include "rom.h"
6 void mem_init(void);
7 unsigned char mem_get_byte(unsigned short);
8 unsigned short mem_get_word(unsigned short);
9 void mem_write_byte(unsigned short, unsigned char);
10 void mem_write_word(unsigned short, unsigned short);
11 void mem_bank_switch(unsigned int);
12 unsigned char mem_get_raw(unsigned short);
13 #endif