The emulator provides multiple screen support. This feature is supported as part of Symbian architecture (for more information, see C++ API Documentation > Symbian OS v9.4 Library for Developers > Emulator > Emulator configuration.
You can utilize multiple screen support by enabling an additional emulator
screen. This is done by editing the following emulator configuration files
located in <S60_SDK_installation_directory>\epoc32\data
:
epoc_240x320.ini
epoc_320x240.ini
epoc_360x640_touch.ini
epoc_640x360_touch_qwerty.ini
wsini.ini
Note: Close the emulator before performing the steps below.
To create an additional screen for the emulator, do the following:
Append the
following block to the end of files epoc_240x320.ini
, epoc_320x240.ini
, epoc_360x640_touch.ini
and epoc_640x360_touch_qwerty.ini
:
_NewScreen_ ScreenWidth 128 ScreenHeight 160 PhysicalScreenWidth 1859 PhysicalScreenHeight 2324 ScreenOffsetX 1 ScreenOffsetY 1 fasciabitmap 128x160.bmp
Note: The values in the fragment above are given as an example, for example,
you can configure ScreenWidth
and ScreenHeight
values
as desired.
Make sure that the file defined for fasciabitmap
exists
in the /epoc32/data
folder.
In the wsini.ini
file,
insert a new line [SCREEN0]
on the line preceeding NOREDRAWSTORING
:
WINDOWMODE COLOR16MU AUTOCLEAR 0 STARTUP Z:\SYSTEM\PROGRAMS\STARTER ABSOLUTEFADING [SCREEN0] NOREDRAWSTORING FLICKERFREEREDRAW BLTOFFSCREENBITMAP
Append the
following block to the end of wsini.ini
:
SCR_WIDTH1 128 SCR_HEIGHT1 160 SCR_ROTATION1 0,180 SCR_TWIP_WIDTH1 1859 SCR_TWIP_HEIGHT1 2324
Note: The values in the fragment above are given as an example, for example,
you can configure SCR_WIDTH1
and SCR_HEIGHT1
values
as desired.
Restart the emulator.
The additional screen is opened with the emulator.