Subject: Re: low-level serial driver question
To: Monroe Williams <monroe@teleport.com>
From: Ken Nakata <kenn@remus.rutgers.edu>
List: port-mac68k
Date: 09/20/1995 21:55:39
> To anyone who has worked on the serial driver...
Well, I don't think I qualify, but...
> I need to change certain bits in one of the z8530's write registers,
> but the register contains other bits that I don't want to touch. Is
> there an easy way of doing this? The obvious solution is to have a
> variable somewhere that always mirrors the last value written to each
> write register (presumably an array of chars, one per register), but
> the driver doesn't seem to do that now. Am I missing something?
Can't you just read back the register value? Some bits might not have
identical meanings in read and write operations for a same register,
but I thought most of them could be read back... Well, I may be wrong
as it was a loooooong time ago when I actually wrote a Z8530 driver
for OS-9/68k...
I'll dig up my Z8530 data sheet if you want (I think I still have it
somewhere).
Cheers,
ken n.