PocketHAL - The Hardware Access Library
Copyright 2004,2005 by Thierry Tremblay
This software is copyrighted software. Permission to use this software
in your own application (game) is hereby granted without fee.
Distribution of the PocketHAL library (by itself or as part of another
library distribution) is strictly prohibited.
Thierry Tremblay makes no representations about the suitability of this
software for any purpose. It is provided "as is" without express or
implied warranty.
Release 0.7.7
=============
Windows CE:
- Added VGA support
Release 0.7.6c
==============
All platforms:
- Fixed memory allocation issue with surfaces (too much memory was consumed).
Release 0.7.6b
==============
Windows CE:
- Fixes for the Palmax Amigo and the Orange C500 SPV were disabled in 0.7.6.
Release 0.7.6
=============
Windows CE:
- Fixed crash: Display::Create() would fail on the IPAQ 4350.
- Fixed crash on Mitac Mio 8390 Smartphone.
- Fixed problem on the I-Mate SP3i Smartphone where PocketHAL
application would freeze after 15 seconds.
Release 0.7.5
=============
Windows CE:
- Fixed a problem that could potentially crash Display::Swap() when
dynamically changing the display orientation. Games that don't
change the orientation while running were not affected.
- Fixed GetClock() to work around the GetTickCount() time slip problem
on some Toshiba devices (E330/E335/E740).
Symbian:
- When a PocketHAL application is switched to background, DSA is now
properly released (when used).
- Fixed samples so that they do not cause "viewsrv #11" panis anymore.
- Fixed samples so that the backlight stays on.
- Implemented specific workarounds for display problems on Siemens SX-1.
- Firework sample tested successfully on the following devices:
- Nokia 3650, 3660, 6600, 6620, 6630, 7610, 7650, N-Gage, N-Gage QD
- Sony-Ericsson P800, P900, P910
- Siemens SX1
Others:
- Added DrawText() and DrawChar() functions for samples (see utility.h).
- The FPS is now displayed in the samples.
Release 0.7.4
=============
Windows:
- You can now customize the size of the display window. This allows you
to emulate other devices then Pocket PCs on the desktop. For example,
you can define a 176x220 pixels display to emulate a SmartPhone:
...
DisplayParameters params;
params.m_width = 176;
params.m_height = 220;
PHAL::Display* display = PHAL::Display::Create( hwnd, params );
...
Note that the "m_orientation" field will be ignored for custom window
sizes. If you leave "m_width" and "m_height" to 0, then PocketHAL will
emulate a Pocket PC screen (240x320), like before.
Windows CE:
- Fixed an issue with MediaQ driver in non-normal orientation. The
screen wasn't updated properly after a PocketHAL application regained
focus.
- Fixed an issue with the input orientation on WM2003 SE. The problem
was that a PocketHAL application launched from landscape mode wouldn't
take the shell screen orientation into account when filling the
key list returned by GetKeyList().
- Added workaround for the Palmax Amigo Pocket PC.
- Added workaround for the Orange SPV C500 Smartphone.
- Emulators timer resolution improved to 1 ms accuracy (it was at 10 ms).
Symbian:
- Nothing new on Symbian Serie 60 and Symbian UIQ.
Release 0.7.3
=============
Windows CE:
- Fixed crash problem with Imageon 100 driver (Toshiba E740/E750)
Symbian:
- Added support for UIQ devices (including UIQ WINS emulator)
- New batch file (build.bat) to easily build for Serie 60 or UIQ.
- Optimizations for 12 bpp devices (4096 colors)
- Now uses libc instead of custom implementation for memory functions
- The CodeWarrior compiler is supported when the target is an actual
device (ARMI). It is not supported for the WINS target (emulation).
Others:
- PocketHAL now has an installer.
Release 0.7.2
=============
Windows CE:
- The crash that occured when the orientation was set to something
else then "ORIENTATION_NORMAL" has been fixed. The same bug
would also have some Pocket PC return 320x240 in portrait mode
when it is of course 240x320.
Symbian Serie 60:
- The swap speed is now twice as fast as the previous release.
- Ordered dithering is now used on 12 bit displays (4096 colors)
to enhance image quality. Note that the backbuffer is still
in R5G6B5 format. The extra bits are used to feed the dithering
algorithm.
- The phone's backlight will not be desactivated anymore as long
as you call Display::Swap() before the device's timeout expires.
Others:
- New sample: Firework! This sample show how easy it is to compile
more complex game code on different platforms.
- Win32 framework revised to not use any CPU/battery when the
application is suspended.
- Win32 framework now uses a mutex and the app's UID to guarantee
that there is only one instance of the app running at a time.
FindWindow() by itself isn't enough (a race condition would exists).
This means that you need to set a different UID for each app. This
UID can be shared with the one used for Symbian.
- The banner was replaced with a watermark.
Release 0.7.1
=============
This is the first multi-platform release of PocketHAL. The supported
platforms are:
- Any Windows CE device (version 3.00 and above). This includes but
is not limited to Pocket PCs, Handheld PCs and Smartphones.
- Desktop PC (Windowed mode only)
- Symbian Serie 60 phones, including the N-Gage.
Optimizations for the Symbian 60 platform have not been enabled yet.
They are expected to be in the next release. Currently, PocketHAL uses
the CDirectScreenAccess API to provide access to the display. The pixel
format used for the backbuffer is always 16 bits of color (R5G6B5), even
for devices that only have 12 bits of color information (R4G4B4).
The Symbian libraries for ARMI and WINS are located in the following
directories:
$\lib\Symbian\armi\PocketHAL.lib is for the ARM devices
$\lib\Symbian\wins\PocketHAL.lib is for the WINS emulator
You probably want to copy them to the following Symbian SDK directories:
$\Symbian\6.1\Series60\Epoc32\Release\armi\urel (ARMI, Release)
$\Symbian\6.1\Series60\Epoc32\Release\armi\udeb (ARMI, Debug)
$\Symbian\6.1\Series60\Epoc32\Release\wins\urel (WINS, Release)
$\Symbian\6.1\Series60\Epoc32\Release\wins\udeb (WINS, Debug)
Please report any comments / bugs:
http:www.droneship.com/forums/
mailto:[email protected]
没有合适的资源?快使用搜索试试~ 我知道了~
PPCHAL_0_7_7.zip_PPCHAL_0_7_7.zip_Ppc_gapi
共70个文件
h:29个
lib:7个
cpp:6个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 152 浏览量
2022-09-23
06:39:17
上传
评论
收藏 263KB ZIP 举报
温馨提示
一个取代GAPI的东西,非常好用。比GAPI 快3倍
资源推荐
资源详情
资源评论
收起资源包目录
PPCHAL_0_7_7.zip (70个子文件)
license.txt 503B
PocketHAL
config.h 752B
input.h 2KB
config
select_compiler.h 727B
select_platform.h 632B
compiler
codewarrior.h 735B
gcc.h 1KB
visualc.h 863B
platform
win32.h 955B
symbian.h 416B
symbian
symbian_defs.h 623B
stdint.h 2KB
display.h 6KB
win32
win32_defs.h 434B
GDISurface.h 1KB
utility.h 2KB
fastcopy.h 2KB
rect.h 4KB
PocketHAL.h 2KB
surface.h 3KB
defs.h 1KB
autolink.h 1KB
www.pudn.com.txt 218B
samples
firework
symbian
bld_s60.inf 255B
firework_uiq.mmp 948B
firework_s60.SIS 13KB
firework_s60.pkg 514B
bld_uiq.inf 255B
firework.rss 346B
fireworkaif.rss 481B
build.bat 873B
firework_s60.mmp 951B
firework_uiq.pkg 499B
win32
firework.vcp 55KB
firework.dsp 4KB
firework.h 2KB
firework.cpp 9KB
minimal
symbian
minimal_uiq.pkg 487B
bld_s60.inf 254B
bld_uiq.inf 254B
minimal.rss 346B
minimalaif.rss 480B
build.bat 872B
minimal_s60.SIS 12KB
minimal_uiq.mmp 942B
minimal_s60.mmp 945B
minimal_s60.pkg 504B
win32
minimal.dsp 4KB
minimal.vcp 55KB
minimal.cpp 2KB
minimal.h 1KB
common
IGame.h 2KB
symbian
GameBase.h 5KB
GameBase.cpp 4KB
win32
GameBase.h 2KB
GameBase.cpp 5KB
utility.h 2KB
game.h 3KB
game.cpp 3KB
utility.cpp 2KB
VGAFont.h 21KB
PocketHAL.url 58B
lib
symbian
wins
POCKETHAL.LIB 112KB
armi
POCKETHAL.LIB 51KB
win32
PocketHAL_ARM.lib 173KB
PocketHAL_SH3.lib 89KB
PocketHAL_MIPS.lib 107KB
PocketHAL_EMU.lib 109KB
PocketHAL_x86.lib 73KB
readme.txt 7KB
共 70 条
- 1
资源评论
四散
- 粉丝: 52
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功