Changeset 40b2112 in buchla-emu
- Timestamp:
- 08/05/2017 11:24:15 AM (7 years ago)
- Branches:
- master
- Children:
- 7b50125
- Parents:
- 9e0cd12
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emu/tim.c
r9e0cd12 r40b2112 25 25 26 26 #define REG_CRX 0 27 #define REG_CR2 127 #define REG_CR2_SR 1 28 28 #define REG_T1H 2 29 29 #define REG_T1L 3 … … 95 95 96 96 switch (off) { 97 case REG_CR2 :97 case REG_CR2_SR: 98 98 rv |= (uint32_t)timers[0].irq << 0; 99 99 rv |= (uint32_t)timers[1].irq << 1; … … 159 159 break; 160 160 161 case REG_CR2 :161 case REG_CR2_SR: 162 162 wr_cr1 = (val & 0x01) != 0; 163 163 timers[1].irq_e = (val & 0x40) != 0;
Note:
See TracChangeset
for help on using the changeset viewer.