|
|
| version 1.11, 2004/02/14 07:56:51 | version 1.14, 2004/02/19 11:32:12 |
|---|---|
| Line 85 REG8 gdcbitreverse(REG8 data) { | Line 85 REG8 gdcbitreverse(REG8 data) { |
| #endif | #endif |
| void gdcsub_init(void) { | void gdcsub_initialize(void) { |
| int i; | int i; |
| Line 107 static void calc_gdcslavewait(UINT dots) | Line 107 static void calc_gdcslavewait(UINT dots) |
| SINT32 clk; | SINT32 clk; |
| clk = dots; | clk = dots; |
| if (pccore.baseclock != PCBASECLOCK20) { | if (pccore.cpumode & CPUMODE_8MHZ) { |
| clk *= 27648; | clk *= 22464; |
| } | } |
| else { | else { |
| clk *= 22464; | clk *= 27648; |
| } | } |
| clk *= pccore.multiple; | clk *= pccore.multiple; |
| clk /= 15625; | clk /= 15625; |
| Line 221 const VECTDIR *dir; | Line 221 const VECTDIR *dir; |
| BYTE mulx; | BYTE mulx; |
| if (vect->ope & 0x80) { // SL | if (vect->ope & 0x80) { // SL |
| pat = (GDCPATREVERSE(pat) << 8) + GDCPATREVERSE(pat >> 8); | pat = (REG16)((GDCPATREVERSE(pat) << 8) + GDCPATREVERSE(pat >> 8)); |
| } | } |
| gdcpset_prepare(&pset, csrw, 0xffff, ope); | gdcpset_prepare(&pset, csrw, 0xffff, ope); |
| multiple = (gdc.s.para[GDC_ZOOM] & 15) + 1; | multiple = (gdc.s.para[GDC_ZOOM] & 15) + 1; |