floobydust wrote:
Okay, first... there's no need to disable/re-enable interrupts for the CHROUT routine... you also send the character to the ACIA, then execute the delay loop. This ensures that you won't attempt to send another character (by calling CHROUT) until the existing one has completed sending.
If you're still having a problem, you need to look at the handshake lines on your serial port setup. There are 7 signal lines from the 6551... they all need to be connected to something... Try this:
1- Connect RTS to CTS on the 6551
2- Connect DCD, DTR and DSR on the 6551 together (all 3 together)
3- Do the same on the serial port for your computer if those lines are exposed
4- RxD to Txd and Txd to Rxd between devices plus ground.
Well, I do have it working at this point; it appears that the (perceived, by myself) crappiness of serial ports on Linux is the problem. So far I have only been able to get into the monitor by using a program called dterm I just happened to find during research regarding serial ports on Linux. However, I'm not 100% sure it's _fully_ working yet.
I'm experiencing "weirdness" (for want of better phrasing..) with the monitor interface. It almost looks like it only ever responds to a single keystroke...
I can't tell if the weirdness I'm experiencing is because of the serial port thing (i.e. software issues on my PC), the program I'm using (dterm), the software on the SBC, or the hardware itself. I highly doubt it's the software on the SBC though; clearly it's not Microcom's issue. And, I suspect it's not related to the few minor changes I had to make to get it working on my machine. I really think I'm still just having issues with software on my PC. Either that or it's the CTS/RTS thing.
So, with that, if I can't get it working more properly by just messing around with things, I'll take the ACIA out of its socket and try out your suggestion.
EDIT: Also, regarding #3 of your suggestion, I am using a USB to UART cable that only provides GND, +5V, RX, and TX.
EDIT2: Okay, it's working 100%! At least, as far as I can tell. I am able to interact with it, without the "weirdness", and do things like print out what's in memory. Not sure how many things I can really do with it without having other software on the computer (suggestions are welcome!) but, hey! This is good.
And here's the kicker: I didn't even remove a single chip.
EDIT3: By the way, guilty confession: this is the first time I think I've ever actually used a monitor program of any kind. Gotta say, as minimal as it is, it's pretty neat! Makes me think writing my own should definitely be on my agenda.