Further to Lisa's detailed explanations: See attached screenshot of the OS X function key applet; you get there: system preferences > keyboard. See attached screenshot of the DOSBox keyboard mapper; you get there by typing CTRL F1 from DOSBox.