o add missing config
This commit is contained in:
parent
515ed6dd27
commit
dfcf4016b1
18
tools/bsnes/chip/fatfs/config.h
Normal file
18
tools/bsnes/chip/fatfs/config.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
#define CMD_INIT 0x00
|
||||||
|
#define CMD_READ 0x01
|
||||||
|
#define CMD_WRITE 0x02
|
||||||
|
#define CMD_NONE 0xff
|
||||||
|
|
||||||
|
/* Memory Map */
|
||||||
|
#define MMIO_CMD 0x3010
|
||||||
|
#define MMIO_SECTOR01 0x3011
|
||||||
|
#define MMIO_SECTOR02 0x3012
|
||||||
|
#define MMIO_SECTOR03 0x3013
|
||||||
|
#define MMIO_SECTOR04 0x3014
|
||||||
|
#define MMIO_COUNT 0x3015
|
||||||
|
#define MMIO_RETVAL 0x3016
|
||||||
|
|
||||||
|
|
||||||
|
#define SHARED_SIZE 512
|
||||||
|
#define SHARED_ADDR 0x3f0000
|
||||||
Loading…
x
Reference in New Issue
Block a user