C
HAPTER
10. P
LUGINS
92
Predefined Keymap
Select one of the predefined keymaps. For example 2
W
90
Z
means: map ZXBox’s
Up
to 2,
Down
to
W
,
Left
to 9,
Right
to 0 and
Jump/Fire
to
Z
. This example keymap is used in the “Chuckie Egg” game.
Custom Keymap
This menu allows you to map one of the Spectrum keys acces-
sible through the plugin’s virtual keyboard to each one of the buttons.
Quit.
Quits the emulator..
Hacking graphics
Due to ZXBox’s simple (but fast) scaling to the screen by dropping lines and columns
some games can become unplayable. It is possible to hack graphics to make them better
visible with the help of an utility such as the “Spectrum Graphics Editor”. Useful tools
can be found at the “World of Spectrum” site (
http://www.worldofspectrum.org/utilities.
html
).
10.4. Applications
10.4.1. Battery Benchmark
The Battery Benchmark Plugin enables you to test your battery’s performance, while
making normal use of your player. Once loaded it will run in the background (TSR plu-
gin), reading various info about your battery while you use it. Once you finish your ses-
sion you can find the benchmark output data in a file on your player
/battery bench.txt
.
Please submit your results to the Rockbox wiki.
Z
BatteryRuntime
How it works
After you load the plug-in the operation of your player continues as normal. You can
do whatever you could do before loading the plugin except loading another plugin.
If you happen to load a plugin while benchmarking, a splash screen will inform you
about the termination of the benchmark. While you operate it will log various battery
related information every time the disk is activated by external causes, (buffer refill,
open directory, USB mode) or an hour passes without updating the log file.
The plugin will continue to log info until:
•
Another plugin is loaded.
•
The player is shut down.
•
The battery is empty.
Between disk activity (or an hour), it will log info in memory (every measurement is
captured when the voltage changes). If there are too many measurements older entries
will be deleted and the log file will inform the user about the interval where entries
were lost. Benchmarks can be resumed if you accidentally load a plugin, or turn off
your player, as long as the log file
/battery bench.txt
is not deleted.
T
HE
R
OCKBOX MANUAL
A
RCHOS
O
NDIO