src/mess/machine/3do.c
| r8551 | r8552 | |
| 1 | 1 | /* |
| 2 | 2 | |
| 3 | 3 | Reset boot sequence: |
| 4 | | - jump to ROM address space |
| 5 | | - determine source of reset from cstatbits |
| 6 | | - write cstatbits to safe madam location |
| 7 | | - clear cstatbits |
| 4 | - jump to ROM address space 03000028) |
| 5 | - determine source of reset from cstatbits (03000068) |
| 6 | - write cstatbits to safe madam location (03000078) |
| 7 | - clear cstatbits (0300007c) |
| 8 | 8 | - disable interrupts |
| 9 | 9 | - set up audout register |
| 10 | | - set up brooktree part |
| 10 | - set up brooktree part (03001020) |
| 11 | 11 | - wait 100ms |
| 12 | 12 | - set msysbits register for max memory config |
| 13 | 13 | - set sltime to 178906 |
| r8551 | r8552 | |
| 18 | 18 | - do initial diagnostics, including test of initial 64kb of ram (0300021c) |
| 19 | 19 | - copy remainder of code to ram at address 0 (030000224) |
| 20 | 20 | - jump to address 0 and continue boot sequence |
| 21 | - do some more memory checks (00000298) |
| 21 | 22 | - init stack pointer to 64k |
| 22 | 23 | - set hdelay to c6 |
| 23 | 24 | - do remaining diagnostics |
src/mess/drivers/3do.c
| r8551 | r8552 | |
| 112 | 112 | AM_RANGE(0x00000000, 0x001FFFFF) AM_RAMBANK("bank1") AM_BASE_MEMBER(_3do_state,dram) /* DRAM */ |
| 113 | 113 | AM_RANGE(0x00200000, 0x002FFFFF) AM_RAM AM_BASE_MEMBER(_3do_state,vram) /* VRAM */ |
| 114 | 114 | AM_RANGE(0x03000000, 0x030FFFFF) AM_ROMBANK("bank2") /* BIOS */ |
| 115 | AM_RANGE(0x03100000, 0x0313FFFF) AM_RAM /* Brooktree? */ |
| 115 | 116 | AM_RANGE(0x03140000, 0x0315FFFF) AM_READWRITE(_3do_nvarea_r, _3do_nvarea_w) /* NVRAM */ |
| 116 | 117 | AM_RANGE(0x03180000, 0x031BFFFF) AM_READWRITE(_3do_slow2_r, _3do_slow2_w) /* Slow bus - additional expansion */ |
| 117 | 118 | AM_RANGE(0x03200000, 0x0320FFFF) AM_READWRITE(_3do_svf_r, _3do_svf_w) /* special vram access1 */ |
| r8551 | r8552 | |
| 119 | 120 | AM_RANGE(0x03400000, 0x034FFFFF) AM_READWRITE(_3do_clio_r, _3do_clio_w) /* io controller */ |
| 120 | 121 | ADDRESS_MAP_END |
| 121 | 122 | |
| 123 | |
| 122 | 124 | static INPUT_PORTS_START( 3do ) |
| 123 | 125 | PORT_START("P1") |
| 124 | 126 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |