Re: CBM 8050 programming problems

From: William Levak (wlevak_at_cyberspace.org)
Date: 2002-01-01 05:26:09

On Mon, 31 Dec 2001, [ISO-8859-1] Marko Mäkelä wrote:

> Some problems remained with the PET and PET-II versions.  First, the PET
> question: copying disks in unit 0 works fine, but unit 1 fails.  I even
> tried this from BASIC:
> 
> 	OPEN15,8,15:OPEN2,8,2,"#"
> 	PRINT#15,"U1:2 0 1 0":REM works fine
> 	PRINT#15,"U1:2 1 1 0":REM ?DS$ gives "70,NO CHANNEL,00,00"
> 	CLOSE2:CLOSE15

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:#"

Then copy the data between the 2 buffers and write back the second buffer.


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.1.