1 |
|
/* |
2 |
|
* VIC_SC.cpp - 6569R5 emulation (cycle based) |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2005 Christian Bauer |
4 |
> |
* Frodo Copyright (C) Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
286 |
|
display_state = false; |
287 |
|
border_on = ud_border_on = vblanking = false; |
288 |
|
lp_triggered = draw_this_line = false; |
289 |
+ |
is_bad_line = false; |
290 |
|
|
291 |
< |
spr_dma_on = spr_disp_on = 0; |
291 |
> |
spr_exp_y = spr_dma_on = spr_disp_on = 0; |
292 |
|
for (i=0; i<8; i++) { |
293 |
|
mc[i] = 63; |
294 |
+ |
mc_base[i] = 0; |
295 |
|
spr_ptr[i] = 0; |
296 |
|
} |
297 |
|
|
1516 |
|
// Fetch sprite pointer 3, increment raster counter, trigger raster IRQ, |
1517 |
|
// test for Bad Line, reset BA if sprites 3 and 4 off, read data of sprite 3 |
1518 |
|
case 1: |
1519 |
< |
if (raster_y == TOTAL_RASTERS-1) |
1519 |
> |
if (raster_y == TOTAL_RASTERS-1) { |
1520 |
|
|
1521 |
|
// Trigger VBlank in cycle 2 |
1522 |
|
vblanking = true; |
1523 |
|
|
1524 |
< |
else { |
1524 |
> |
} else { |
1525 |
|
|
1526 |
|
// Increment raster counter |
1527 |
|
raster_y++; |