24 September 2018, 22:25 | #61 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
|
24 September 2018, 22:34 | #62 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
|
25 September 2018, 09:04 | #63 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
What actually you do in your code is using MFMPREC=0. But what this mean? In my mind the precomp is like a 'voluntary jitter' inserted 'cause the non-linear properties of magnetic recording surface (we've a ~300RPM fixed rotation, a fixed clock and different track length..). In your test you write on track 0 where the precomp need to be minimal (higher precomp is needed in cyl closer to the center, well, rarely used on Amiga because it work anyway, but this is another story..). There is documentation on what GRC precomp do? If we look at the other bits for the precompensation we can suppose that probably it insert a 'jitter' of 1120ns, that is exactly the wrong thing to do in our case! Seems that "00" GCR work because of more bits density, we instead are enlarging distance. So for GCR is important to distribute properly precomp in the various tracks if you trick with it ("00" bits..). [I remembered something from my archaic tests: with the "0000" MFM I had to carefully use the precomp otherwise I had problems on the internal tracks] With a simple "0" GCR we are really relaxed and a 'median' jitter is the best thing to do. Well, always if actually GCR precomp does this, sure we really need a probe to check the flux.. Problably doesn't work anyway, cause the bad timing on successive bits and propaganting error, but.. if you have some spare time play with it |
|
25 September 2018, 09:26 | #64 |
Registered User
Join Date: Dec 2016
Location: Finland
Posts: 168
|
In Wikipedia there is an article about GCR format and some of its variations. Apple used three different encodings, of which the two first were pretty poor in terms of encoding efficiency. Then later Commodore used a fourth GCR format in C64, which is the most space efficient, 4 bits becomes 5. It seems that Amiga can't read and/or write this C64 format entirely correctly and maybe also fails at the third apple format (6 and 2-encoding), as it allows also two consecutive 0's at some places.
https://en.m.wikipedia.org/wiki/Group_coded_recording |
25 September 2018, 10:39 | #65 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Ok, time for a synthetic extended ADF, full original version, containing GCR track.
Thanks to all involved! Into the Zone. |
25 September 2018, 14:58 | #66 | |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
|
Quote:
There are several utilities and sundry on AmiNet for accessing floppies from a 1541 on an A1020. So, what is "entirely" in this context? |
|
25 September 2018, 15:18 | #67 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Quote:
At least Paula's GCR sync mode is incompatible with C64 GCR, software track decoding is always needed. It already worked (at least without cycle-exact) but now also correct track speed is used when track is "half-size". |
|
25 September 2018, 15:49 | #68 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
|
25 September 2018, 16:54 | #69 | |
Registered User
Join Date: Dec 2016
Location: Finland
Posts: 168
|
Quote:
Yes, but we were talking about handling GCR format with Amiga's native disk drives. This A1020 is some external disk drive which has its own drive mechanism, and probably is connected to Amiga via parallell port (ok im not sure here). I would really need to experiment on my own to tell you more, but the disk drive in my A1200 seems to be broken. Last edited by coder76; 25 September 2018 at 17:00. |
|
25 September 2018, 17:50 | #70 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
|
25 September 2018, 17:58 | #71 |
Registered User
Join Date: Oct 2009
Location: Salem, OR
Posts: 1,767
|
Possibly wrong and/or just way off, but if GCR is what is used by the Macintosh, didn't AMax read/write GCR from an Amiga drive with it's mini transfer disk format?
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Encoding and writing an MFM track | phx | Coders. Asm / Hardware | 15 | 30 October 2013 10:33 |
Game with GCR track found ! | dlfrsilver | project.SPS (was CAPS) | 11 | 18 April 2008 15:22 |
GCR Format on Amiga | NOB | Coders. General | 24 | 20 August 2006 02:14 |
|
|