filename | src/dreamcast.c |
changeset | 146:f91fa34ab219 |
prev | 144:7f0714e89aaa |
next | 167:71c0cc416a64 |
author | nkeynes |
date | Thu Jun 15 10:25:45 2006 +0000 (17 years ago) |
permissions | -rw-r--r-- |
last change | Add P4 I/O tracing Add ability to set I/O trace by region address |
file | annotate | diff | log | raw |
1.1 --- a/src/dreamcast.c Mon May 15 08:28:52 2006 +00001.2 +++ b/src/dreamcast.c Thu Jun 15 10:25:45 2006 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: dreamcast.c,v 1.15 2006-05-15 08:28:48 nkeynes Exp $1.6 + * $Id: dreamcast.c,v 1.16 2006-05-20 02:38:58 nkeynes Exp $1.7 * Central switchboard for the system. This pulls all the individual modules1.8 * together into some kind of coherent structure. This is also where you'd1.9 * add Naomi support, if I ever get a board to play with...1.10 @@ -62,12 +62,14 @@1.11 dreamcast_register_module( &mem_module );1.13 /* Setup standard memory map */1.14 - mem_create_ram_region( 0x0C000000, 16 MB, MEM_REGION_MAIN );1.15 + mem_create_repeating_ram_region( 0x0C000000, 16 MB, MEM_REGION_MAIN, 0x01000000, 0x0F000000 );1.16 mem_create_ram_region( 0x00800000, 2 MB, MEM_REGION_AUDIO );1.17 mem_create_ram_region( 0x00703000, 8 KB, MEM_REGION_AUDIO_SCRATCH );1.18 mem_create_ram_region( 0x05000000, 8 MB, MEM_REGION_VIDEO );1.19 mem_load_rom( "dcboot.rom", 0x00000000, 0x00200000, 0x89f2b1a1 );1.20 - mem_load_rom( "dcflash.rom",0x00200000, 0x00020000, 0x357c3568 );1.21 + mem_create_ram_region( 0x00200000, 0x00020000, MEM_REGION_FLASH );1.22 + mem_load_block( "../bios/dcflash.rom", 0x00200000, 0x00020000 );1.23 + // mem_load_rom( "dcflash.rom",0x00200000, 0x00020000, 0x357c3568 );1.25 /* Load in the rest of the core modules */1.26 dreamcast_register_module( &sh4_module );
.