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 > Differences between Commodore drives
2021-11-18 13:41
tlr

Registered: Sep 2003
Posts: 1714
Differences between Commodore drives

Continued from here: Can not open Turbo Macro Pro
Quoting Krill
Maybe, but
FDCB  24 4D    BIT $4D       ;new interrupt ?
FDCD  10 FC    BPL $FDCB     ;no,
FDCF  A5 41    LDA $41       ;read PORT A: data input
FDD1  91 16    STA ($16),Y   ;store into assigned buffer
FDD3  45 08    EOR $08       ;calculate new checksum
FDD5  85 08    STA $08       ;store new checksum result
FDD7  C8       INY           ;all bytes read ?
FDD8  D0 F1    BNE $FDCB     ;no,

getting readily decoded bytes right from the hardware, with IO registers in zeropage, too, feels like quite the luxury. =)

The GCR encode/decode hardware seems rather compact, only a prom and a few TTL chips. No real custom formats possible though, except changing the general layout.

The later 8050 drive has a 6502 instead of the 6504 and uses the SO pin, but that's higher density so I guess it might be pushing it a bit, even with hw GCR decoding.
2021-11-18 14:11
Krill

Registered: Apr 2002
Posts: 2839
Quoting tlr
The GCR encode/decode hardware seems rather compact, only a prom and a few TTL chips. No real custom formats possible though, except changing the general layout.
Yes, but then there is not much of a need for custom formats with that speed provided by hardware already. Plus Commodore GCR density was outstanding for its time (better than most (all?) competitors). Things like Kabuto's encoding weren't even considered, i guess. =) (And then it's "only" 9% denser.)

Quoting tlr
The later 8050 drive has a 6502 instead of the 6504 and uses the SO pin, but that's higher density so I guess it might be pushing it a bit, even with hw GCR decoding.
Very likely. From https://github.com/mist64/cbmsrc/blob/master/CONTROLLER_8250/r_w :
L100   BVC L100        ; NO TIME FOR JSR
       CLV             ; CLEAR BYTE READY (V)
;
       LDA DIN         ; LOAD BYTE
       STA (BUFPT)Y    ; STORE IN BUFFER
       INY
       BNE L100        ;LOOP FOR 256 BYTES
They also moved the checksumming to a separate loop after reading.
2021-11-18 15:54
tlr

Registered: Sep 2003
Posts: 1714
Quoting Krill
Yes, but then there is not much of a need for custom formats with that speed provided by hardware already. Plus Commodore GCR density was outstanding for its time (better than most (all?) competitors). Things like Kabuto's encoding weren't even considered, i guess. =) (And then it's "only" 9% denser.

The first papers on arithmetic coding had just been published when the first Commodore drives were designed, so that had been very cutting edge. :)

Quoting Krill
Very likely. From https://github.com/mist64/cbmsrc/blob/master/CONTROLLER_8250/r_w :
L100   BVC L100        ; NO TIME FOR JSR
       CLV             ; CLEAR BYTE READY (V)
;
       LDA DIN         ; LOAD BYTE
       STA (BUFPT)Y    ; STORE IN BUFFER
       INY
       BNE L100        ;LOOP FOR 256 BYTES
They also moved the checksumming to a separate loop after reading.

Haven't looked very much at those higher density drives. Are they just a higher bitrate with the same GCR + 80 tracks?
2021-11-18 17:24
Krill

Registered: Apr 2002
Posts: 2839
Quoting tlr
Quoting Krill
Things like Kabuto's encoding weren't even considered, i guess. =) (And then it's "only" 9% denser.)
The first papers on arithmetic coding had just been published when the first Commodore drives were designed, so that had been very cutting edge. :)
Yeah. :) Plus that scheme is not just arithmetic coding, but something else based on the ideas of arithmetic coding.
So this might have been original research even, back then. (It may have very well been back in 2012, too, though. :D)

Quoting tlr
Haven't looked very much at those higher density drives. Are they just a higher bitrate with the same GCR + 80 tracks?
It seems so. http://www.zimmers.net/anonftp/pub/cbm/schematics/drives/old/80..
2021-11-18 17:39
tlr

Registered: Sep 2003
Posts: 1714
Quoting Krill
Quoting tlr
Quoting Krill
Things like Kabuto's encoding weren't even considered, i guess. =) (And then it's "only" 9% denser.)
The first papers on arithmetic coding had just been published when the first Commodore drives were designed, so that had been very cutting edge. :)
Yeah. :) Plus that scheme is not just arithmetic coding, but something else based on the ideas of arithmetic coding.
So this might have been original research even, back then. (It may have very well been back in 2012, too, though. :D)

I'm pretty sure I saw a paper on this (which I didn't understand fully) after searching around RLL a couple of years back. Will see if I can find it back.
2021-11-18 17:45
Krill

Registered: Apr 2002
Posts: 2839
Quoting tlr
I'm pretty sure I saw a paper on this (which I didn't understand fully) after searching around RLL a couple of years back. Will see if I can find it back.
Please do! :) The stuff i found either didn't quite match (but was vaguely similar) or was behind a paywall.
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
Walt/Bonzai
Andy/AEG
Alakran_64
Didi/Laxity
Krill/Plush
Ko-Ko
Martin Piper
jcompton
Jammer
Guests online: 134
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 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
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 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (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 Original Suppliers
1 Derbyshire Ram  (9.5)
2 Black Beard  (9.4)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Irata  (8.5)

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