Re: ASCII_keyboard



Hi, i'm very happy to could use your so cool solution.
I hope soon to can make alive my bigboard 1 that need of a ascii parallel
keyboard... This is my website: http://elazzerini.interfree.it/index.htm
Regards
Enrico

"Computer says NO" <z378reply@xxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:GgQml.2687$qy7.2281@xxxxxxxxxxxxxxxx

"Jonathan Graham Harston" <jgh@xxxxxxxxxxxxxxxxxx> wrote in message
news:090217135501@xxxxxxxxxxxxxxxxxxxxx
z378reply wrote:
I have provided the code and schematic diagram together with a fully
commented listing for anyone interested.
http://www.interak.pwp.blueyonder.co.uk/PCtoASCII.htm

Looks useful, however, I'd need something that returned values for cursor
and function keys. The mapping I usually use is
http://mdfs.net/Docs/Comp/KeyMap/Regular

I note that you're providing 7-bit data as you're using b7 of PortB as
the
data stobe. However, it looks like there's some PortA lines unused, could
you use one of them? Eg:

ASOUT PortA.7=1
PAUSE 2
PortB=AC
PAUSE 2
PortA.7=0
GOTO SCAN

Your code makes CapsLock affect the :/; key. I've never encountered a
system
that does that. You could save a few bytes by omitting that code.

Anyway, I digress. I've been looking on and off for something that will
convert PC keyboard to 5v RS232 (RS423) so I can plug a cheepo keyboard
into a serial port.

--
J.G.Harston - jgh@xxxxxxxxxxxxxxxxxx - mdfs.net/User/JGH
The most perfect world is an imperfect world as the imperfections
give people a reason to strive to change it.

Hi Johnathan Yes I have only provided for 7-bit ASCII - but by using one
of the Port A outputs as a strobe it would be possible (as you suggest) to
use 8-bit ASCII which would allow many more key functions. Shouldn't be
too
difficult to add the necessary code for any extra keys and provide an
RS232
output.

I transfer files from my 8-bit computer to the PC via an RS232 link, so I
would not have any need for a keyboard which sent this code. I have heard
though, that radio hams would find this useful. Maybe I should write
another
Picbasic Pro file to provide RS232 out.

The reason for the extra colon on Caps Lock is that this allows the user
of
an older computer to work entirely in Caps Lock - the colon is required to
change drives (A: C: etc) and this is typical of ASCII keyboards.

Thanks for your comments, Alan





.



Relevant Pages

  • Re: Capslock mystery - Recent phenomena concerning keyboard
    ... Keyboard is from `Unicomp' and weighs about 10 lbs. ... I've recently started having a problem where the capslock comes on ... I'll be typing and suddenly I'm in caps and have to turn caps lock on ... After much fiddling, looking for stuck keys, unplugging/replugging ...
    (Debian-User)
  • Re: console, back-compatibe to terminal emulator, but with an advanced mode of full keyboard sup
    ... To avoid having 256 keys on a keyboard ... were modified by, for example, the CONTROL key which modified the ASCII ... traditional terminals do not do ...
    (comp.terminals)
  • Re: kbdmux oddity ?
    ... leds seem to arbitrarily decide wether or not they want to toggle ... every time I hit Caps Lock or Num Lock, or flip VTs in text mode. ... Normally, if I'm hitting letter keys, I never see any irq1: ... Dell GX280 with a USB keyboard. ...
    (freebsd-current)
  • Re: Fn key on keyboard
    ... look carefully on the keyboard for any LED or indicator which says something ... It sounds like you have Fn locked on (like Caps Lock on means you have to ... >> some of the keys on my keyboard have more than one thing on them like a ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: ASCII_keyboard
    ... and function keys. ... convert PC keyboard to 5v RS232 so I can plug a cheepo keyboard ... difficult to add the necessary code for any extra keys and provide an RS232 ... an older computer to work entirely in Caps Lock - the colon is required to ...
    (comp.os.cpm)