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 > C64 Coding > Disk image formats
2008-07-04 08:51
HCL

Registered: Feb 2003
Posts: 716
Disk image formats

Anyone who knows about specs on the common disk image formats, like .d64 .g64(?) etc.. What i'm extra curious about is the use of +35 tracks, like Krestology/Crest (37-38 tracks), DigitalWorld/Samar(40 tracks). I have my own d64-editor already, so that's not the problem.

I assume there's no set standard for this since it's only weirdoez using it for fun. Vice seems to handle Krestology d64 and Samar (g64), but most transfer progs seem to be limited to 35 tracks. I can't just create a .d64 with 40 tracks if it's not reasonalby possible to transfer to 5'25.

..and i don't want to code a tool, like in Krestology, or.. maybe i want to :). But noone would use it today :(.
 
... 1 post hidden. Click here to view all posts....
 
2008-07-04 10:12
Graham
Account closed

Registered: Dec 2002
Posts: 990
There is a standard for 40 track disks: Tracks 1-35 are like on a 35 track disk, and tracks 36-40 continue with the same density and number of sectors on a track as tracks 31-35.

For D64 it's quite easy. First 683*256 bytes are the standard 35 track sectors, then there may or may not be another 85*256 bytes for the additional tracks.

There is a 40 track speeddos version which can even use those extra tracks just as if they are normal tracks with standard DOS routines. AFAIK the additional BAM entries are simply placed in the free bytes in sector 18,0 after the header/ID strings at the end of the sector.

The Samar demo uses a totally non standard format with more data on each track. So it's not "just 40 tracks".
2008-07-04 18:57
HCL

Registered: Feb 2003
Posts: 716
Good info, thanx.

..and what about transfering? Are there any transfer tools that manages 40 tracks!? WarpCopy? Hint, hint ;).

I assume .g64 must be GCR-coded data, plus sync-data and god knows what :). Don't have time to dig into that now.
2008-07-04 19:27
TNT
Account closed

Registered: Oct 2004
Posts: 189
Check out D64 format document (search for "variations" on that page). There are at least three different locations for extra BAM entries.
2008-07-05 05:33
chatGPZ

Registered: Dec 2001
Posts: 11123
Quote: Good info, thanx.

..and what about transfering? Are there any transfer tools that manages 40 tracks!? WarpCopy? Hint, hint ;).

I assume .g64 must be GCR-coded data, plus sync-data and god knows what :). Don't have time to dig into that now.


starcommander and cbm4win (or well, opencbm) can handle 40 tracks.

and g64 is rather simple, its just the full raw gcr data for each track (plus a table for the speedzones). its reasonably well documented ...

however, so far only hoxs64 implements g64 correctly (ie, according to the specs). vice is horribly broken, it has hardcoded sizes, cant handle a sync that wraps around (starts at end of data and continues at start) and whatnot. its really not very useful for general purpose stuff.

for spreading something that would need g64, but which doesnt contain nasty shit like weak bits or killer tracks - use sixpack. (not sure if it can handle 40 tracks though). and if you want to provide an emulator image, use sixpack on the realmachine, transfer the sixpack files to pc, and then extract the files to an empty g64 in emulator. i'd personally avoid mnib, it shares the horribly broken g64 code with vice =P
2008-07-06 16:52
HCL

Registered: Feb 2003
Posts: 716
Thanx guys, you're my encyclopedia :).
2008-07-07 00:34
Skate

Registered: Jul 2003
Posts: 491
@HCL: What about a real MMC64/MMCReplay support? That would solve your additional track needs and make MMC users happy :)
2008-07-07 06:52
HCL

Registered: Feb 2003
Posts: 716
Sorry, i'm not one of them.
2008-07-07 09:39
Dane
Account closed

Registered: May 2002
Posts: 421
Excllent, more disk space for music ;)
2008-08-19 10:35
WVL

Registered: Mar 2002
Posts: 886
Just popping in..

Is there a tool like c1541 or cc1541 which can also write to tracks 36-40? Or do I have to resort to star-commander to make a 40 tracks .d64? Or do I need to code my own? (I don't have time for this!)

Also, I'd really (like really) like it if I could also abuse track 18 (like I can with cc1541), but I can't do that with starcommander..

What do you guys use?
2008-08-19 11:27
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: Just popping in..

Is there a tool like c1541 or cc1541 which can also write to tracks 36-40? Or do I have to resort to star-commander to make a 40 tracks .d64? Or do I need to code my own? (I don't have time for this!)

Also, I'd really (like really) like it if I could also abuse track 18 (like I can with cc1541), but I can't do that with starcommander..

What do you guys use?


To patch my cc1541 to handle 40-tracks is a 30 minute patch job. Just do it... Update the sectors per track table and change the malloc and bam-handling. Presto!
Previous - 1 | 2 - 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
Carcass
Alakran_64
Krill/Plush
Clayboy
Didi/Laxity
Guests online: 153
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 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (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.05 sec.