[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adt(pro)



On Sep 19, 6:39 am, "John B. Matthews" <nos...@nospam.invalid> wrote:

> > > >> Translation:
> > > >> LDA #$10
> > > >> STA $C08B ;ACIA_Control Register
> > > >> LDA #$0B
> > > >> STA $C0AA ;ACIA_Command Register
> > > >> LDA $C0A8 ;ACIA_Data
> > > >> RTS

> Ah, I see. Then there's some kind of 32x external clock?
> $0B (%00001011): 1 stop bit, 8 data bits, external clock, 3600 baud.

The $10 stored in the control reg selects 1 stop, 8 bits, ext rx clk,
XTL/16 bps
where XTL = 1.8432 MHz so the baud rate is 115200 bps.

The $0B is stored in the command reg and selects no parity, no echo,
RTS & DTR asserted, no IRQs.