Re: [cc65] C64 drive direct access question

From: Greg King <gngking1erols.com>
Date: 2005-11-05 13:28:26
From: Spiro Trikaliotis; on October 23, 2005; at 06:37 AM -0400
>
> Hello Raj,
>
> * On Sat, Oct 22, 2005 at 08:59:55PM +0200 I wrote:
>
> > In fact, I think your problem with the C code most probably is that
> > you forget to send the CR after the line.  (I would have to check again
> > if that CR is really needed, but that is my guess.)
>
> I rechecked:  Now, this is not the case.  Your code somehow did not send
> an EOI to the floppy.

The cbm_write() function calls the Kernal's CLRCHN routine.  So, Raj's
program does send EOI.

I have a question for Raj:  When your program talks with the console, does
it use the conio functions or the stdio functions?  (The "cbm" functions
don't work well with the stdio ones.)

(By the way, I wonder why no one noticed that "\x18" isn't the 1541's
directory track?!)
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Nov 12 03:18:41 2005

This archive was generated by hypermail 2.1.8 : 2005-11-12 03:18:45 CET