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


Forums > CSDb Discussions > Star Commander "clone" for Linux
2005-04-10 10:23
Compyx

Registered: Jan 2005
Posts: 631
Star Commander "clone" for Linux

Hi there,

I was wondering if anyone would be interested in a Star Commander-like tool for Linux ?

Currently I'm in the process of transfering all my old disks to images, using Star Commander under DOS/Windows on an old PC and then transfering them to my Linux PC using Samba.
This is obviously a bit time-consuming, not to mention the fact I hate Gatesware.

So, I'm thinking about coding a native Linux tool to do the job. But before I start work on such a tool:
I'd like to know how many people (if any) would like to see such a tool (and maybe even help out) ?
2005-04-10 12:54
Style

Registered: Jun 2004
Posts: 498
Ill say to you the same thing Ive said to everyone who mentions linux and a 1541 :)

What we really need is a filesystem and device driver for the 1541. I want to be able to mount a 1541 disk like any other filesystem, and dd images to/from the dev....

Sure, the font will be broken, short filenames etc etc etc. But it would mean being able to drag files across using your favourite file tool.

Anyway, my 2c.. Good luck with it anyway!

2005-04-10 13:52
Compyx

Registered: Jan 2005
Posts: 631
What you're saying sounds similar to Cbm4Linux, a kernel-driver module.

It would indeed be a great thing if one where able to connect a 1541 (using a X(?)-1541 cable) and mount it just like any other FS ("mount /dev/1541 /mnt/1541"!). I have already written an ANSI-C library that can read/write whole d64-images, files in d64-images, manipulate the BAM, etc. etc.

What I need is some more understanding of how the kernel handles (virtual) file systems. Could be worth investigating some time in that..

Any help would ofcourse be great :)
2005-04-12 12:02
Nightlord
Account closed

Registered: Jan 2003
Posts: 131
is it possible to overcome the critical timing in 10-ms resolution of linux world. or is there an other way
2005-04-12 15:18
MagerValp

Registered: Dec 2001
Posts: 1074
Jim Brain's VIP interface has Linux support (I think he's developing it under Linux actually). It's more of a 64HDD-like solution though, where the linux (or windows, or macos) machine appears as a device on the C64. Then you can use a disk copy program on the C64 to create D64s.

As for C libraries for disk images, I've also written one:

http://www.paradroid.net/diskimage/
2005-04-12 15:54
Compyx

Registered: Jan 2005
Posts: 631
@Nightlord: I think it should be possible, at least communication on a TALK/LISTEN level works. But I'm far from a Linux guru, I only know low-level IO-programming on the C64/1541..

@MagerValp: Your library looks pretty similair to mine :)
What Jim Brain is doing is more or less the opposite of what I'd like to do. His interface uses the Linux-box as a virtual filesystem, while I'd like to use the 1541 as a virtual file system (a real drive connected to the Linux-box, not images).

I don't suppose Jim Brain's project is open-source? If it is, I would be able to look at the source and see how the IO-part is handled :)


2005-04-12 20:42
MagerValp

Registered: Dec 2001
Posts: 1074
Well, you just want to archive disks right? If the copying software runs on the C64 or the PC shouldn't really matter. Either way - cbm4linux does what you want - connect the 1541 to the PC, and read/write disks. VIP allows you to use the PC as a C64 HD, making it possible to copy disks with normal disk copy software.

And yeah, Jim's stuff is open source (GPL, I believe), but it's not released yet.
2005-04-12 21:09
Compyx

Registered: Jan 2005
Posts: 631
Ok, so I'll just build a XM-1541 cable then.
Once I've got Cbm4Linux working I can always consider writing a Star Commander-like program, perhaps using libSDL to display the C64-font..

Archiving my disks is my first priority, but I don't want to have to resort to Fisher Price OS'es :)
2005-04-12 21:32
Count Zero

Registered: Jan 2003
Posts: 1920
Yeah, basically cbm4linux does what you want. It is a little odd to start a DOS Emulator with star commander to work on a few more disks properly though.
I added the common conversion stuff to midnight commander and sometime back even diving into d64 worked more or less reliably. Worked to quickly copy something out of a d64 or so. The scripts utilize c1541 from the vice package though and that one ULTIMATELY SUXX and gets more and more bugs every release. :(

So, linux (and esp. me) would sure appreciate a simple filebrowser that allows proper handling of the c64 filenames and copy from and into a new image without loosing filename properties. You can utilize the cbm4linux routines easily, since they are mostly the ones which star commander runs with anyhow.

Add me up for any tests you need to run :)

l8r

Count Zero/CyberpunX/SCS*TRC
2005-04-13 07:27
Grue

Registered: Dec 2001
Posts: 161
I have been using starcommander with dosemu under linux, its very usefull when handling .d64's file copying in / out of images and such tasks.
Images I have transferred to ide64 with c2n232 or on floppy with xa1541 cable using cbm4linux.

I'd love to see native linux utility to handle c64 fileformats, images and such with integrated transferring options including cbmlink, cbm4linux etc. existing transfer applications.

2005-04-13 07:57
Compyx

Registered: Jan 2005
Posts: 631
Any tips on which cable would be best?

I already have a working XE-1541 cable and a 6-pin male DIN plug, a 25-pin male parallelport plug and a shielded 4-wire cable.

For an XM-1541 I would need to buy 4 diodes, for the XA-1541 I'd have to buy 4 transistors and resistors, which are all pretty common.

The XE-1541 cable can be converted to an XM-1541 cable by swapping two lines, but I'd rather leave that one the way it is now..
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
Holy Moses/Role
Shogoon/Elysium/MSL
Nordischsound/Hokuto..
Digger/Elysium
JEZ
krikkit/Censor Design
Da Snake
zscs
CA$H/TRiAD
fegolhuzz
wil
Mythus/Delysid
elte
Freeze/Blazon
grasstust/Hoaxers
bonefish
Epyx/TSA
Iapetus/Algar../Cosine
peterfj
Dave/SIDNIFY
Snabel
Coffe
Guests online: 136
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Comaland 100%  (9.6)
10 No Bounds  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.7)
4 Acidchild  (9.7)
5 Cash  (9.6)

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