avr: initial commit
[z80.git] / avr / mem.h
1 /* MEMORY access header */
2 #ifndef _MEMORY_H_
3 #define _MEMORY_H_
4
5 void mem_init(void);
6 void mem_test(void);
7
8 /* start/stop memory access */
9 void mem_start(void);
10 void mem_stop(void);
11
12 /* single read/write cycle */
13 uint8_t mem_read(uint16_t addr);
14 void mem_write(uint16_t addr, uint8_t data);
15
16 #endif /* _MEMORY_H_ */