[cc65] RS232 question

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-04-12 18:29:01


I've had a first look today on how to redesign the RS232 routines when
converting the drivers to loadable modules. Two questions I'm undecided about

  1. Would it make sense to support more than one serial port?

  2. If so, would it make sense to allow different drivers for the ports?

1. has some overhead, because a port number must be passed to several
routines, 2. has even more overhead, because the different ports must be
handled in the rs232 kernel functions (outside the drivers). Mixing the two
options (say: port #1 and #2 are handled by driver #1, while port #3 is
handled by driver #2) is so complex that I would say it's not worth the

My approach would be to handle just one port as it is now (the 6502 has
difficulties handling even one port with decent baud rates), but since I'm
about to do a redesign on the API level, I thought I'd better ask...

Comments anyone?



Ullrich von Bassewitz                                  uz_at_musoftware.de
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-04-12 18:29:54 CEST