|
|
| version 1.41, 2007/11/11 12:46:07 | version 1.42, 2007/11/11 13:54:14 |
|---|---|
| Line 1052 void gdc_biosreset(void) { | Line 1052 void gdc_biosreset(void) { |
| UINT8 *pal; | UINT8 *pal; |
| #endif | #endif |
| if (!(np2cfg.dipsw[0] & 0x01)) { | if (!(pccore.dipsw[0] & 0x01)) { |
| gdc.mode1 = 0x98; | gdc.mode1 = 0x98; |
| gdc.m.para[GDC_CSRFORM + 0] = 0x0f; | gdc.m.para[GDC_CSRFORM + 0] = 0x0f; |
| gdc.m.para[GDC_CSRFORM + 1] = 0xc0; | gdc.m.para[GDC_CSRFORM + 1] = 0xc0; |
| Line 1070 void gdc_biosreset(void) { | Line 1070 void gdc_biosreset(void) { |
| CopyMemory(gdc.m.para + GDC_SYNC, defsyncm15, 8); | CopyMemory(gdc.m.para + GDC_SYNC, defsyncm15, 8); |
| CopyMemory(gdc.s.para + GDC_SYNC, defsyncs15, 8); | CopyMemory(gdc.s.para + GDC_SYNC, defsyncs15, 8); |
| } | } |
| if (np2cfg.dipsw[0] & 0x80) { | if (pccore.dipsw[0] & 0x80) { |
| gdc.s.para[GDC_SYNC] = 0x16; | gdc.s.para[GDC_SYNC] = 0x16; |
| } | } |
| gdc_vectreset(&gdc.m); | gdc_vectreset(&gdc.m); |
| Line 1141 void gdc_reset(const NP2CFG *pConfig) { | Line 1141 void gdc_reset(const NP2CFG *pConfig) { |
| gdc.display |= (1 << GDCDISP_ANALOG); | gdc.display |= (1 << GDCDISP_ANALOG); |
| } | } |
| #endif | #endif |
| if (!(np2cfg.dipsw[0] & 0x04)) { // dipsw1-3 on | if (!(pccore.dipsw[0] & 0x04)) { // dipsw1-3 on |
| gdc.display |= (1 << GDCDISP_PLAZMA2); | gdc.display |= (1 << GDCDISP_PLAZMA2); |
| } | } |
| gdc_biosreset(); | gdc_biosreset(); |