Jump to content
IGNORED

PIO woes


Vorticon

Recommended Posts

Hi.

As some of you know, I frequently experiment with interfacing the TI to the outside world using the PIO port. Lately however, the computer stopped recognizing the label "PIO" for printing purposes, even though I am still able to access the port at the low level normally through assembly language and my interfacing activities are not affected.

For example, trying LIST "PIO" from TI BASIC will give me an I/O ERROR 00.

My current RS232 card is TI stock with the HDX modification and the serial ports work just fine as well. I swapped that card with an unmodified stock RS232 one and the PIO port was again recognized as usual, so the problem must lie with my original card.

 

What kind of failure could trigger such an odd behavior?

Link to comment
Share on other sites

Indeed bizarre...

 

Not being a hardware guru, (and this may be a dumb question) is there an IC on the rs232 that handles high level interpretation? Or are all BASIC I/O functions interpreted prior to accessing the card? I know BASIC is just simply interpreted by GPL, then by machine code... But---

 

Seems if low level access works properly, there is a disconnect there somewhere.

Link to comment
Share on other sites

Low level serial and parallel access can be accomplished without the EPROM or DSR code. On the other hand, named devices such as "PIO" and "RS232" and routines such as the Circular Interrupt Buffer (CIB) do require a DSR.

 

Fred's HDX DSR is loaded into RAM (and IIRC is split into two 4k banks). My bet is that the DSR has been partially or completely overwritten or corrupted. If you have not tried reloading the DSR into the RS232 I would try that first.

 

Unfortunately, DSR corruption is a downside of the HDX, IDE, RAMdisks, and similar devices without a fully write-protected DSR (i.e., EPROM).

  • Like 1
Link to comment
Share on other sites

Out of curiosity, how often is the HDX DSR updated? Would it not be feasible to make an HDX DSR module which is built using EEPROM (or flash ROM, for that matter?)

 

Fred seems to update as fixes and features are available. If the HDX DSR operates similarly to the IDE and Horizon DSRs, some of its RAM is used for internal operation of the device.

Link to comment
Share on other sites

Low level serial and parallel access can be accomplished without the EPROM or DSR code. On the other hand, named devices such as "PIO" and "RS232" and routines such as the Circular Interrupt Buffer (CIB) do require a DSR.

 

Fred's HDX DSR is loaded into RAM (and IIRC is split into two 4k banks). My bet is that the DSR has been partially or completely overwritten or corrupted. If you have not tried reloading the DSR into the RS232 I would try that first.

 

Unfortunately, DSR corruption is a downside of the HDX, IDE, RAMdisks, and similar devices without a fully write-protected DSR (i.e., EPROM).

 

Yeah, I get intermittent DSR corruption with my IDE card, a fact which makes it far less reliable than it should be. I hope that with the planned re-design of the IDE card, the DSR will reside in an EPROM instead...

Link to comment
Share on other sites

 

Yeah, I get intermittent DSR corruption with my IDE card, a fact which makes it far less reliable than it should be. I hope that with the planned re-design of the IDE card, the DSR will reside in an EPROM instead...

Same thing happens with my IDE card. I pulled it from my system after one particularly annoying stretch though I plan to try it again with Fred's latest DSR. Perhaps the planned redesign can review whether or not there is some modification that would help, similar to how the Horizon 3000 boards were 'corrected' at one time.

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...