COM. TIMER: Fixed a bug (note to self: INC/DEC set Z flag, but not C flag!!)

- added COM_EnqueueComSendStats
- check for high ATTN line before sending packets
This commit is contained in:
Martin Preuss
2023-01-26 18:57:20 +01:00
parent 68ce45428f
commit 4a54c46ba9
2 changed files with 111 additions and 17 deletions

View File

@@ -189,8 +189,9 @@ timerIrq2_l1: ; increment seconds
ld r19, x+
ld r20, x+
ld r21, x
clr r22
inc r18
ldi r22, 1
add r18, r22
dec r22
adc r19, r22
adc r20, r22
adc r21, r22