[Coco] drivewire serial port progress
aawolfe at gmail.com
Wed Nov 11 07:54:12 EST 2009
On Wed, Nov 11, 2009 at 7:39 AM, Steven Hirsch <snhirsch at gmail.com> wrote:
> On Wed, 11 Nov 2009, Aaron Wolfe wrote:
>> After a long night of hacking I now have an interrupt based driver
>> working, and it's working really well. Took a lot of debugging but I
>> learned much in the process.
>> I used a buffer in the style of sc6551's, I think I can get dw to
>> write straight into it in the future. I somehow solved the issues
>> with non VDG consoles, it now works fine with level 1 or 2, any
>> console mode. I also got rid of an occasional mysterious input bug.
>> All in all, it's coming together fast.
> I cannot wait to see this. Nice work!
If you're brave, you can have it right now http://aaronwolfe.com/coco
>> For data/modem applications, there is another set of controls. Can
>> both be implemented at once, or will there need to be two
> Are you talking from the Linux or CoCo side of things? On Unix-y systems, I
> believe there are a set of ioctl functions to configure a tty device for
> console or raw data I/O. On the CoCo side, there are folks a lot smarter
> than I am who'll have to answer :-).
Mostly the Coco side. As I study the existing SCF drivers and the os9
tech reference, it seems like certain control characters actually have
to be turned into signals, not sent through as characters. My
concern is that sending binary data through this channel would create
> The Unix view is documented reasonably well in Stevens' "Advanced
> Programming in the Unix Environment".
One of my favorite books :) I actually had to get it out when I was
working on the PTY support in this project.
> Coco mailing list
> Coco at maltedmedia.com
More information about the Coco