| |
oziphantom
Registered: Oct 2014 Posts: 490 |
Stop drive error
What is the easiest way to stop the driver flickering its light post error, in code? |
|
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Reading the error channel I suppose. |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
Quoting tlrReading the error channel I suppose. Indeed. From loader source: ; read error channel on active drive to stop potentially blinking error LED
ldx #COMMAND_ERROR_CHANNEL
jsr CHKIN
: jsr READST
bne :+
jsr CHRIN
jmp :-
: lda #COMMAND_ERROR_CHANNEL
jsr CLOSE
jsr CLRCHN |