Fixed NVRAM initialization (floppies, hdd's, etc...) for the PS/1 computers.
This commit is contained in:
@@ -467,7 +467,7 @@ ps1_setup(int model)
|
|||||||
|
|
||||||
device_add(&snd_device);
|
device_add(&snd_device);
|
||||||
|
|
||||||
device_add(&fdc_at_actlow_device);
|
device_add(&fdc_at_ps1_device);
|
||||||
|
|
||||||
/* Enable the builtin HDC. */
|
/* Enable the builtin HDC. */
|
||||||
if (hdc_current == 1) {
|
if (hdc_current == 1) {
|
||||||
@@ -484,7 +484,7 @@ ps1_setup(int model)
|
|||||||
|
|
||||||
rom_init(&ps->high_rom,
|
rom_init(&ps->high_rom,
|
||||||
"roms/machines/ibmps1_2121/fc0000.bin",
|
"roms/machines/ibmps1_2121/fc0000.bin",
|
||||||
0xfc0000, 0x20000, 0x1ffff, 0, MEM_MAPPING_EXTERNAL);
|
0xfc0000, 0x40000, 0x3ffff, 0, MEM_MAPPING_EXTERNAL);
|
||||||
|
|
||||||
/* Initialize the video controller. */
|
/* Initialize the video controller. */
|
||||||
if (gfxcard == VID_INTERNAL)
|
if (gfxcard == VID_INTERNAL)
|
||||||
|
@@ -954,6 +954,7 @@ nvr_at_init(const device_t *info)
|
|||||||
case 2: /* PS/1 or PS/2 */
|
case 2: /* PS/1 or PS/2 */
|
||||||
nvr->irq = 8;
|
nvr->irq = 8;
|
||||||
local->cent = RTC_CENTURY_PS;
|
local->cent = RTC_CENTURY_PS;
|
||||||
|
local->def = 0x00;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3: /* Amstrad PC's */
|
case 3: /* Amstrad PC's */
|
||||||
|
Reference in New Issue
Block a user