Image Map Image Map
Results 1 to 5 of 5

Thread: Keyboard

  1. #1

    Default Keyboard

    Hey guys, looking to attach a keyboard to my commodore C386SX-LT. I have one COM port on it and one printer port. My question is, is there any way to get a keyboard to attach to either of these ports? If the Com port, I also need a way to split it to mouse.

    Thanks

  2. #2

    Default

    No clue why I put this in software lol

    Mod's please move

  3. #3
    Join Date
    Dec 2005
    Location
    Toronto ON Canada
    Posts
    7,094

    Default

    Don't know about your particular setup, but with normal DOS and Windows systems you could plug in a serial keyboard and use either a wedge to redirect it to the keyboard or the WIN tools to do the same. Trouble is, the mouse would use the same port...

  4. #4

    Default

    I have a built-in modem I am removing and replacing with another COM port. I just didn't know there was such a thing as a serial keyboard. Please enlighten me.

  5. #5
    Join Date
    Jan 2007
    Location
    Pacific Northwest, USA
    Posts
    30,697
    Blog Entries
    20

    Default

    DOS does give you a certain limited functionality with the CTTY command. Basically, you can do CTTY COM1: and DOS will read from the comm port for input.

    But there are gotchas.

    The first one is that it's only good with programs that use DOS functions (e.g. 1, 6 and 10) for input. Programs using the BIOS calls won't work--and there are a lot of those.

    The second is that no scan codes are returned and you don't get cursor or function key control. DOS expects a dumb ASCII TTY-type input.

    But if you really want to take a PC keyboard and have it output ASCII codes over a serial link, I'm sure that I've seen a PIC project to do just that.

    You could also write your own TSR/driver to simulate a PC keyboard from ASCII input and patch the INT 16H vector to your BIOS.

    Just tossing some ideas out....

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •