|
|
| version 1.25, 2004/02/29 03:10:03 | version 1.28, 2004/03/06 18:25:36 |
|---|---|
| Line 128 void gdc_analogext(BOOL extend) { | Line 128 void gdc_analogext(BOOL extend) { |
| if (extend) { | if (extend) { |
| gdc.analog |= (1 << GDCANALOG_256); | gdc.analog |= (1 << GDCANALOG_256); |
| vramop.operate |= 0x20; | vramop.operate |= 0x20; |
| i286_vram_dispatch(vramop.operate); | |
| } | } |
| else { | else { |
| gdc.analog &= ~(1 << (GDCANALOG_256)); | gdc.analog &= ~(1 << (GDCANALOG_256)); |
| Line 843 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 901 static REG8 IOINPCALL gdc_iae(UINT port) | Line 903 static REG8 IOINPCALL gdc_iae(UINT port) |
| // ---- extend | // ---- 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) | #if defined(SUPPORT_CRT31KHZ) |
| static void IOOUTCALL gdc_o9a8(UINT port, REG8 dat) { | static void IOOUTCALL gdc_o9a8(UINT port, REG8 dat) { |
| Line 993 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); |