home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / cbm / 4668 < prev    next >
Encoding:
Text File  |  1992-11-22  |  4.8 KB  |  106 lines

  1. Newsgroups: comp.sys.cbm
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!mizar.cc.umanitoba.ca!shad04
  3. From: shad04@ccu.umanitoba.ca (Dan Fandrich)
  4. Subject: Re: IBM keyboard to CBM
  5. Message-ID: <By52zA.J7y@ccu.umanitoba.ca>
  6. Sender: news@ccu.umanitoba.ca
  7. Nntp-Posting-Host: benford.cc.umanitoba.ca
  8. Organization: University of Manitoba, Winnipeg, Manitoba, Canada
  9. References: <92324.081236EAO102@psuvm.psu.edu>
  10. Date: Sun, 22 Nov 1992 22:40:22 GMT
  11. Lines: 93
  12.  
  13. In article <92324.081236EAO102@psuvm.psu.edu> Ernie Oporto <EAO102@psuvm.psu.edu> writes:
  14. >I have heard of a project where you can take an IBM 101-key keyboard
  15. >and connect it to a C128.  If anyone has any documentation on this
  16. >project, please let me know.  I'm really interested in doing this to
  17. >my machine.
  18.  
  19. Here's a message I saved from last year.  I haven't actually tried the i/f
  20. myself, so I can't supply any more info.  Also, fingering the jomby address
  21. yields no such user.  Hopefully the author changed his mind and allowed the
  22. plans to be made available via ftp somewhere.
  23.  
  24.  
  25. From: kolstad@jomby.cs.wisc.edu (Joel Kolstad)
  26. Newsgroups: comp.sys.cbm
  27. Subject: Wanna use a PC Keyboard with your C-64?
  28. Message-ID: <1991Apr16.035008.5667@spool.cs.wisc.edu>
  29. Date: 16 Apr 91 03:50:08 GMT
  30. Sender: news@spool.cs.wisc.edu (The News)
  31. Organization: U of Wisconsin CS Dept
  32. Lines: 66
  33. Originator: kolstad@jomby.cs.wisc.edu
  34.  
  35. From: kolstad@jomby.cs.wisc.edu (Joel Kolstad)
  36. Newsgroups: comp.sys.cbm
  37. Subject: Wanna use a PC keyboard with your C-64?
  38. References: 
  39. Sender: 
  40. Followup-To: 
  41. Distribution: world
  42. Organization: U of Wisconsin CS Dept
  43. Keywords: 
  44.  
  45. Well, after becoming very frustrated with my always dirty, rarely working
  46. very well original Commodore 64 keyboard, I decided to built myself an
  47. IBM PC to Commodore 64 keyboard interface.
  48.  
  49. I finished this little hack this past weekend, and am now happily typing
  50. on a Bondwell PC-XT keyboard going through my circuit to a C-64 (this
  51. was about the cheapest PC keyboard I could find... $25 from Lesko's, in
  52. Wisconsin...).
  53.  
  54. The circuit is quite simple... just two chips: An Intel 8748 microcontroller
  55. (yes, ancient, I know) and a (New! :-) ) Dallas Semiconductor's 8x8 Cross
  56. Point switch.  (What's rather ironic, here, is that many PC keyboards,
  57. including this one from Bondwell, use 8x48s themselves! :-) )
  58.  
  59. The 8748 just watches the PC keyboard's scan codes, and figures out what to tell
  60. the 8x8 Cross Point switch to do -- that is, what keys to "fake" on the
  61. Commodore 64 keyboard.
  62.  
  63. I think I did a decent job on the tiny program that runs the 8748... Caps lock
  64. is supported, Num lock is supported, shifted PC keys function like their 64
  65. counterparts should, hitting arrow keys on the PC keyboard automatically
  66. adds shifts when needed, etc.  Overall, pretty much transparent to the user.
  67. The only place wher there are a few quirks is in "non-standard" characters
  68. such as vertical bars, tildes, etc.  I tried to map this characters into
  69. the most standard C-64 keys I could, but by their natur of being non-
  70. standard keys, how perfect the translation is depends on what the program
  71. is looking for. :-) Also, sending "impossible" key combinations (like,
  72. hitting Shift-2 (@) and U and the same time on the PC keyboard) won't
  73. produce useful results.  But I wouldn't expect it too...
  74.  
  75. Personally, my C-64 and its assorted hardware lives in a big metal box, so it
  76. was no problem to stick in another board.  But for people who would want to 
  77. keep their original cases, it'd probably be possible to just drill a hole
  78. for the keyboard connnector in the case, anad keep the circuit board inside.
  79. Since this thing uses a crosspoint switch, a simple passthru lets both the
  80. C-64 and PC keyboard work at once -- now there's where we could see
  81. some productivity!  But more importantly, this means you can still use the
  82. C-64 keyboard when there isn't a PC keyboard plugged in.
  83.  
  84. Sound useful?  Good!  Since I doubt I could ever generate enough interest
  85. in this to make any money, I'm releasing it as more or less "public domain
  86. hardware."  If anybody wants a schematic or more information, you can
  87. mail me at my below e-mail address.  Sorry to say that I can only provide
  88. HPGL or Epson printer dump outputs.  If you want the code for the 8748,
  89. you can have Intel Hex format, or UUencoded binary.
  90.  
  91. I'd appreciate it if anyone sending for schematics and/or 8748 listings
  92. keep the things off of FTP sites, and such, for awhile -- I might just
  93. try to sell this to some magazine. :-)  All of you who want more
  94. information, then, are my close personal friends and beta testers. :-)
  95.  
  96. That's about it.  I hope someone out there finds this as useful as I have --
  97. I _love_ my new keyboard!
  98.  
  99. ---Joel Kolstad
  100. kolstad@jomby.cs.wisc.edu
  101.  
  102.  
  103. >>> Dan
  104. -- 
  105. Internet: shad04@ccu.umanitoba.ca               Compu$erve: 72365,306
  106.