Skip to content

Commit

Permalink
Sync CPU specs to v0.4.2
Browse files Browse the repository at this point in the history
Correct cyclecount to v0.4.1 ~ v0.4.2
  • Loading branch information
Zardoz89 committed Feb 19, 2015
1 parent a5e7c7b commit a11daea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/tr3200/tr3200.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* \file tr3200.cpp
* \copyright LGPL v3
*
* Implementation of the TR3200 CPU v0.3.0
* Implementation of the TR3200 CPU v0.4.2
* @see https://github.com/trillek-team/trillek-computer/blob/master/TR3200.md
*/

Expand Down
8 changes: 4 additions & 4 deletions src/tr3200/tr3200_cycles.inc
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Look-uptable for cycle counts in function of OpCode

// v 0.4.2
// 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F,
1, 4, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x1X
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x1X
3, 3, 3, 3, 3, 3, 4, 3, 4, 6, 1, 1, 1, 1, 1, 1, // 0x2X
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x3X
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, // 0x4X
3, 3, 3, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x5X
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 1, 1, 1, // 0x4X
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x5X
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x6X
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x7X
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, // 0x7X
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 20, // 0x8X
30, 25, 35, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, // 0x9X
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0xAX
Expand Down
2 changes: 1 addition & 1 deletion src/tr3200/tr3200_opcodes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* \file TR3200_opcodes.hpp
* \copyright LGPL v3
*
* OpCodes of TR3200 CPU v0.4.0
* OpCodes of TR3200 CPU v0.4.2
* @see https://github.com/trillek-team/trillek-computer/blob/master/TR3200.md
*/
#ifndef __TR3200_OPCODES_HPP_
Expand Down

1 comment on commit a11daea

@Zardoz89
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should close issue #54

Please sign in to comment.