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 > GCR decoding on the fly
2013-03-31 12:46
lft

Registered: Jul 2007
Posts: 369
GCR decoding on the fly

Here's how to do it:

http://linusakesson.net/programming/gcr-decoding/index.php
 
... 149 posts hidden. Click here to view all posts....
 
2013-04-25 20:56
Krill

Registered: Apr 2002
Posts: 2804
Quoting tlr
Do you have anything to back that timing suspicion up?
I can't see how the bit timing could be different all the way out to the port pins. Surely there must be at least one pipe line step through the VIA so even if there is a difference in timing on the bus out from the 6502 it will be reclocked.
No, hence my doubting my doubts. Probably there is no such problem if the SAX opcode itself works. That it doesn't with some drives may be the main problem to consider here.
2013-04-25 21:00
Krill

Registered: Apr 2002
Posts: 2804
Quote: also MiST from visual6502 actually did all the tests in a 1541 - with no sign of special behaviour.

Original MOS 6502, yes. I have no idea about the clones floating around, if they use the original circuitry and whatnot. After all, SAX does not work on that Synertec variant. But i haven't checked if this is somehow connected with it not being NMOS or anything, IF it isn't..
2013-04-26 18:53
chatGPZ

Registered: Dec 2001
Posts: 11088
i'd just ignore that drive then, really :)
2013-04-26 19:37
JackAsser

Registered: Jun 2002
Posts: 1987
Quote: i'd just ignore that drive then, really :)

Ignore HCL's drive?!? Now that's bold... ;)
2013-04-26 20:23
HCL

Registered: Feb 2003
Posts: 716
OK, then i'll ignore all c128dcr drives.. ..and this means WAAAAR!!!

;)
2013-04-26 20:48
chatGPZ

Registered: Dec 2001
Posts: 11088
every good irq handler has an inc $d030 in it =)
2013-06-23 20:43
doynax
Account closed

Registered: Oct 2004
Posts: 212
I've been testing the 16-cycle RMW ATN acknowledgment scheme discussed above and have run into a bit of trouble. It appears to work fine on my working (1571) drive, 1541U, VICE and Hoxs64. However the reaction is occasionally a cycle late in CCS64.

Anyway, I've isolated the issue into a little timing test comparing ASL $DD00 to ASL+STA $DD00.

I'd much appreciate it if anyone else would run these on hardware to compare the RMW/WR cases, confirm whether this is a known bug, or spot the error in my thinking.

https://sites.google.com/site/doynax/iec_repro.zip
2013-06-24 18:10
tlr

Registered: Sep 2003
Posts: 1701
Quote: I've been testing the 16-cycle RMW ATN acknowledgment scheme discussed above and have run into a bit of trouble. It appears to work fine on my working (1571) drive, 1541U, VICE and Hoxs64. However the reaction is occasionally a cycle late in CCS64.

Anyway, I've isolated the issue into a little timing test comparing ASL $DD00 to ASL+STA $DD00.

I'd much appreciate it if anyone else would run these on hardware to compare the RMW/WR cases, confirm whether this is a known bug, or spot the error in my thinking.

https://sites.google.com/site/doynax/iec_repro.zip


didn't examine it in detail but the asl $dd00 will shift CLKin into DATAout (=DATA out from the c64 will be the inverse of the state of the CLK line).

Maybe that is what bites you?
2013-06-24 18:34
doynax
Account closed

Registered: Oct 2004
Posts: 212
Quoting tlr
didn't examine it in detail but the asl $dd00 will shift CLKin into DATAout (=DATA out from the c64 will be the inverse of the state of the CLK line).

Maybe that is what bites you?
Good idea. That's thinking outside of the box.

Unfortunately I think you've got the shift direction mixed up. The CLK input is bit 6 with DATA out in bit 5 just below it, so an ASL should not pick up the two significant input bits.
2013-06-24 19:07
tlr

Registered: Sep 2003
Posts: 1701
Quoting doynax
Unfortunately I think you've got the shift direction mixed up. The CLK input is bit 6 with DATA out in bit 5 just below it, so an ASL should not pick up the two significant input bits.

Doh! :)
Previous - 1 | ... | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 - 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
kbs/Pht/Lxt
bugjam
Airwolf/F4CG
macx
Guests online: 358
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Mutetus  (9.6)
4 Linus  (9.6)
5 Jammer  (9.6)

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