Re: [cc65] What are specifications for RS232 serial driver for Apple II?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-12-07 18:55:47
On Wed, Dec 07, 2005 at 09:50:26AM -0800, richard jackson wrote:
> I can make a driver if I know the specs..
>
> Serial card is very straight forward, control register, input
> byte/output byte.  Can you please explain how this interfaces with
> cc65?
>
> I do 6502 assembly no problem, and I'd like to create driver that
> works with cc65.

Oliver Schmidt has already contributed a serial driver for the Apple. It is
named apple2-ssc.ser, and based on the C64 driver, which in turn goes back to
Craig Bruces public domain 6551 driver. The source is available in the source
archive. If you want to write a driver for another serial card, please have a
look at the existing driver. The api is rather simple, most functions in
include/serial.h are mapped straighforward to driver functions.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Dec 7 18:56:00 2005

This archive was generated by hypermail 2.1.8 : 2005-12-07 18:56:03 CET