| View previous topic :: View next topic |
| Author |
Message |
C64 Enthusiast

Joined: 30 Dec 2001 Posts: 967 Location: Sweden
|
Posted: Fri Jan 07, 2005 6:50 pm Post subject: How to get Star Commander working under Windows XP |
|
|
On one of my web pages, I have written a text in Swedish about how to get Star Commander working under Windows XP. Somebody asked me to translate it into English and so I just did. Here it is:
Star Commander
---------------
Star Commander is the most used program to transfer data between a PC (where it can be used by emulators) and floppy disks in disk drives for Commodore 64. Star Commander supports all cables in the X1541 series.
Star Commander should preferrably be run under pure MS-DOS to work properly (so that timeouts and lock-ups don't occur). I have also run Star Commander in a command interpreter window both under Windows 98 and under Windows XP with an XE1541 cable. I have got it to work satisfactory even if it doesn't work perfectly. It is considerably more difficult to get Star Commander to work under Windows XP than under Windows 98.
Here follow instructions about how to get Star Commander to work under Windows XP. Also carefully read the documentation that accompanies Star Commander! The instructions below are mostly based on my own experience. I have tested with two different installations of Windows XP Home Edition SP1 on the same computer with a hard disk crash (not related to Star Commander), a BIOS upgrade and miscellaneous Windows updates in between. Note that UserPort/Star Commander behave slightly differently on these two installations that are practically identical so it is very sensitive even to small changes in the system.
1. Under Windows NT/2000/XP, you have to use a driver to access the parallel port directly since these Windows versions do normally not allow this. From the home page for Star Commander, you can download the drivers UserPort and GiveIO (included in Star Commander 0.82). Use UserPort with Windows XP! With DirectIO I got problems with that the PC couldn't enter low-power modes and that the PC stopped sending data over the network cable so that I couldn't access the Internet (I then used the latest version of DirectIO from DirectIO's home page and not the version that exists on Star Commander's home page).
2. Copy UserPort.sys to C:\WINDOWS\System32 och run UserPort.exe!
3. Enter the address areas 40-43 and 61-61 in the left window in UserPort. Also enter the lowest address area for your parallel port. You can find this in the Device Manager (under Control Panel/System/Hardware). There you can also find an upper address area but UserPort doesn't allow such high address areas so you will only get an error message if you try to enter this. Remove all other address areas. The right window you can either leave empty or enter the same address areas there (it doesn't seem to matter). Note that the tweak package that is downloaded with Star Commander 0.82 only says that you should enter the address areas in the right window but it only complicates things since you in that case then need to issue an extra command in the command window before starting Star Commander. Therefore use the left window instead because it works for all programs without having to enter any special command!
4. Press Start in UserPort (or Update if the driver is already started)!
5. Shut down all programs, processes and functions that are not necessarily needed since they might interrupt Star Commander. You can in the Task Manager (which you bring forward if you press Ctrl + Alt + Del) see which processes that are running and then search on the Internet to see which processes that absolutely must be running for the operating system to work. The rest of the processes, it is best to shut down. If it is possible to shut down processes by changing options in programs, then do that instead of shutting them down with the Task Manager since it becomes a more controlled shut-down (for example alg.exe will disappear if you shut down the built-in firewall in Windows XP). Also disable screen savers and automatic transition to low-power modes. It is also best to pull out the network cable or shut down a connected ADSL or cable modem. [Edit April 9 2005]: I have found that the important things to do is that you shut down your network connection (unplug network cable or shut down connected ADSL/cable modem) BEFORE starting up your computer and that you turn off screen savers and low-power modes and disable your antivirus program.
6. Now open a command interpreter window and start SCSETUP to do settings for Star Commander. Then try to move around among the menus. Now there is a big risk that the complete command interpreter window will hang. I have seen slightly different behaviour regarding this. With my previous Windows XP installation I often had to restart between one and three times before SC or SCSETUP started up without a lock-up. If it locks up, then close the command interpreter window using the Close button in the upper right corner and then click Stop followed by Start in UserPort. Then, open a new command interpreter window and try to start SCSETUP again. With my present Windows XP installation it only locks up now and then and in that case only the first time after I have started up the computer. Thereafter, it goes well to run SCSETUP or SC. However, a pre-condition for this is that there are proper settings stored in the configuration file SC.INI. If you haven't run Star Commander before this file doesn't exist and then the latest beta version refuses to start up for me at all with my present Windows XP installation. Luckily, I managed to get Star Commander 0.82 working for so many seconds so that I got the time to change settings under Transfer options to settings that didn't cause any lock-up and save these (you get a question if you want to save when you select Exit). Thereafter, version 0.82 was stable for me and by copying SC.INI to the latest beta version I could get also that to start up and work stable. Do you have the problem that you despite of repeated attempts can't get SCSETUP to work long enough for you to be able to save settings that make it stable? In that case, you can try to put my SC.INI file for Star Commander 0.83.17 beta in your Star Commander directory and see if SCSETUP starts up after that and that you are able to move around among the menus for several minutes without a lock-up. You can find my SC.INI file at http://folkvagn.commodore64.or...ler/SC.INI . Of course, you have to modify the settings under Transfer options so that they are correct for your configuration (cable, disk drive etc.). The SC.INI file I have provided is only to help you to get SCSETUP running at all so that you can do these settings.
7. The most important window in SCSETUP is Transfer options. Set Transfer mode to as fast as possible for it to be stable under Windows XP (preferrably Warp if it is supported by Star Commander for the Commodore disk drive you have selected). For Serial interface you have to look at the address areas and select the port that corresponds to your parallel port. For example, the parallel port of my computer is called LPT2 in SCSETUP while it is called LPT1 in Windows. Asynchronous transfer must be enabled (set to 'Always' or 'Auto'). Manual timeouts must be disabled. Disable Detect port modes.
8. One setting under Transfer options that I can mention in particular is Delay value. Double click on Recalibrate a number of times! Every time the same value must appear after Delay value and no other value must temporarily flicker by when you do Recalibrate. The value that appears must also be low. I have seen the value 4 both with a 450 MHz Pentium II (Windows 9  and a 2.6 GHz Pentium 4 (Windows XP) when everything works as it should. If the just described condition is not fulfilled, there will be a lock-up when communicating with the disk drive (for example if you try to read the directory of a disk). Typcially, the value 20 or 21 appears if it doesn't work as it should (either permanently or that it flickers by temporarily when pressing Recalibrate). If this happens there is no point in manually trying to input another value like e.g. 4 because the communication with the disk drive will still not work although the documentation of Star Commander suggests otherwise. If this happens to you, close SCSETUP, close the command interpreter window, do Stop followed by Start in UserPort and then start SCSETUP again in a new command interpreter window and do Recalibrate. If you repeat this a number of times and it still doesn't work, try restarting the computer. I can mention that the just described problem is something that pretty often happened to me with my previous Windows XP installation but with my present installation it has never happened to me.
9. Also set other necessary settings in SCSETUP that haven't been mentioned in previous bullets, e.g. type of disk drive and transfer cable. See the documentation for Star Commander!
10. Now you can try to start Star Commander and read the directory of a disk and do transfers. A good piece of advice to avoid lock-ups during transfers is to not move mouse or keyboard as long as Star Commander is communicating with the disk drive. Even if this instruction is for Windows XP I can mention that under Windows 98 it might possibly be an advantage to maximize the command interpreter window so that it covers the whole screen (with Alt + Return) to avoid lock-ups.
Last edited by Christian Johansson on Sun Oct 16, 2005 12:27 pm; edited 2 times in total |
|
| Back to top |
|
 |
Groupie in Training


Joined: 14 Mar 2005 Posts: 95 Location: Paris / France
|
Posted: Tue Mar 15, 2005 12:52 pm Post subject: |
|
|
Useful infos. Thanks for having translated this. |
|
| Back to top |
|
 |
Team Member & At Large


Joined: 31 Dec 2001 Age: 41 Posts: 1805 Location: UK
|
Posted: Tue Mar 15, 2005 2:07 pm Post subject: |
|
|
I've moved this to 'Help & Support' and made it sticky, as I think it could be quite useful - Thanks Christian!  _________________ |
|
| Back to top |
|
 |
C64 Enthusiast

Joined: 30 Dec 2001 Posts: 967 Location: Sweden
|
Posted: Tue Mar 15, 2005 6:15 pm Post subject: |
|
|
| LeeT wrote: | I've moved this to 'Help & Support' and made it sticky, as I think it could be quite useful - Thanks Christian!  |
You're welcome . I hope it will help somebody. |
|
| Back to top |
|
 |
C64 Games Programmer


Joined: 11 Feb 2002 Age: 34 Posts: 3149
|
Posted: Sat Oct 15, 2005 8:12 pm Post subject: |
|
|
Great. This should be useful. However, luckily my brother Philip had partitioned his two hard drives on the PC, so I am able to boot Windows 98 or Windows XP, by choice. Or enter the command prompt, for use with Star Commander on Start up. What a gre3at chap my brother is
If people don't have a partitioned drive with 2 operating systems, then I'm sure the instructions started on this post would be very handy  _________________ The New Dimension
I love C64 tape loaders and try to come up with new fun things using them.  |
|
| Back to top |
|
 |
Master of C64


Joined: 08 Nov 2005 Age: 39 Posts: 1122
|
Posted: Fri Nov 11, 2005 2:27 am Post subject: |
|
|
Christian, thanks a lot man!
Since I'm a total n00b when it comes to Star Commander (have winxp), your guide was really helpful (even pasted it for future reference).
But StarCom kept crashing on my pc so I dl your config file and that really did the trick.  _________________ |
|
| Back to top |
|
 |
C64 Enthusiast

Joined: 30 Dec 2001 Posts: 967 Location: Sweden
|
Posted: Fri Nov 11, 2005 6:25 pm Post subject: |
|
|
| Sith-Smasher wrote: | Christian, thanks a lot man!
Since I'm a total n00b when it comes to Star Commander (have winxp), your guide was really helpful (even pasted it for future reference).
But StarCom kept crashing on my pc so I dl your config file and that really did the trick.  |
No problem . Btw, I can mention that I have discovered later that I probably exaggerated a little at bullet number 5 about how many programs and processes you have to shut down. The most important thing there for me to get it to work seems to be to disable the network connection in the Control Panel (I wrote in my edit that the network should be physically disconnected before start-up of the computer but that doesn't usually seem to be necessary). |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Nov 12, 2005 1:54 am Post subject: |
|
|
just use cbm4win and the gui. |
|
| Back to top |
|
 |
Newbie
Joined: 03 Nov 2005 Posts: 6
|
Posted: Wed Nov 16, 2005 11:44 pm Post subject: still no communcation with 1541 |
|
|
I followed christian's guide above, still same result, device not present error. I have an xm cable, set to warp speed, serial and parralel set to lpt 2, delay value i cant get it under 9. |
|
| Back to top |
|
 |
Master of C64


Joined: 08 Nov 2005 Age: 39 Posts: 1122
|
Posted: Thu Nov 17, 2005 11:08 pm Post subject: Re: still no communcation with 1541 |
|
|
| Rogey1942 wrote: | | delay value i cant get it under 9. | You have more luck than me coz I can't get it under 17.
Oh well I've already bookmarked the sites of cbm4win that Anemo gave me and will check that out soon coz right now im too busy with trying out some c64 games. _________________
|
|
| Back to top |
|
 |
Groupie


Joined: 07 Jan 2002 Age: 30 Posts: 284 Location: Norway
|
Posted: Wed Jan 18, 2006 11:22 pm Post subject: |
|
|
| devnull wrote: | | just use cbm4win and the gui. |
Cbm4Win works like a charm in XP. No need to transfer to my old
dos machine anymore.
And the GUI certainly helps out. :)
6R6 |
|
| Back to top |
|
 |
Master of C64


Joined: 08 Nov 2005 Age: 39 Posts: 1122
|
Posted: Tue Feb 21, 2006 7:15 pm Post subject: |
|
|
Good to know that.
Although because I haven't got inet quite that long yet I still have a lot of C64 stuff to dl. Very busy lol.
So didn't check it out yet but I will eventually to make D64s of my originals to send to the crackgroups in my sig.  _________________ |
|
| Back to top |
|
 |
Newbie
Joined: 02 Apr 2006 Posts: 36
|
Posted: Tue Apr 04, 2006 4:26 pm Post subject: |
|
|
I use CBM4WIN, and i built a simple converter to convert my XM to an XE cable (switching pin 6 and 5). I then added a 2nd partitian to my D:, and that partition has the FAT file system.
To do this, find a copy of partitian magic. Select a drive with more than 15% free space. Select "Resize partitian" and reduce the size by about 500 megs (not very much is needed, commodore files are tiny, and the software is tiny).
Then select "create new partitian" on the same drive. Make that partition the full 500 MB.
Then apply
It will ask you to reboot.
Do so
Wait while it does it's job.
THen it will load back up into WINxp and winxp will detect "new hardware" your new drive is what it is.
THen go to windows explorer or my computer, put a 1.44mb floppy into the disk drive, right click on the disk drive and select format. Options will come up, but select "make an MS DOS BOOT DISK' all other options will eb grayed out.
Make the disk.
Copy 64hdd and star commander to your new FAT disk partition. Copy all d64 and prg files to the same partition. (it's crucial that they all be on the FAT partition, because dos only reads FAT or FAT32)
now, reboot with the boot disk in the drive.
WHen you finish booting you'll be at the A:\> prompt
type C:
this will bring you to the only drive partition that dos can read, which is whatever your new partition is called (maybe it's E: in windows.. but it's C: in dos)
you are now able to use 64HDD and Star Commander without complications in dos.
The key is the XM to XE adaptor. There are instructions for making them on the X cable homepage, but also, i have seen them on ebay occasionally.
YOu can also contact me, and i could try to build you one for no proffit, just the cost of parts (about 50 cents) and shipping (couple bucks)
That way you have the ability to use programs in windows, and dos, on the same computer, without transfering anything to other machiens, or adding another operating system and a dual boot.
This is how i solved my star commander problem (it just never worked in windows xp, and i gave up trying and just used it in dos, XE style) |
|
| Back to top |
|
 |
Newbie
Joined: 02 Apr 2006 Posts: 36
|
Posted: Tue Apr 04, 2006 4:32 pm Post subject: |
|
|
| 6r6_nostalgia wrote: | | devnull wrote: | | just use cbm4win and the gui. |
Cbm4Win works like a charm in XP. No need to transfer to my old
dos machine anymore.
And the GUI certainly helps out.
6R6 |
Whlie CBM works and is great etc... there are some disk images that CBM will not be able to transfer, for reasons unknown to me. Occasionally, you'll need star commander. YOu'd think that as computers get stronger and software more powerful, the ability to handshake with a simple machine like a commodore would increase, not decrease.
aya! |
|
| Back to top |
|
 |
Newbie
Joined: 02 Apr 2006 Posts: 36
|
Posted: Tue Apr 04, 2006 5:40 pm Post subject: |
|
|
http://cgi.ebay.ca/XM1541-to-X...dZViewItem
this company makes XM - XE converters (or XE to XM converters)
For some reason they label them like separate products, while they are identical products.. i guess to avoid confusion when people think "i have an XE.. this this says XM to XE"...
anyhow.
it's like 7 bucks canadian, i don't know what their american price is.
but 5.50 maybe? this is simpler, as for me, i'd need to find 6 pin Din plugs, which are basically completely nonexistant now.. so if you want a small cable converter, this is a good source.
I will order one to test it, take it apart, etc.. just to ensure they aren't shoddy.
i'll tell you the results when i get my cable. I don't wnt to reccomend a crappy comapny, you know how it is. |
|
| Back to top |
|
 |
Forum Junkie


Joined: 12 Oct 2003 Posts: 537 Location: Dortmund, Germany
|
Posted: Fri Apr 07, 2006 2:05 pm Post subject: |
|
|
| RObotron wrote: | | I use CBM4WIN, and i built a simple converter to convert my XM to an XE cable (switching pin 6 and 5). |
Why that?
And why do you mention cbm4win at the beginning while you are only writing about getting Star Commander to work?
| RObotron wrote: | | The key is the XM to XE adaptor. |
-v please! (-v means verbose)
| RObotron wrote: | | There are instructions for making them on the X cable homepage, but also, i have seen them on ebay occasionally. |
Which website do you mean?
Original X1541 Shop
| RObotron wrote: | | That way you have the ability to use programs in windows, and dos, on the same computer, without transfering anything to other machiens, or adding another operating system and a dual boot. |
Actually booting from a DOS disk is adding another OS temporarily and could also be called a dual boot.
| RObotron wrote: | | This is how i solved my star commander problem (it just never worked in windows xp, and i gave up trying and just used it in dos, XE style) |
But you are using cbm4win anyway, right? _________________
|
|
| Back to top |
|
 |
Newbie
Joined: 02 Apr 2006 Posts: 36
|
Posted: Fri Apr 07, 2006 3:39 pm Post subject: |
|
|
I use CBM 4 win until it doesn't work. SOme disk images refuse to copy in CBM 4 Win. then i just pop in my boot disk, add my XM to XE converter, and reboot and use star commander to achieve the disk copy that CBM wouldn't do.
CBM is less functional than star commander, but it's easier to use and more convenient to children of the windows generation.
Anyhow. Yes, i meant the x1541 shop, and i'm not sure if you were criticizing me for being too verbose or not verbose enough. |
|
| Back to top |
|
 |
Forum Junkie


Joined: 12 Oct 2003 Posts: 537 Location: Dortmund, Germany
|
Posted: Fri Apr 07, 2006 6:41 pm Post subject: |
|
|
| RObotron wrote: | | I use CBM 4 win until it doesn't work. SOme disk images refuse to copy in CBM 4 Win. |
For example?
| RObotron wrote: | | then i just pop in my boot disk, add my XM to XE converter |
This is what I don't understand as Star Commander supports all kinds of X1541 cables, here's a nice overview about program and cable compatibility (scroll down a bit to see the table).
| RObotron wrote: | | CBM is less functional than star commander |
CBM4WIN doesn't do more than transferring files. But there's no reason not to run CBM4WIN and Star Commander or 64COPY under WinXP simultaneously. Or do you see any disadvantages of cbm4win concerning the transfer itself? (except that it can't copy some disks as you mentioned above)
| RObotron wrote: | | but it's easier to use and more convenient to children of the windows generation. |
That's only the GUI!
| RObotron wrote: | | Anyhow. Yes, i meant the x1541 shop |
I asked because it sounded like that the SC website only provide instructions to build the adaptor instead of selling it (your hint to ebay) which it actually does, too.
| RObotron wrote: | | and i'm not sure if you were criticizing me for being too verbose or not verbose enough. |
I was just curious what you meant by "The key is the XM to XE adaptor.". _________________
|
|
| Back to top |
|
 |
Newbie
Joined: 07 Dec 2004 Posts: 9
|
Posted: Sun Apr 30, 2006 5:33 pm Post subject: |
|
|
| RObotron wrote: |
Whlie CBM works and is great etc... there are some disk images that CBM will not be able to transfer, for reasons unknown to me. |
Can you reproduce this?
Note, in cbm4win and cbm4linux prior to v0.4.0, there were some races between the drive code and the PC, which might cause some transfers to break. These should not occur with v0.4.0 anymore. You might want to try that out.
If you can still reproduce this, please contact me, so we can work it out.
You are the first one I ever heard this from.
Regards,
- Spiro. _________________
|
|
| Back to top |
|
 |
Newbie

Joined: 20 Oct 2007 Posts: 6 Location: UK
|
Posted: Mon Nov 12, 2007 7:50 pm Post subject: |
|
|
A little help?
About 10 years back I made a X1541 cable and successfully transferred some of my old stuff from disk. I should have archived the lot, there and then.
I've been trying recently to get SC working and there's no way; no connection regardless of PPort settings. Think it's down to the cable not being correct for newer PC's.
So question time....
Is the XA1541 the one to go for and do I need just that cable or something else with it? I'll be running SC from real MS-DOS and just want to get this precious stuff archived before the disks fail.
The goal is to get into the source code of my music editor and remember how it's controlled. Then maybe I can write some instructions and put it out there for everyone. It was after all, quite nice
Thanks,
Mark _________________ Vaguely responsible for some Thalamus music! |
|
| Back to top |
|
 |
Forum Junkie


Joined: 26 Oct 2007 Age: 20 Posts: 505 Location: Ashland, Kentucky; Located conviently next to scenic Hick-Ville, USA
|
Posted: Tue Nov 13, 2007 2:14 am Post subject: |
|
|
Awesome! I've been using an old 98 install disk that will exit to DOS when aborted  OOH! Now I can xfer and play some MP3's to drown out my 1541! _________________ Music expresses that which cannot be said in words, but must not remain silent. |
|
| Back to top |
|
 |
Forum Junkie


Joined: 26 Oct 2007 Age: 20 Posts: 505 Location: Ashland, Kentucky; Located conviently next to scenic Hick-Ville, USA
|
Posted: Wed Nov 28, 2007 12:07 am Post subject: |
|
|
One thing I've noticed, you can't use visualizations in Media Player while trying to run it. Everything freezes up. _________________ Music expresses that which cannot be said in words, but must not remain silent. |
|
| Back to top |
|
 |
Groupie in Training


Joined: 14 Dec 2004 Posts: 137
|
Posted: Mon Feb 11, 2008 3:25 pm Post subject: |
|
|
A week ago I decided to continue the marathon of transfering the C64 floppies to D64. I did about 10% ages ago and the rest has been waiting for me to pull my shit together.
My advice is, stay away from multitasking Windows on this.
I converted my X1541 cabel to an XM1541 one but it still gave me troubles with Cbm4win. Trying two PCs.
If you have an older PC with a disk drive, the best thing to do in my eyes is to use that with a DOS bootdisk. Might be a FreeDOS or MS-DOS. It is really easy. Boot normally when you want that and insert the boot disk when you want to go to DOS mode.
Ad an older small hard drive that you format for FAT32. That will be the only drive available in DOS and hence the C-drive. It will also be available in Windows booted from the primary hard drive.
The bootdisk system might also work from a memory stick.
Copy Star Commander and what else you need to that hard drive. Now you can transfer in pure DOS environment. And it will work with all cables. Just remember to run the Recalibrate feature to adjust the drive delay property and you are up and running. _________________ My favourites colours are Brown, Orange & Yellow. |
|
| Back to top |
|
 |
Groupie in Training


Joined: 09 Oct 2002 Posts: 135 Location: Groningen, The Netherlands
|
|
| Back to top |
|
 |
Newbie

Joined: 04 Jun 2008 Age: 45 Posts: 45 Location: Pit of Hell
|
Posted: Sat Jun 07, 2008 5:37 pm Post subject: |
|
|
a bit late as i just joined
Did someone had tought about setting up a virtual machine??
A SIMPLE vm with e.g. DOS 6.22 on it , shoulda work..
Just my 2 cents...
Any toughts?? |
|
| Back to top |
|
 |
|