| 1717 | |
| 1718 | |
| 1719 | void CellEngine::n_margolis_ph() |
| 1720 | { |
| 1721 | if (rule == NULL) return; |
| 1722 | |
| 1723 | register Byte i; |
| 1724 | |
| 1725 | // 0 1 2 3 4 5 6 7 8 9 |
| 1726 | // c c' cw ccw opp cw' ccw' opp' pha pha' |
| 1727 | // 0x1 0x2 0x4 0x8 0x10 0x20 0x40 0x80 0x100 0x200 |
| 1728 | |
| 1729 | #define MARGOLIS_ODD_PH ( \ |
| 1730 | MARGOLIS_ODD | \ |
| 1731 | 0x100) |
| 1732 | |
| 1733 | #define MARGOLIS_EVEN_PH ( \ |
| 1734 | MARGOLIS_EVEN | \ |
| 1735 | 0x200) |
| 1736 | |
| 1737 | if (inflation) { |
| 1738 | int last = 0; |
| 1739 | int heat = 0; |
| 1740 | |
| 1741 | if (phase) { |
| 1742 | CAM_MASKED_REG_TABLE_HEAT6_LOOP(MARGOLIS_ODD_PH) |
| 1743 | } else { |
| 1744 | CAM_MASKED_REG_TABLE_HEAT6_LOOP(MARGOLIS_EVEN_PH) |
| 1745 | } |
| 1746 | } else { |
| 1747 | if (phase) { |
| 1748 | CAM_MASKED_REG_TABLE_LOOP(MARGOLIS_ODD_PH) |
| 1749 | } else { |
| 1750 | CAM_MASKED_REG_TABLE_LOOP(MARGOLIS_EVEN_PH) |
| 1751 | } |
| 1752 | } |
| 1753 | } |
| 1754 | |
| 1755 | |
| 1756 | void CellEngine::n_margolis_hv() |
nothing calls this directly
no outgoing calls
no test coverage detected