[Coco] Vcc and real floppy disks

Darren A mechacoco at gmail.com
Fri Sep 26 15:59:25 EDT 2008


I think the problem that Robert was referring to is when a modified
DECB is used to access the second side of a disk as though it were a
separate disk. In this case the ID fields on both sides are encoded as
side zero.

For this scenario you need to use different values for the "phead" and
"head" fields of the FD_READ_WRITE_PARAMS structure when accessing the
second side of the disk (the "phead" field should be 1 and "head"
should be 0). With a true double sided disk under OS9 these two fields
should always be the same.

Darren

------
On 9/26/08, Joe F <joef6809 at gmail.com> wrote:
> Darren just saw your post,
> your right fdrawcmd lets you pick the side of the disk, right now I'm just
> forwarding the side select from the WD1773 chip so if you have an os like
> OS9 or a DECB that been modified to use the second side that should
> definitely work. I just never thought of over-riding that so standard BASIC
> would work like that.



More information about the Coco mailing list