|
|
| version 1.26, 2004/02/29 07:36:56 | version 1.28, 2004/03/06 18:25:36 |
|---|---|
| Line 842 static void IOOUTCALL gdc_oae(UINT port, | Line 842 static void IOOUTCALL gdc_oae(UINT port, |
| else | else |
| #endif | #endif |
| if (gdc.analog & (1 << GDCANALOG_16)) { | 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); | gdc_setanalogpal(gdc.palnum & 15, offsetof(RGB32, p.b), dat); |
| } | } |
| else { | else { |
| Line 1006 void gdc_reset(void) { | Line 1009 void gdc_reset(void) { |
| void gdc_bind(void) { | void gdc_bind(void) { |
| gdc_updateclock(); | gdc_updateclock(); |
| #if defined(SUPPORT_PC9821) // とりあえずフックだけ | |
| iocore_attachout(0x09a0, gdc_o9a0); | |
| iocore_attachinp(0x09a0, gdc_i9a0); | |
| #endif | |
| #if defined(SUPPORT_CRT31KHZ) | #if defined(SUPPORT_CRT31KHZ) |
| iocore_attachout(0x09a8, gdc_o9a8); | iocore_attachout(0x09a8, gdc_o9a8); |
| iocore_attachinp(0x09a8, gdc_i9a8); | iocore_attachinp(0x09a8, gdc_i9a8); |