[comp.sys.cbm] sync detect

ptmcd@dalcsug.UUCP (06/01/87)

I am posting this request for a friend who does not have access to usenet news.

The Commodore 1541 disk drive has a routine to search for a sync character on
a formatted disk.  This routine ($F556) reads bit 7 (sync detect line) of $1C00
to detect the sync character.  My question is, where (and what) is the routine
that updates the ram location $1C00?  If anyone out there in netland has an
answer please send me mail that I can forward to my friend.

All help would would be greatly appreciated.

-- 
P. Trent MaCDougall @ Dalhousie University 
		      Halifax, Nova Scotia

uucp:  {seismo,utai,aucs,wathmat}!dalcs!dalcsug!ptmcd

bryce@COGSCI.BERKELEY.EDU.UUCP (06/02/87)

> The Commodore 1541 disk drive has a routine to search for a sync character on
> a formatted disk. This routine ($F556) reads bit 7 (sync detect line) of $1C00
> to detect the sync character.  My question is, where (and what) is the routine
> that updates the ram location $1C00? 

It's not a RAM location.  $1c00 is part of the input/ouput chip that controls
the disk.  For a good description of all this see "Inside Commodore DOS", by
Richard Immers.   The author apologizes that the book is more expensive to
photocopy than purchase -> you see, he never got paid for writing it.


: bryce@cogsci.berkeley.EDU -or- ucbvax!cogsci!bryce  flush flash!