Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Goodwell ! (Registered 2025-05-31) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Stop drive error
2019-04-13 09:45
oziphantom

Registered: Oct 2014
Posts: 502
Stop drive error

What is the easiest way to stop the driver flickering its light post error, in code?
2019-04-13 09:53
tlr

Registered: Sep 2003
Posts: 1807
Reading the error channel I suppose.
2019-04-13 11:45
Krill

Registered: Apr 2002
Posts: 3077
Quoting tlr
Reading 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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Nordischsound/Hokuto..
Apollyon/ALD
BYB/Hokuto Force
Edhellon/Resource
Twilight/Excess/Arcade
Guests online: 193
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.6)
4 Codeboys & Endians  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 What Is The Matrix 2  (9.6)
9 Uncensored  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Nine  (9.7)
2 Two 4 One  (9.7)
3 Scan and Spin  (9.7)
4 Layers  (9.6)
5 Cubic Dream  (9.6)
6 Party Elk 2  (9.6)
7 Copper Booze  (9.5)
8 Onscreen 5k  (9.5)
9 Libertongo  (9.5)
10 Dawnfall V1.1  (9.5)
Top Groups
1 Artline Designs  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Shine  (9.5)
4 Mermaid  (9.5)
5 Pal  (9.4)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.045 sec.