dedicated mapper for menu, new logo gfx, TODO: fix avr mem access again
also minor cleanups.
This commit is contained in:
14
src/memory.h
14
src/memory.h
@@ -4,16 +4,20 @@
|
||||
#ifndef MEMORY_H
|
||||
#define MEMORY_H
|
||||
|
||||
#define SRAM_DB_ADDR (0x080000L)
|
||||
#define SRAM_DIR_ADDR (0x300000L)
|
||||
#define SRAM_CMD_ADDR (0x601004L)
|
||||
#define SRAM_FD_ADDR (0x601000L)
|
||||
#define SRAM_ROM_ADDR (0x000000L)
|
||||
#define SRAM_SAVE_ADDR (0x600000L)
|
||||
|
||||
#define SRAM_MENU_ADDR (0x600000L)
|
||||
#define SRAM_DB_ADDR (0x620000L)
|
||||
#define SRAM_DIR_ADDR (0x610000L)
|
||||
#define SRAM_CMD_ADDR (0x7F1004L)
|
||||
#define SRAM_FD_ADDR (0x7F1000L)
|
||||
#define SRAM_MENU_SAVE_ADDR (0x7F0000L)
|
||||
#define SRAM_SCRATCHPAD (0x7FFF00L)
|
||||
#define SRAM_DIRID (0x7FFFF0L)
|
||||
#define SRAM_RELIABILITY_SCORE (0x100)
|
||||
|
||||
uint32_t load_rom(uint8_t* filename);
|
||||
uint32_t load_rom(uint8_t* filename, uint32_t base_addr);
|
||||
uint32_t load_sram(uint8_t* filename, uint32_t base_addr);
|
||||
void sram_hexdump(uint32_t addr, uint32_t len);
|
||||
uint8_t sram_readbyte(uint32_t addr);
|
||||
|
||||
Reference in New Issue
Block a user