n0p's home page
  (http://n0p.8bit.fm) Mirror
I need
your help!

Start > DOSBox PPC > DOSBox 0.63 > Config options

Configuration options quick reference

Here comes PocketPC related options:


[sdl] section in dosbox.conf (GUI options) >>>
Different mouse emulation modes
D-Pad mouse emulation
dpadmouse =false enable/disable mouse emulation with D-Pad
dpadmousespeed =8.0 - speed of "D-Pad Mouse"

Touchpad mouse emulation
tpadmode =true - enable/disable "Touchpad mode" mouse emulation (relative mouse control with stylus screen acts as touchpad, single tap - left click)
tpadspeed =3.0 speed of touchpad

If tpadmouse is set to false, mouse is emulated in usual way DOSBox PPC tries to set cursor position to tap place, but if mouse doesnt move be sure to use touchpad mode.


Keyboad mapping for hardware keys - use 0 to disable for certain button
Please see Key Definitions for list of keys

D-Pad mapping
dpadright =89
dpadleft =87
dpadup =91
dpaddown =85
dpadconfirm =52

Hardware buttons mapping
hwkey1 =49
hwkey2 =53
hwkey3 =56
hwkey4 =54


Mouse actions for hardware buttons - use 0 to disable for certain button
1 - Left Button
2 - Right Button
3 - Middle Button

Mouse action for D-Pad confirm
dpadconfirm_ma =1

Mouse actions for hardware buttons
hwkey1_ma =0
hwkey2_ma =0
hwkey3_ma =2
hwkey4_ma =3


Screen update options .

Direct GAPI output. Improves speed of GFX output on QVGA. Not tested on VGA.
directgapi =false/true

Screen orientation option (left/right rotate)
lefthand =false/true


Forced on-screen keyboard options .
To force display of on-screen keyboard i've implemented two ways - invisible on-screen zone, that if tapped will switch forced mode on or off or you can map a hardware button to do it.
Invisible on-screen zone parameters (X=0,Y=0 is upper-left corner of screen).
fkswitchx =0 :Switch zone X (left margin)
fkswitchy =0 :Switch zone Y (upper margin)
fkswitchw =2 :Switch zone width
fkswitchh =2 :Switch zone height
(in this example we have a 2x2 rectancle in upper-left corner of screen)
fkheight =80 : if keyboard is in forced mode, this parameter will set it's height.

fkbutton =4 : which hardware button (1,2,3,4) to use to toggle forced keyboard. 0 - don't map this action.
fktransparent =true : area of toolbar that overlaps active screen part is drawn semi-transparent. On by default.


Using toolbars with custom names.
toolbar1 =toolbar.dbk
toolbar2 =game.dbk
toolbar3 =set.dbk
(I don't recommend changing third toolbar)
[cpu] section in dosbox.conf (CPU options) >>>
Using verysimple (286) CPU core by Boris Letocha . Set
core=verysimple

Enable CPU cycles auto-adjust by Yury Sidorov . (Setting this parameter to 0 will disable this feature, to enable - set it to some reasonable value - auto-adjust will not try to set cycles higher than this value)
cyclesmax=5000