Gaming on an IBM XT using an NES controller

[Frode] felt that using the keyboard for gaming on his old IBM XT computer was simply too noisy. He came up with a much quieter way to game by building an XT adapter for an original NES controller. If you haven’t explored the communication protocol used by the NES peripherals this is a great way to learn. Inside you’ll find a CMOS shift register that captures button states when it receives a latch signal. With that in mind [Frode] came up with a circuit to gather the bits from the controller, and generate input commands using the XT keyboard protocol without using a microcontroller. All of this is explained in the demo after the break.

Most of the NES controller hacks we see permanently alter the hardware. It’s nice to see one used without cracking it open.

Comments

  1. different Colin_B says:

    On the second line, you need an “e” in “quiter” to make it “quieter”. Otherwise, nobody will know what you are talking about at all…

    Anyway, this is neat-o enough.

  2. Gppk says:

    He looks so unhappy by what he’s done. He should be proud. Great work.

  3. Anonymous says:

    @Gppk Agreed. The project is great, but the video feels awkward and unrehearsed. Take pride in your work, Frode!

  4. The prject box matches the PC case!

  5. Osgeld says:

    “It’s nice to one used without cracking it open.”

    eh maybe, but they are hardly uncommon, the junk store down the street has filing boxes of them for 2 bucks each

    as far as the project, thats a wild way to get from point A to point B, MCU’s really spoil us

  6. George says:

    Of course the keyboard on his XT is “noisy”, it’s a “clicky” one from the days when IBM built keyboards to last. As an afficionado of old computer hardware, and a user for almost two decades of a Model M keyboard, that hardly seems justification to replace the keyboard with a Nintendo controller, but to each their own. :)

  7. DanAdamKOF says:

    They actually made NES to AT Keyboard connectors way back when the day, a friend of mine found one at a thrift store recently. But this is definitely a good take on it :)

  8. alex says:

    The machine itself should be noisy too, why doesnt he watercools it and its power supply lol.

    I loved those old “clicking keyboards” for gaming, got like 15 of them but it was thrown out when i moved.

  9. me says:

    Impressive because it does not use an µC.
    On the other hand, it is a lot of hardcore nerd work for very few functionality and the need to reprogram(?) old games in order to make use of the adaptor.
    I like it. ^.^

  10. George says:

    Alex: I doubt watercooling is *really* necessary for either the 8086 CPU or the (optional) 8087 FPU. :) The power supply, on the other hand, might benefit – though a new, modern fan would probably do the trick just as well, and much more cheaply.

    As to whether extensively modding an XT would be 3l33t… I’ll leave that to others to decide.

  11. Wow, no microcontroller? Truly an elegant piece of electrical design.

  12. bob says:

    Ive never heard NES said ‘en ee es’, so dont put ‘an’ before it. Its A NES controller, not an nes controller.

  13. dfj says:

    Too loud, perhaps, but the XT keyboard was usually a model F capacitive board, rather than the membrane contacts of the Model M. Both great boards, both nice, clicky, buckling spring keys over their different contacts, however – the XT was actually quite good for gaming having the debounce done for free by the analog sensor, and also having full n key rollover in hardware. Latency on an F is not actually faster than an M, though – the debounce is not needed, but the keys are instead scanned more sequentially, so the scan actually eats up what would have been the debounce time, and then again some more.

  14. takato says:

    Welcome to the internet Bob! A place where people pronounce things every possible way.

  15. signal7 says:

    Great work – haven’t really seen too many projects like that since I was in college.

    on the other hand…. nice case. ;-)

  16. pfargtl says:

    been using an acer 6311 keyboard for 18 years. CLICKY CLICKY CLICKITY CLICK-KLACK-CLICKY. seriously, thisw thing was designed to be repaired, i have a few times. i aim to get atleast another 5 or 6 years out of it, then i have another in storage =D

  17. Paul Potter says:

    Great work.

    I’ve got an IBM XT in my collection. Great old machine.

  18. Frode says:

    @Gppk
    @Anonymous
    I wasn’t unhappy, but rather a bit nervous. I borrowed my yonger brother’s camera, something he doesn’t really like, so I had to do it as fast as possible.

    By the way, the project can be made to support the SNES controller and four-score with only one additional clock divider. Then the last 8 bits will have to be manually “aligined” in the shift register as those bits would lack the start-bit.

    Another reason to use an adapter instead of physically modding the controller is that you can decided if you want to use a regular controller pad or any of the alternative controllers (anything from the POWERGlove to the NES Advantage should work in some way). You can also change the kind of controller used while playing.

  19. arjan says:

    way to go man! Writing a game in assembly on your RED-flip-button 8088 turbo system and designing a connector for your NES controller using flip-flops and wood. I wish I still had that stuff. But I have to say I love the keyboard the most. Nowadays you can buy one of those clickety-click-keyboards for $70! Wish I kept it from my childhood…

  20. Osgeld says:

    check your local ma and pa computer shops, I bought my 2 model M’s for 3.50$ each

  21. Frode says:

    @arjan
    btw, this is a geniue 4.77MHz IBM XT, not one of the turbo-clones.

    I got 3 of these keyboards, but only this one is in exellent condition (it’s also the only one with the Norwegian layout). The other two IBM XT-class KBs got minor costmetic issues, like corrosion on the almost solid metal box surrounding the key-contacts and one got an unstable “space” key (due to some accident I had once I tried to clean it).

  22. TRONhacker says:

    nice job……..^_^ you should be happy dont listen to people who comment on your spelling….

  23. grenadier says:

    All this work for the NES brick? At least go for a decent controller man!

  24. Frode says:

    @grenadier
    I guess the NES Advantage is decent enough for all my needs. For anything else, the regular gameport can be used.

  25. Shauna says:

    Asking questions are in fact good thing if you are not understanding anything completely, except this paragraph offers good understanding yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,449 other followers