Fixed NVRAM initialization (floppies, hdd's, etc...) for the PS/1 computers.

This commit is contained in:
TC1995
2021-04-26 00:15:15 +02:00
parent 03e02dbd88
commit 97e6c912eb
2 changed files with 3 additions and 2 deletions

View File

@@ -467,7 +467,7 @@ ps1_setup(int model)
device_add(&snd_device);
device_add(&fdc_at_actlow_device);
device_add(&fdc_at_ps1_device);
/* Enable the builtin HDC. */
if (hdc_current == 1) {
@@ -484,7 +484,7 @@ ps1_setup(int model)
rom_init(&ps->high_rom,
"roms/machines/ibmps1_2121/fc0000.bin",
0xfc0000, 0x20000, 0x1ffff, 0, MEM_MAPPING_EXTERNAL);
0xfc0000, 0x40000, 0x3ffff, 0, MEM_MAPPING_EXTERNAL);
/* Initialize the video controller. */
if (gfxcard == VID_INTERNAL)

View File

@@ -954,6 +954,7 @@ nvr_at_init(const device_t *info)
case 2: /* PS/1 or PS/2 */
nvr->irq = 8;
local->cent = RTC_CENTURY_PS;
local->def = 0x00;
break;
case 3: /* Amstrad PC's */