25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: machine_playstation2.c,v 1.3 2006/01/16 01:45:29 debug Exp $ |
* $Id: machine_playstation2.c,v 1.4 2006/04/15 08:21:07 debug Exp $ |
29 |
*/ |
*/ |
30 |
|
|
31 |
#include <stdio.h> |
#include <stdio.h> |
116 |
PLAYSTATION2_SIFBIOS); |
PLAYSTATION2_SIFBIOS); |
117 |
store_buf(cpu, PLAYSTATION2_BDA + 4, "PS2b", 4); |
store_buf(cpu, PLAYSTATION2_BDA + 4, "PS2b", 4); |
118 |
|
|
119 |
|
/* "Magic trap" instruction for software PROM emulation: */ |
120 |
|
store_32bit_word(cpu, PLAYSTATION2_SIFBIOS, 0x00c0de0c); |
121 |
|
|
122 |
store_32bit_word(cpu, 0xa0000000 + machine->physical_ram_in_mb |
store_32bit_word(cpu, 0xa0000000 + machine->physical_ram_in_mb |
123 |
* 1048576 - 0x1000 + 0x4, PLAYSTATION2_OPTARGS); |
* 1048576 - 0x1000 + 0x4, PLAYSTATION2_OPTARGS); |
124 |
if (tmp == NULL) { |
if (tmp == NULL) { |