Hi,
I've got the Dvorak layout working with my SAM... I don't know if
anyone here uses Dvorak so I thought I'd just post it.
A few problems:
* Since the SAM has its quote characters on Shift-7 and next to
return, I'm not sure what should go where 'Q' used to be.
* 'Inverse' and '/' no longer have mappings... I'm not sure where to
put them... Where 'Q' is, possibly? Also, I've lost page C6 in the
tech manual so I don't know what value 'Inverse' has. If anyone can
scan this page in, please do! :-)
* The '.' next to the function keys becomes 'V', since both '.' keys
generate the same scancode. :-(
If anyone has improvements, or wants Classic or PC versions of the
layout, let me know. Unfortunately, the SAM only has 9 'symbol' keys,
whereas PCs tend to have 11, (or 12 for the UK layout)...
BTW, how do the PS/2 -> SAM interfaces work, WRT the keyboard layout?
Do you just have to ignore whatever's printed on the keyboard?
Well, here's the program, anyway:
10 RANDOMIZE 0
20 READ a
30 DO WHILE a
40 READ b$
50 KEY a,CODE b$
60 KEY a+70,CODE b$-32:REM SHIFTED KEYS
70 READ a
80 LOOP
90 READ a
100 DO WHILE a
110 READ b$
120 KEY a,CODE b$
130 READ a
140 LOOP
150 DATA 1,"z"
160 DATA 10,"v"
170 DATA 19,"w"
180 DATA 20,"s"
190 DATA 28,"x"
200 DATA 29,"d"
210 DATA 30,"f"
220 DATA 33,"y"
230 DATA 34,"i"
240 DATA 35,"k"
250 DATA 37,"b"
260 DATA 38,"h"
270 DATA 39,"g"
280 DATA 42,"p"
290 DATA 43,"u"
300 DATA 44,"j"
310 DATA 46,"m"
320 DATA 47,"t"
330 DATA 48,"c"
340 DATA 52,"e"
350 DATA 53,"q"
360 DATA 56,"n"
370 DATA 57,"r"
380 DATA 61,"o"
390 DATA 66,"l"
400 DATA 70,"a"
410 DATA 0
420 DATA 60,","
430 DATA 51,"."
440 DATA 62,":"
450 DATA 0
Cheers,
--
Stuart Brady