--- np2/io/gdc.c 2004/02/29 07:36:56 1.26 +++ np2/io/gdc.c 2004/03/06 18:25:36 1.28 @@ -842,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 { @@ -1006,6 +1009,10 @@ void gdc_reset(void) { void gdc_bind(void) { gdc_updateclock(); +#if defined(SUPPORT_PC9821) // とりあえずフックだけ + iocore_attachout(0x09a0, gdc_o9a0); + iocore_attachinp(0x09a0, gdc_i9a0); +#endif #if defined(SUPPORT_CRT31KHZ) iocore_attachout(0x09a8, gdc_o9a8); iocore_attachinp(0x09a8, gdc_i9a8);