Jump to content
IGNORED

DTR and RTS


Recommended Posts

No answers here, so I will give some feedback on my research.

It seems there is no real reason to clear these signals.

Generally a DCE device may even require DTR (Data Terminal Ready) in order to talk to the DTE.

RespeQt is not using the RS232 hardware handshake, instead it is monitoring the state of the Atari command line connected to CTS, DSR or RI, so nobody takes care about DTR or RTS.

Almost nobody...

I was asked for help by somebody playing with one of the Arduino board, which was simply passing data between the real serial port connected to ATARI and the software serial port (USB).

Unfortunately RespeQt could not see any data coming (I/O calls were blocking), however PUTTY worked as expected showing bytes coming from ATARI.

I compared the sequence of serial port initialization between Putty and RespeQt (using PortMon) and realized that Putty is setting the DTR and RTS lines regardless of the handshake settings. For me it looks that the virtual serial port driver does not pass incoming data as long as we do not set DTR...

A small change in RespeQt helped :)

Link to comment
Share on other sites

Not understanding what your getting at....

It's not a full blown rs232 emulator... It's a SIO emulator and only the common drives etc....

I would love a full blown all device emulator on a pc.. as some of the earlier 3rd party devices on the 800 had full flow control or some times completely their own standards of communication many used ports 3 and 4 on the front of the 800 also... over time some of those pads, paper tape readers, and control systems have been purchased by users here on Atari Age... often a mention but nothing else other than they have it.... I wish the software would be archived.. picture taken.. maybe a youtube video and some sort of write up would be done.... many time they just put it away and forget about it... in the dark dank collection pen until they pass on, cash out, or push up daisies.... then the family tosses it out in the bin... lost forever... sigh

Edited by _The Doctor__
Link to comment
Share on other sites

I mean, we use RS232 port on a PC to connect to the Atari SIO port (this is what SIO2PC is all about):

Connecting RxD, TxD lines to Data Out, Data In lines is obvious. We also connect SIO's Command Line to one of the RS232 lines (CTS, DSR or RI).

Now, in order to emulate a SIO device, the PC emulation software uses the RS232 port.

In particular the RS232 "hardware handshake" is not used, instead one of the control lines (CTS, DSR or RI) is monitored to detect the high state of the SIO command line.

Now depending on the serial port driver implementation (on a PC) everything can go fine or not...

This is what I described above about Arduino.

 

I guess you meant devices similar to ATARI 850 (providing ATARI with RS232 capabilities)?

Link to comment
Share on other sites

  • 3 weeks later...

There are SIO2PC devices which may use the DTR or the RTS signals to select the mode, either to enable them or to set them to SIO2PC mode (vs, for example, 10502PC mode). I seem to remember the Atarimax RS232 SIO2PC needs one of these lines set properly, though I could be mistaken.

  • Like 1
Link to comment
Share on other sites

There are SIO2PC devices which may use the DTR or the RTS signals to select the mode, either to enable them or to set them to SIO2PC mode (vs, for example, 10502PC mode). I seem to remember the Atarimax RS232 SIO2PC needs one of these lines set properly, though I could be mistaken.

 

Yeah, I think Joey is onto something here. I have one of Ray's previous-generation dual-mode SIO2PC/10502PC dual-mode devices - I used it in the past to image my old floppies to .atr files. I don't recall what specifically about it switches modes, but the way it's designed, it cannot work with real Atari disk drives on the SIO chain as the Atari computer. However, it can be used to connect a drive directly to a modern device to make disk copies. At the time I bought it, Ray's advice to users was to use APE/ProSystem to do the disk imaging, and to use AspeQt to do other, general peripheral emulation with the resulting .atr files, which is what I did.

 

But that brings up another question: can RespeQt do this? That is, act as the "host device" on the SIO chain and make copies of existing disks? I don't think it can, can it? If not, is it something that might be added at some point further down the roadmap?

Edited by DrVenkman
Link to comment
Share on other sites

 

Yeah, I think Joey is onto something here. I have one of Ray's previous-generation dual-mode SIO2PC/10502PC dual-mode devices - I used it in the past to image my old floppies to .atr files. I don't recall what specifically about it switches modes, but the way it's designed, it cannot work with real Atari disk drives on the SIO chain as the Atari computer. However, it can be used to connect a drive directly to a modern device to make disk copies. At the time I bought it, Ray's advice to users was to use APE/ProSystem to do the disk imaging, and to use AspeQt to do other, general peripheral emulation with the resulting .atr files, which is what I did.

 

But that brings up another question: can RespeQt do this? That is, act as the "host device" on the SIO chain and make copies of existing disks? I don't think it can, can it? If not, is it something that might be added at some point further down the roadmap?

This functionality belongs in a separate software package IMHO

  • Like 1
Link to comment
Share on other sites

  • 6 months later...

you know the more I think about this... would it be cool to load up 4,8, or 16 drives with images and then be able to select write to real disk, have respeqt flip to host mode and write out those images to one selected drive or 4,8, 16 real drives? Yes fully aware of the need to use a soldering iron etc. for the higher disk numbers...but still a cool as heck disk reconstitution system... a step further to include bit writer or other protocols down the road?

 

Par teh Par teh Ja!

Edited by _The Doctor__
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...