Exemplo n.º 1
0
void map_area4(u32 base)
{
	//TODO : map later

	//upper 32mb mirror lower 32 mb
	_vmem_mirror_mapping(0x1200|base,0x1000|base,0x0200);
}
Exemplo n.º 2
0
void map_area0(u32 base)
{
	verify(base<0xE0);

	_vmem_map_handler(area0_handler,0x00|base,0x01|base);

	//0x0240 to 0x03FF mirrors 0x0040 to 0x01FF (no flashrom or bios)
	//0x0200 to 0x023F are unused
	_vmem_mirror_mapping(0x02|base,0x00|base,0x02);
}
Exemplo n.º 3
0
void map_area1(u32 base)
{
	//map vram
	
	//Lower 32 mb map
	//64b interface
	_vmem_map_block_mirror(vram.data,0x0400 | base,0x04FF | base,VRAM_SIZE);
	//32b interface
	_vmem_map_handler(area1_32b,0x0500 | base,0x05FF | base);
	
	//Upper 32 mb mirror
	//0x0600 to 0x07FF
	_vmem_mirror_mapping(0x0600|base,0x0400|base,0x0200);
}