Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > Error message: "Found more than one drive on IEC bus" with C128D metal and recent demos
2017-11-08 10:26
Monte Carlos

Registered: Jun 2004
Posts: 350
Error message: "Found more than one drive on IEC bus" with C128D metal and recent demos

Sorry for this lamer question. I use an C128D(metal), currently (although i have used C64 for years until i got room problems with the complete setup).
I have attached a 1541 ultimate and changed the internal 1571 drive to device no 10 by cutting the solder pads. The ultimate has dev no 8. This way i can watch many, mostly old, demos with 1541U. However, the most current demos always complain about more than one drive being enabled. Ok, i thought, plugging off the internal 1571 from the mainbord should fix the problem. I was wrong. The loaders still complain about more than one drive.
Am i wrong with my understanding that plugging off the internal drive also disables the ATN signal?
 
... 34 posts hidden. Click here to view all posts....
 
2017-11-09 11:22
Flavioweb

Registered: Nov 2011
Posts: 442
The drive logic in a 128d is on board, or is "near" the mechanics?
May be that "unplug" the drive mean just unplug the mechanics but logic still active...
No?
2017-11-09 13:17
Krill

Registered: Apr 2002
Posts: 2804
The C128D has discrete PCBs for main computer and drive, so the drive part should be completely unpluggable.
The C128DCR has both PCBs merged into one, but what this means for the disconnectibility of the drive portion, i can't say.
2017-11-09 14:22
Krill

Registered: Apr 2002
Posts: 2804
Looking at the C128DCR (which is the metal C128D) schematics, it very much seems like there is no way of disconnecting the drive electronics from the serial bus, save cutting their traces.

Uploading a small program to the built-in drive that would disable interrupts and set ATNA according to ATN IN in a loop would probably solve your problem, but alas, i have no time right now to hack it up.
2017-11-09 15:24
Monte Carlos

Registered: Jun 2004
Posts: 350
If its not possible to plug of the drive, there should still be the possibility to cut the ATN line and insert a switch instead? After googling i found an howto on herdware, however there is some pic missing.
http://commodore128.mirkosoft.sk/herdware.html
Somebody knows what they mean with "threethrough-hole solder pads"?
2017-11-09 15:32
Krill

Registered: Apr 2002
Posts: 2804
Would you really want to cut traces if there's a viable software solution? Poor C128.
2017-11-09 15:34
Krill

Registered: Apr 2002
Posts: 2804
Also, does the little BASIC line above report a drive on #10, as is expected?
2017-11-09 15:43
Monte Carlos

Registered: Jun 2004
Posts: 350
Can't try it at the moment with my two year boy next to me. Will try in the evening.
2017-11-09 20:45
Monte Carlos

Registered: Jun 2004
Posts: 350
Yes, it shows drive on ID 10.I ridiculously just unplugged the mechanics.btw:hw hack would not be the worst solution for me if it permitted a durable, unproblematic operation of 1541u with my 128dcr.
2017-11-09 20:48
Krill

Registered: Apr 2002
Posts: 2804
If running a small "shut up everybody who's not #8" program before watching that demo is too much, wellÂ… yeah. :)
2017-11-09 21:11
Monte Carlos

Registered: Jun 2004
Posts: 350
I did already with this

#include <cbm.h>
#include <stdio.h>


char openFile(void){
	char openErr;
	if ( (openErr = cbm_k_open()) ){
		printf("Open failed: Return value = %d\n", openErr);	
	}
	return openErr;
}

void main(void){
	char drivecmd[] = "u0>\x09";
	char openErr;
	
	cbm_k_setlfs (15, 8,15);
	cbm_k_setnam (drivecmd);
	if ( !(openErr = openFile()) ){
		cbm_k_close(15);
		printf("Successfully changed device\n");
		
	}else{
		printf("Could not change device\n");
		cbm_k_close(15);
	
	}
}


and this

OPEN 1,ID,15,"M-W"+CHR$(119)+CHR$(0)+CHR$(2)+CHR$(0)+CHR$(0):CLOSE 1 


My software solution attemps were not of much use up to now.
However, your drive code suggestion is different.
I could place an installation code into the root dir of the 1541U usb stick, so that i could execute it anytime before watching demos.
Didn't know that ATN call and answer chain could be influenced by software.
Previous - 1 | 2 | 3 | 4 | 5 - Next
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
Mason/Unicess
iAN CooG/HVSC
Genius/Xenon
t0m3000/ibex-crew
Brittle/Dentifrice^(?)
Andy/AEG
Rutterkin
Guests online: 369
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.057 sec.