You are not logged in -
nap
CSDb User Forums
Forums
>
C64 Coding
>
Checking for alternate drives and fastloaders
2012-08-16
09:19
Didi
Registered: Nov 2011
Posts: 487
Checking for alternate drives and fastloaders
How to detect if a non-1541-compatible drive is attached or a fastload-cartridge is attached? Do all alternate drives and fastload-cartridges alter the standard loading vector at $0330/$0331? Is it enough to verify the values of $0330/$0331 as a check?
2012-08-16
12:09
6R6
Registered: Feb 2002
Posts: 245
Quote:
How to detect if a non-1541-compatible drive is attached or a fastload-cartridge is attached? Do all alternate drives and fastload-cartridges alter the standard loading vector at $0330/$0331? Is it enough to verify the values of $0330/$0331 as a check?
There are several ways to detect certain disk drives.
Send a initialize message to the disk drive with "ui" - this will reset the drive.
Then you read the error channel and search the text string you get for the numbers "1541". If no "1541" then drive
is not a 1541.
Another way is to do a m-r in the disk drive rom area c000-ffff and compare some bytes you know are identical for all revisions of the 1541 drive. (There are some small tiny differences).
For example at $e5c4 you will find "1541" for 1541 and
"1570" and "1571" for 1570 and 1571.
(>8:e5c4 31 35 34 b1 )
Alternate drives such as 1570,1571,1581, cmd fd, cmd hd and clones of these does not change the vectors at 0300-0332.
Neither do the iec devices.
Fastload cartridges, ide64 and cmd ramlink will change these vectors.
Jiffydos and other c64 kernals will change the vectors.
I never check what type of fastload cartridge is attached.
And i never check the vectors at 0300-0332 to determine anything.
I only use the methods described at the top.
2012-08-16
12:39
Didi
Registered: Nov 2011
Posts: 487
OK thanks, that's too much for the small project I want to do.
I guess I will just prompt the user for using software fastload or not.
Refresh
Subscribe to this thread:
You need to be logged in to post in the forum.
Search the forum:
Search
All forums
C64 Coding
C64 Composing
C64 Pixeling
C64 Productions
CSDb Bug Reports
CSDb Development
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
Messages to moderators
Requests
for
in
Writer & text
Text
Writer
All times are CET.
Search CSDb
All
Releases
Groups
Sceners
Events
BBS
SIDs
-------
Forum
Comments
Advanced
Users Online
sln.pixelrat
Guests online: 106
Top Demos
1
Next Level
(9.7)
2
13:37
(9.7)
3
Mojo
(9.7)
4
Coma Light 13
(9.6)
5
Edge of Disgrace
(9.6)
6
What Is The Matrix 2
(9.6)
7
The Demo Coder
(9.6)
8
Uncensored
(9.6)
9
Comaland 100%
(9.6)
10
Wonderland XIV
(9.6)
Top onefile Demos
1
No Listen
(9.6)
2
Layers
(9.6)
3
Cubic Dream
(9.6)
4
Party Elk 2
(9.6)
5
Copper Booze
(9.6)
6
Dawnfall V1.1
(9.5)
7
Rainbow Connection
(9.5)
8
Onscreen 5k
(9.5)
9
Morph
(9.5)
10
Libertongo
(9.5)
Top Groups
1
Performers
(9.3)
2
Booze Design
(9.3)
3
Oxyron
(9.3)
4
Triad
(9.3)
5
Censor Design
(9.3)
Top Logo Graphicians
1
t0m3000
(10)
2
Sander
(9.8)
3
Mermaid
(9.5)
4
Facet
(9.4)
5
Shine
(9.4)
Home
-
Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.033 sec.