Revision 160
Added by markw about 11 years ago
| firmware/aeon_lite/memory.h | ||
|---|---|---|
| 
     // 0xC0000-0xDFFFF (0x8c0000 in zpu space) = os rom/basic rom
 
   | 
||
| 
     | 
||
| 
     #define DIR_INIT_MEM 0x890000
 
   | 
||
| 
     #define DIR_INIT_MEMSIZE 65536
 
   | 
||
| 
     #define FREEZE_MEM 0x8a0000
 
   | 
||
| 
     #define ROM_MEM 0xc0000
 
   | 
||
| 
     | 
||
| firmware/main_real.c | ||
|---|---|---|
| 
     | 
||
| 
     	// TODO...
 
   | 
||
| 
     | 
||
| 
     	if (SimpleFile_OK == dir_init((void *)DIR_INIT_MEM, 65536))
 
   | 
||
| 
     	if (SimpleFile_OK == dir_init((void *)DIR_INIT_MEM, DIR_INIT_MEMSIZE))
 
   | 
||
| 
     	{
 
   | 
||
| 
     	//	printf("DIR init ok\n");
 
   | 
||
| 
     		init_drive_emulator();
 
   | 
||
| firmware/sdram_common/memory.h | ||
|---|---|---|
| 
     #pragma once
 
   | 
||
| 
     | 
||
| 
     // Memory usage...
 
   | 
||
| 
     // 0x410000-0x41FFFF (0xc10000 in zpu space) = directory cache - 64k
 
   | 
||
| 
     // 0x420000-0x43FFFF (0xc20000 in zpu space) = freeze backup
 
   | 
||
| 
     // 0x410000-0x44FFFF (0xc10000 in zpu space) = directory cache - 256k
 
   | 
||
| 
     // 0x450000-0x46FFFF (0xc50000 in zpu space) = freeze backup
 
   | 
||
| 
     // 0x700000-0x77FFFF (0xf00000 in zpu space) = os rom/basic rom
 
   | 
||
| 
     | 
||
| 
     #define DIR_INIT_MEM 0xc10000
 
   | 
||
| 
     #define FREEZE_MEM 0xc20000
 
   | 
||
| 
     #define DIR_INIT_MEMSIZE 262144
 
   | 
||
| 
     #define FREEZE_MEM 0xc50000
 
   | 
||
| 
     #define ROM_MEM 0x700000
 
   | 
||
| 
     | 
||
Allow more memory for directories