1 |
|
/* |
2 |
|
* CIA_SC.cpp - Single-cycle 6526 emulation |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2003 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 |
58 |
|
T_LOAD_THEN_COUNT, |
59 |
|
T_LOAD_THEN_WAIT_THEN_COUNT, |
60 |
|
T_COUNT, |
61 |
< |
T_COUNT_THEN_STOP, |
61 |
> |
T_COUNT_THEN_STOP |
62 |
|
}; |
63 |
|
|
64 |
|
|
93 |
|
ta_cnt_phi2 = tb_cnt_phi2 = tb_cnt_ta = false; |
94 |
|
|
95 |
|
ta_irq_next_cycle = tb_irq_next_cycle = false; |
96 |
+ |
has_new_cra = has_new_crb = false; |
97 |
|
ta_state = tb_state = T_STOP; |
98 |
|
} |
99 |
|
|
600 |
|
case T_LOAD_THEN_COUNT: |
601 |
|
tb_state = T_COUNT; |
602 |
|
tb = latchb; // Reload timer |
603 |
< |
goto ta_idle; |
603 |
> |
goto tb_idle; |
604 |
|
case T_LOAD_THEN_WAIT_THEN_COUNT: |
605 |
|
tb_state = T_WAIT_THEN_COUNT; |
606 |
|
if (tb == 1) |