Re: CBM 8050 programming problems

From: Marko Mäkelä (
Date: 2002-01-03 09:08:00

On Mon, 31 Dec 2001, William Levak wrote:

> I think the open with "#" associates the buffer with a drive (drive 0 is
> the default). You may need to open a second file as:
>         OPEN3,8,3,"1:#"

I tried that yesterday.  It doesn't work, the drive apparently tries to
open a file "#" for reading on drive unit 1.

However, I found out a work-around for the problem.  The following
solution worked:

	PRINT#15,"U1:2 1 1 0":PRINT DS$

The "UI" command simulates a drive reset.  Without the "I" command, the
drive refuses to read sectors in unit 1.  Reading from unit 0 works in any
case.  Also the B-R command has the same symptoms.


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.1.