--- np2/io/gdc.c 2004/02/29 03:10:03 1.25 +++ np2/io/gdc.c 2004/03/01 05:29:58 1.27 @@ -128,7 +128,6 @@ void gdc_analogext(BOOL extend) { if (extend) { gdc.analog |= (1 << GDCANALOG_256); vramop.operate |= 0x20; - i286_vram_dispatch(vramop.operate); } else { gdc.analog &= ~(1 << (GDCANALOG_256)); @@ -843,6 +842,9 @@ static void IOOUTCALL gdc_oae(UINT port, else #endif if (gdc.analog & (1 << GDCANALOG_16)) { +#if defined(SUPPORT_PC9821) + gdc.anareg[(gdc.palnum * 3) + 2] = dat; +#endif gdc_setanalogpal(gdc.palnum & 15, offsetof(RGB32, p.b), dat); } else { @@ -901,6 +903,20 @@ static REG8 IOINPCALL gdc_iae(UINT port) // ---- extend +#if defined(SUPPORT_PC9821) +static void IOOUTCALL gdc_o9a0(UINT port, REG8 dat) { + + (void)port; + (void)dat; +} + +static REG8 IOINPCALL gdc_i9a0(UINT port) { + + (void)port; + return(0); +} +#endif + #if defined(SUPPORT_CRT31KHZ) static void IOOUTCALL gdc_o9a8(UINT port, REG8 dat) {