Previous 15994 Revisions Next

r2532 Saturday 3rd May, 2008 at 23:42:14 UTC by Nathan Woods
[C64] Bug fix, and fixed some timings. [roberto zandona]
[docs]messnew.txt
[src/mess/video]vic6567.c vic6567.h

src/mess/video/vic6567.c
r2531r2532
242242{
243243   memset(&vic2, 0, sizeof(vic2));
244244
245   vic2.pal = pal;
245246   vic2.lines = VIC2_LINES;
246247
247248   vic2.dma_read = dma_read;
248249   vic2.dma_read_color = dma_read_color;
249250   vic2.interrupt = irq;
250251   vic2.vic2e = chip_vic2e;
251   vic2.pal = pal;
252   
252253   vic2.on = TRUE;
253254}
254255
r2531r2532
13221323         timer_set (attotime_make(0, 0), NULL, 1, vic2_timer_timeout);
13231324      }
13241325   }
1325   if (vic2.rasterline == C64_2_RASTERLINE (RASTERLINE))
1326   if (vic2.rasterline == C64_2_RASTERLINE(RASTERLINE))
13261327   {
13271328      if (vic2.on)
13281329         vic2_drawlines (vic2.lastline, vic2.rasterline);
src/mess/video/vic6567.h
r2531r2532
2727#define VIC2_VSIZE   200
2828/* of course you clock select an other clock, but for accurate */
2929/* video timing */
30#define VIC6567_CLOCK   (8180000/8)
31#define VIC6569_CLOCK   (7880000/8)
30#define VIC6567_CLOCK   1022730
31         /* (8180000/8) old value */
32#define VIC6569_CLOCK   985250
33         /* (7880000/8) old value */
3234/* pixel clock 8 mhz */
3335/* accesses to memory with 2 megahertz */
3436/* needs 2 memory accesses for 8 pixel */
r2531r2532
3941
4042/* pal 50 Hz vertical screen refresh, screen consists of 312 lines
4143 * ntsc 60 Hz vertical screen refresh, screen consists of 262 lines */
42#define VIC6567_LINES 261
44#define VIC6567_LINES 262
4345#define VIC6569_LINES 312
4446#define VIC2_LINES (vic2.pal?VIC6569_LINES:VIC6567_LINES)
4547
docs/messnew.txt
r2531r2532
2020
2121- [CBM, C16] Simplified keyboard and interrupt handling code.  [Fabio Priuli]
2222
23- [C64] Bug fix, and fixed some timings.  [roberto zandonà]
24
2325- [COCO/COCO3] Transitioned Bitbanger and VHD support to use MAME's core
2426  device system.  [Nate Woods]
2527

Previous 15994 Revisions Next


© 1998-2018 The MESS Team