AtariBits
  • Home
  • Systems
    • 576NUC+
    • 1088XEL >
      • XEL-CF Drive
      • XEL-CF3 Rapidus Variant
      • Accessories
      • XEL Archives
    • 1088XLD >
      • RGB2VGA-XLD
      • ARROW2JOY-XLD
    • CV-NUC+
  • TransKey
    • TK-II >
      • TK-II Manual
      • Installation
      • Device Compatibility
      • TK-II Archives
    • TK-II-STEREO
    • TK-II Control
  • XEP80-II
  • JOY2PIC
  • MOUSE
  • MIDI
    • MIDI 3D Printed Cases
  • UGV
  • SDrive
  • Blog

TransKey-II Firmware Update II

6/3/2021

 
Well just when I thought everything had been covered, and all the bugs had been safely put to bed (or wherever dead bugs go), another problem surfaced. It too was obviously something that had been in existence for quite sometime, but had somehow flown under the radar. What I'm talking about has to do with the stock Atari keyboard's CTRL, SHIFT, and BREAK keys becoming garbled. Or in other words erratic in nature.

I think the reason I didn't see this was that during the early days of TransKey development, when I more thoroughly tested under all possible criteria, this issue did not exist. But that was also before I configured the code for a sustained key press from the PS/2 keyboard side of things. Prior to doing that, I had only given PS/2 key presses a timed key press equivalent on the Atari key matrix, which at first appeared to work fine, but later I realized not under all circumstances (or with all software applications). So in a later iteration of the firmware I implemented a more Atari like key response, and had it maintain an Atari key down for as long as the PS/2 key equivalent was being held as well. This appeared to work fine at the time, but apparently I never went back and tested this with the actual Atari keyboard still connected. And it appears no one else has either, or they're just not complaining about the erratic keys on the stock Atari keyboard. Or better yet they probably don't use the stock keyboard since installing the TransKey.

So back to the problem. As best I can tell the issue was associated with the new code that was added for sustained key presses at the time, and has been around ever since. So once I realized this, it was a simple matter to look at the routine in the firmware and spot the offending line of code. It turned out to be the Pokey KR2 line handling that was the issue. This is where a held key was using a TTL based version of a PIC I/O line to communicate to the Pokey KR2 bit, irrelevant of what the mode was actually set to (float or TTL). Float is the case where one of the PIC's I/O ports mimics an open drain output, thus still allowing the Atari keyboard to work in parallel with the PS/2 keyboard. TTL mode was only suppose to get used when no internal Atari keyboard is connected, usually in the case of an XEGS, but also applies to a 1200XL. this mode can be toggled by pressing CTRL+ALT+X, with ALT+X showing the present setting (ON = TTL Mode, OFF = float).

So once the bug was discovered it was a very simple matter to correct the situation, thus restoring the stock keyboard to full functionality.

This has now been fixed in both the 'classic' version, and the new 'J' version firmware. Downloads are available HERE for the newest universal V2.7J version, and HERE for the 'classic' V2.6 version, which has now been depreciated where new hardware designs are concerned.

There's no need to update the TK-II firmware on an XEGS, or for the 1088 series machines. And there is also no need to do so even on other systems where you no longer use the stock Atari keyboard.

- Michael

Comments are closed.

    Author

    My name is Michael St. Pierre and in the early 90's I decided to create my very first Atari 8-Bit upgrade. It was called TransKey.
    ---Then soon after Atari folded and I left the scene ---
    25 years later I came back with a mission to improve upon what I had started so long ago.

    Archives

    June 2023
    May 2023
    March 2023
    January 2023
    December 2022
    August 2022
    May 2022
    April 2022
    December 2021
    October 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021

    Categories

    All
    576NUC+
    AtariBits News
    ColecoVision
    Industrial Applications
    Intro
    Monster 600XL
    Multi-SLOT 1200XL
    Transkey
    XEP80-II

    RSS Feed

Powered by Create your own unique website with customizable templates.