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


Forums > C64 Coding > Disk Drive Tool
2016-12-04 09:59
oziphantom

Registered: Oct 2014
Posts: 478
Disk Drive Tool

Are there any cmd line ( on windows ) tools that enable you to put data into sectors, or write files starting at a Track:Sector. OR a way to do it in c1541?

Ability to change the optimal interleave per file would be an added bonus.
2016-12-04 10:30
tlr

Registered: Sep 2003
Posts: 1702
Maybe this: cc1541?
2016-12-04 10:32
ChristopherJam

Registered: Aug 2004
Posts: 1370
The python script I use to generate .d64s for my releases has those abilities internally, though they're not exposed as commandline parameters at the moment. It also starts with a blank .d64 rather than parsing an existing one.

I could clean it up a bit if nothing else is proposed, or you can grab the script as is if you're happy to make the changes yourself.

edit - tlr responded while I was writing my comment; but offer still stands of course :)
2016-12-04 11:04
oziphantom

Registered: Oct 2014
Posts: 478
cc1541 has interleave but no write sector ability.

ChristopherJam - blank d64 is fine ;)
2016-12-04 17:59
ChristopherJam

Registered: Aug 2004
Posts: 1370
OK, I'll put a release together - probably tomorrow.

I'm guessing there may be more than one file with a requested starting track,sector?
2016-12-04 18:34
JackAsser

Registered: Jun 2002
Posts: 1987
Quote: cc1541 has interleave but no write sector ability.

ChristopherJam - blank d64 is fine ;)


As author of cc1541 I've never even considered that use case. :) Why do you need it? I'm curious!!

Also, the source code is available, it would be trivial to use it.

Nowadays I use the internal Booze-tools which has another disk-utility that's more tightly bundled with ByteBoozer and the Booze-loader. That tool doesn't have the functions you request either.
2016-12-05 05:02
oziphantom

Registered: Oct 2014
Posts: 478
1571/1581 128 Boot Sectors. They must start at Track 1 Sector 0 for the 128, the 1571/1581 USR autoload files also have a set position. All the "sectors" used above must not have the PRG load address so are full 256 byte sectors.

Also I'm making the disks dual System, so there is a C64 version and a C128 version on the disk. The C64 version is Krill loaded and should have the standard interleave, but the 1571 does better with a 6 interleave ( I think it is six, need to look it back up). The C128 just gives a much better loading experience, and if I can patch the game to work on the 128 its just better.

I've been trying to get things compiling, Exomizer has a couple of changes I would like to make, but they are GCC, and I've tried getting them to cross-compile on my Linux VM but they don't. Sometimes I can get them to work on VS ( tass64 for example is now VS2015 compatible ) but when they use the "normal" getOpts its a sign they need the whole thing. Or in case of Exomizer Bison etc
2016-12-05 09:00
ChristopherJam

Registered: Aug 2004
Posts: 1370
Quoting JackAsser
As author of cc1541 I've never even considered that use case. :) Why do you need it? I'm curious!!


I've started placing the drive code for loaders into hardcoded block locations, then performing block-reads to load them into drive buffers.
2016-12-06 08:07
ChristopherJam

Registered: Aug 2004
Posts: 1370
Release done.

BakeDisk64
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
QuasaR/CENTRiC
YPS
Acidchild/Padua
Fred/Channel 4
E$G/hOKUtO fOrcE
Trash
kbs/Pht/Lxt
Guests online: 94
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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