Attachment:
board.png [ 928.68 KiB | Viewed 531 times ]
Hello all, its been a long time since I posted something. I recently picked up one of these guys:
https://wdc65xx.com/Single-Board-Computers/w65c02sxb/I'm not much of a hardware guy I'l have to admit. So, I wanted something that had real hardware that I could write my software for. So far, the WDCDB (debugger/monitor) has been splendid and worked flawlessly.
However, since I am writing my own BASIC and FORTH interpreters, I would like to be able to connect to this board over a terminal connection. The 65C51 onboard has a jumper with the following pins:
Attachment:
acia.png [ 24.54 KiB | Viewed 531 times ]
I know that RXD/TXD and ground are required, but I'm not sure about the other pins. What I'd like to go with is a null modem DB9, and just purchase a DB9 serial -> USB cable of some sort. Some of the schematics I've seen make use of the MAX232 chip.
I'm hoping that this isn't required. I was a little disappointed that I couldn't just use the microUSB "TIDE" connector to connect to the device. I'm hoping that someone out there has played with this board and knows exactly what I need to do
Finally, here's the code that sets up the ACIA
Code:
ACIA_BASE equ $7F80
ACIA_DATA equ ACIA_BASE
ACIA_STATUS equ ACIA_BASE+1
ACIA_COMMAND equ ACIA_BASE+2
ACIA_CONTROL equ ACIA_BASE+3
org $300
START:
lda #%00001011 ; no parity
sta ACIA_COMMAND
lda #%00011111 ; 1 stop bit, 8 data bits, 19200 baud
sta ACIA_CONTROL
Thanks!