6530 Programmer's Guide
Block Mode Operation
6530 Programmer’s Guide
3-95
Your application program can assign any operation to these keys. When 
one of the function keys is pressed, the 6530 locks the keyboard and, on 
the next read, transmits a message to the host. The function key message 
has the following general format: 
SOH 
keycode page cursor
 ETX LRC 
where: 
SOH is a control character (01H) that acts as a start of header for 
messages returned to the host. 
keycode
 is an ASCII character that identifies which function key 
was pressed as listed in Table 3-11. 
page
 is an ASCII character whose code, offset by 20H, specifies the 
page number of the current displayed page. 
cursor
 specifies the row and column for the current cursor 
position. This has either the normal or extended addressing format as 
described in “Cursor and Buffer Addressing” on page 3-13.  
Table 3-11. Function Key Codes
ASCII Character Code
Key    Unshifted     Shifted 
F1 @ 40H  ‘60H
F2 A 41H a 61H
F3 B 42H b 62H
F4 C 43H c 63H
F5 D 44H d 64H
F6 E 45H e 65H
F7 F 46H f 66H
F8 G 47H g 67H
F9 H 48H h 68H
F10 I 49H i 69H
F11 (Alt-F1) J 4AH j 6AH
F12 (Alt-F2) K 4BH k 6BH










