Z88 Keyboard Layout, Key Codes and Character Set for British OZ 4.0 British Z88 Keyboard Layout ------------------------------------------------------------- | | !| @| #| $| %| ^| &| *| (| )| _| +| || | |ESC|1 |2 |3 |4 |5 |6 |7 |8 |9 |0 |- |= |\ |DEL| ------------------------------------------------------------- | | | | | | | | | | | | {| }| E | |TAB |Q |W |E |R |T |Y |U |I |O |P |[ |] | N | ------------------------------------------------------| T | | | | | | | | | | | | :| "| ~| E | | <> |A |S |D |F |G |H |J |K |L |; |' |£ | R | ------------------------------------------------------------- | | | | | | | | | <| >| ?| | ^ | | SHIFT |Z |X |C |V |B |N |M |, |. |/ |SHIFT | | | ------------------------------------------------------------- | | | | | |CAP| | | | | |IDX|MNU|HLP|[] | SPACE |LOC|<- |-> | v | ------------------------------------------------------------- British OZ 4.0 Key Codes and Character Set Single key ------------------------------------------------------------- |esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ |bsq| | | | | | | | | | | | | | | | | | 27| 49| 50| 51| 52| 53| 54| 55| 56| 57| 48| 45| 61| 92|127| ------------------------------------------------------------- | ht | q | w | e | r | t | y | u | i | o | p | [ | ] | cr | | | | | | | | | | | | | | | | | 9 |113|119|101|114|116|121|117|105|111|112| 91| 93| 13 | ------------------------------------------------------| | | | a | s | d | f | g | h | j | k | l | ; | ' | £ | | | | | | | | | | | | | | | | | | | 97|115|100|102|103|104|106|107|108| 59| 39|163| | ------------------------------------------------------------- | | z | x | c | v | b | n | m | , | . | / | | | | | | | | | | | | | | | | 0| | |122|120| 99|118| 98|110|109| 44| 46| 47| |255| ------------------------------------------------------------- | | | | | space | | | | | | | | | | | | 0| 0| 0| | | | | | 32 | |252|253|254| ------------------------------------------------------------- With SHIFT ------------------------------------------------------------- | | ! | @ | # | $ | % | ^ | & | * | ( | ) | _ | + | | | | | | | | | | | | | | | | | | | 0| | | 33| 64| 35| 36| 37| 94| 38| 42| 40| 41| 95| 43|124|211| ------------------------------------------------------------- | | Q | W | E | R | T | Y | U | I | O | P | { | } | | | 0| | | | | | | | | | | | | 0 | | 210| 81| 87| 69| 82| 84| 89| 85| 73| 79| 80|123|125| 209 | ------------------------------------------------------| | | | A | S | D | F | G | H | J | K | L | : | " | ~ | | | | | | | | | | | | | | | | | | | 65| 83| 68| 70| 71| 72| 74| 75| 76| 58| 34|126| | ------------------------------------------------------------- | | Z | X | C | V | B | N | M | < | > | ? | | | | | | | | | | | | | | | | 0| | | 90| 88| 67| 86| 66| 78| 77| 60| 62| 63| |251| ------------------------------------------------------------- | | | | | space | | | | | | 0| 0| 0| | | | 0| 0| 0| |214|213|215| | 32 | |248|249|250| ------------------------------------------------------------- With <> ------------------------------------------------------------- | | | | | | | | | | | | |nul| | | | | | | | | | | | | | | | 0| | 0| | | | | | | | | | | | | 31| 0| 28|195| ------------------------------------------------------------- | | | | | | | | | ht| | |esc| | | | 0| | | | | | | | | | | | | 0 | | 194| 17| 23| 5| 18| 20| 25| 21| 9| 15| 16| 27| 29| 193 | ------------------------------------------------------| | | |dul| | | |bel| bs| lf| vt| ff| | ` | | | | | | | | | | | | | | | | | | | | 1| 19| 4| 6| 7| 8| 10| 11| 12| | 96| 30| | ------------------------------------------------------------- | | | | | | | | cr| | | | | | | | | | | | | | | | | | | 0| | | 26| 24| 3| 22| 2| 14| 13| | | | |247| ------------------------------------------------------------- | | | | | dul | | | | | | 0| 0| 0| | | | 0| 0| 0| |198|197|199| | 160 | |244|245|246| ------------------------------------------------------------- Escape by pressing <> and [ is of course as expected and consistent with the CLI sequence representation |[. Using both |[ and |, as required on other OZ versions works well with British OZ 4.0. The following examples marks the last suspended application in Index ready for <>KILL or other action regardless of where the selection bar is initially, #I|CARD|[~R #I|CARD|[|,~R Save one of the above lines at the time to a file in PipeDream as plain text and execute it from the Filer to see that they both work with British OZ 4.0. With [] ------------------------------------------------------------- | | | | | | | | | | | | | |bsq| | | 0| | | | | | | | | | | | | | 0| |180| | | | | | | | | | | | |156|179| ------------------------------------------------------------- | | | | | | | | | | | |bsq|bsq| | | 0| | | | | | | | | | | | | 0 | | 178| | | | | | | | | | |155|157| 177 | ------------------------------------------------------| | | | | | | | | | | | | | |bsq| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |158| | ------------------------------------------------------------- | | | | | | | | | | | | | | | | | | | | | | | | | | | 0| | | | | | | | | | | | | |243| ------------------------------------------------------------- | | | | | space | | | | | | 0| 0| 0| | | | 0| 0| 0| |182|181|183| | 32 | |240|241|242| ------------------------------------------------------------- Codes 155, 156, 157 and 158 are useful for translation to special characters or printer commands in PrinterEd. For all keys, the first row shows the single character returned on screen or an indication of it's action. The second row shows the first byte from keys returning 2 bytes. The third row shows the only or last byte returned by the key. Character 160 is 'Hard space' or 'Non breaking space'. bsq = Small black square dul = Dotted underline nul = Null - it does nothing on screen bel = Beep in speaker bs = Cursor backwards (backspace) ht = Cursor forwards (horizontal tab) lf = Cursor down (linefeed) vt = Cursor up (vertical tab) ff = Clear screen (formfeed) cr = Cursor to start of line (carriage return) Run the following small BASIC program to test your key codes. 10 K=GET : PRINT CHR$(K),K : GOTO 10 Remember to turn off caps lock.