I am using a 9pin Null modem cable to my computer. I am using putty and have tried all the different flow controlls but can just not get it to work. When I check the pins it looks like the 6551 is not sending out the bits to the serial port. I was able to get it to go by grounding out all the pins except the tx pin, but the pc terminal would still not disply the sent char.
I am using the below simple code to send a single letter over and over to the 6551 and from what I can tell it seems to be sending the correct information the to the chip.
ACIADATA = $A001 ;ACIA Data register
ACIACONTROLL = $A003 ;ACIA Controll register
ACIACOMMAND = $A002 ;ACIA Command register
ACIASTATUS = $A001 ;ACIA status register
NMI_VEC = $0000 ;NMI vector Not used
RES_VEC = $E000 ;RESET vector
IRQ_VEC = $0000 ;IRQ vector
START
LDA #$1E ;9600/8/1
STA ACIACONTROLL ;Write Controll Register
LDA #$0B ;N parity/echo off/rx int off/ dtr Active
STA ACIACOMMAND ;Write Command Register
LDA ACIASTATUS ;Read and clear status register
LOOP
LDA #$41 ;load the letter 'a' into A
STA ACIADATA ;write to serial port
JMP LOOP ;loop
*=$FFFA
.word NMI_VEC ; NMI vector(not used)
.word RES_VEC ; RESET vector
.word IRQ_VEC ; IRQ vector(not used)