ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/CIA_SC.cpp
(Generate patch)

Comparing Frodo4/Src/CIA_SC.cpp (file contents):
Revision 1.2 by cebix, 2003-07-01T17:51:17Z vs.
Revision 1.7 by cebix, 2010-04-21T19:54:13Z

# Line 1 | Line 1
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
# Line 58 | Line 58 | enum {
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  
# Line 93 | Line 93 | void MOS6526::Reset(void)
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  
# Line 599 | Line 600 | ta_idle:
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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines