1 |
|
/* |
2 |
|
* CIA_SC.cpp - Single-cycle 6526 emulation |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
4 |
> |
* Frodo (C) 1994-1997,2002-2009 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 |
|
|
599 |
|
case T_LOAD_THEN_COUNT: |
600 |
|
tb_state = T_COUNT; |
601 |
|
tb = latchb; // Reload timer |
602 |
< |
goto ta_idle; |
602 |
> |
goto tb_idle; |
603 |
|
case T_LOAD_THEN_WAIT_THEN_COUNT: |
604 |
|
tb_state = T_WAIT_THEN_COUNT; |
605 |
|
if (tb == 1) |