Merge remote-tracking branch 'tmk/master'

This commit is contained in:
Mark Sikora 2020-07-06 13:09:25 -04:00
commit 43a46c8d28
4 changed files with 3447 additions and 3449 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -253,8 +253,8 @@ ISR(IBMPC_INT_VECT)
if (isr_state == 0x8000) {
timer_start = t;
} else {
// should not take more than 1ms
if (timer_start != t && (uint8_t)(timer_start + 1) != t) {
// This gives 2.0ms at least before timeout
if ((uint8_t)(t - timer_start) >= 3) {
ibmpc_isr_debug = isr_state;
ibmpc_error = IBMPC_ERR_TIMEOUT;
goto ERROR;