x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

cerestorer vs. ceopener on Sharp Brain PW-A7200

hassilon Page Icon Posted 2023-12-25 2:56 PM
#
Avatar image of hassilon
Subscribers
Factorite (Elite)

Posts:
101
Location:
United States 
Status:
I started out using ceopener but now I have switched to cerestorer. More programs work and I don't have to reboot as often. Cerestorer feels more like a real handheld pc. It is also very handy that you can put .reg files in Windows\Registry folder and have them automatically applied. Even though backing up/restoring the whole registry doesn't work properly, carefully backing up my customizations (desktop settings, color scheme, cecmd font, etc) seems to work fine. There's even a StartUp folder and a Windows folder whose contents is also copied to \Windows automatically at startup. Cerestorer runs System Font Patch.exe for you as well.

The only things I can't figure out are how to modify the key mappings and underclock CPU while reading: it would be nice to have CTRL and ALT keys and run at half speed while in a book.

It looks like cerestorer is based on miosoft (4.0?) in that it uses mortscript.exe for most of its task automation. I've searched through miosoft but I can't find anything that will remap keyboard buttons or underclock. Is ceOpener's plugins the only way to do this? Is there a way to load ceOpener plugin(dlls) in CERestorer's taskbar?
 Top of the page
torch Page Icon Posted 2023-12-25 7:04 PM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,755
Location:
United States 
Status:
This doesn’t directly answer your question but these utilities may end up being useful

https://www.hpcfactor.com/scl/1905/Unknown_or_not_specified/TroNik_Utilities
 Top of the page
watamario15 Page Icon Posted 2023-12-27 3:38 AM
#
Avatar image of watamario15
Factorite (Senior)

Posts:
85
Location:
Japan
Status:
CERestorer is not based on MioPocket utility. It just uses the MortScript language. (The core of CERestorer is to replace the built-in explorer.exe with one extracted from Platform Builder, and restart Explorer.)

You can't load ceOpener plugins alone, as they are specifically crafted for use with ceOpener (thus highly coupled). They runs by being called their "pluginInit" function by ceOpener, and plugins internally calls ceOpener's API extensively. So you must first port them into individual apps to use them outside of ceOpener.

ceOpener PowerManager sets CPU clock frequency by using EdMmMapIoSpace API. I guess this is a Sharp Brain hardware (or board) specific thing by the looks of it, as it directly modifies the raw memory address.
https://github.com/HO-0520-IT/ceopener_mod/blob/9b7d21fe9cc51872ce1c201509ebcf039ade30c3/ceopener_plugins/powermanager/powermanager.cpp#L227
I even think this code works only on specific models of Sharp Brain. I don't notice any change by that setting on PW-SH1, like TCPMP and CETree SysMetrics reports the same performance on "x 1/1" and "x 1/8".

ceOpener KeyBinder looks more complex, this is the full source:
https://github.com/HO-0520-IT/ceopener_mod/blob/9b7d21fe9cc51872ce1c201509ebcf039ade30c3/ceopener/ceopener/KeyBinder.cpp
https://github.com/HO-0520-IT/ceopener_mod/blob/9b7d21fe9cc51872ce1c201509ebcf039ade30c3/brain-essentials/knceutil-0.12/knceutil.cpp#L133
I suppose the main thing is to call RegisterHotKey API in Windows CE from the "registerHotKey" function implemented in KNCeUtil, but ceOpener KeyBinder handles so much surrounding matters.
 Top of the page
Jump to forum:
Seconds to generate: 0.312 - Cached queries : 41 - Executed queries : 29