Previous 15994 Revisions Next

r7918 Tuesday 27th April, 2010 at 23:04:43 UTC by Barry Rodewald
[FMTOWNS] Added CRTC HSync Adjust, fixing offset backgrounds in some games, and scrolling in Death Brade.
[src/mess/video]fmtowns.c

src/mess/video/fmtowns.c
r7917r7918
918918         scroll = ((towns_crtc_reg[21] & 0xfc00) << 2) | (((towns_crtc_reg[21] & 0x3ff) << 2));
919919         off += scroll;
920920      }
921      off += (towns_crtc_reg[11] - towns_crtc_reg[22]);
921922      if(towns_crtc_reg[27] & 0x0100)
922923         hzoom = 2;
923924   }
r7917r7918
930931         scroll = ((towns_crtc_reg[17] & 0xfc00) << 2) | (((towns_crtc_reg[17] & 0x3ff) << 2));
931932         off += scroll;
932933      }
934      off += (towns_crtc_reg[9] - towns_crtc_reg[18]);
933935      if(towns_crtc_reg[27] & 0x0001)
934936         hzoom = 2;
935937   }
r7917r7918
10081010         scroll = ((towns_crtc_reg[21] & 0xfc00) << 2) | (((towns_crtc_reg[21] & 0x3ff) << 2));
10091011         off += scroll;
10101012      }
1013      off += (towns_crtc_reg[11] - towns_crtc_reg[22]);
10111014      if(towns_crtc_reg[27] & 0x0100)
10121015         hzoom = 2;
10131016   }
r7917r7918
10201023         scroll = ((towns_crtc_reg[17] & 0xfc00) << 2) | (((towns_crtc_reg[17] & 0x3ff) << 2));
10211024         off += scroll;
10221025      }
1026      off += (towns_crtc_reg[9] - towns_crtc_reg[18]);
10231027      if(towns_crtc_reg[27] & 0x0001)
10241028         hzoom = 2;
10251029   }
r7917r7918
10891093         scroll = ((towns_crtc_reg[21] & 0xfc00)<<2) | (((towns_crtc_reg[21] & 0x3ff)<<2));
10901094         off += scroll;
10911095      }
1096      off += (towns_crtc_reg[11] - towns_crtc_reg[22]);
10921097      if(towns_crtc_reg[27] & 0x0100)
10931098         hzoom = 2;
10941099   }
r7917r7918
11011106         scroll = ((towns_crtc_reg[17] & 0xfc00)<<2) | (((towns_crtc_reg[17] & 0x3ff)<<2));
11021107         off += scroll;
11031108      }
1109      off += (towns_crtc_reg[9] - towns_crtc_reg[18]);
11041110      if(towns_crtc_reg[27] & 0x0001)
11051111         hzoom = 2;
11061112   }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team