Moderators: Mug UK, Zorro 2, Moderator Team
tschak909 wrote:with the DTR hang-up I was trying to implement a simple sleep, but there isn't an equivalent call in plain TOS.
Code: Select all
#include <unistd.h>
usleep(100000); /* in microsecs */
I'll need to understand how to do it for the other interface devices.
Code: Select all
*((volatile unsigned char *)0xffff8c85) = 5; /* select register 5 */
*((volatile unsigned char *)0xffff8c85) = 0xea; /* enable DTR */
Code: Select all
*((volatile unsigned char *)0xffff8c85) = 5; /* select register 5 */
*((volatile unsigned char *)0xffff8c85) = 0x6a; /* drop DTR */
but it doesn't seem to make a dent in Aranym
tschak909 wrote:It's hanging because RTS/CTS is enabled, and it's waiting for CTS to be ready to send the echo packet.
tschak909 wrote:According to: http://toshyp.atari.org/en/004011.html#Rsconf
Code: Select all
flags &= ~(TF_STOPBITS|TF_CHARBITS|T_EVENP|T_ODDP|TANDEM|RTSCTS);
flags |= TF_8BIT | TF_1STOP | RTSCTS;
it works everywhere except Falcon. changing the serial port doesn't seem to make a dent.
no serial I/O...wtf?
Users browsing this forum: No registered users and 4 guests