The new Atari XL target allows cc65 programs to make use of
the shadow RAM. This allows to turn aon all features of the
web browser - and will allow for additional improvements to
come :-)
Add listener that zooms based on mouse wheel. The zoom center is the
mouse position, which alleviates the pressure to touch pabigot/contikix#4.
Closespabigot/contikix#5
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
The + typed character can only be generated on English keyboards by
shift-equals, resulting in a failure to recognize ctrl-plus because of
the unexpected shift modifier. Adapt by supporting English and Spanish
keyboards, as well as number pad keys.
Closespabigot/contikix#2
Reference: http://forums.oracle.com/thread/1356291
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Refactor common code into private functions. Abstract to support zoom
to level or exact value.
There should be no behavioral change as a result of this patch except:
* zooms are consistently filtered to be in the valid range (those from
configuration parameters formerly had been used directly);
* the correct centerTime is used for zoomOutAction when
mousePixelPositionX is positive
Supports pabigot/contikix#5
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Documented intent is to update with probability 1/NEW_TOKEN_PROB where
NEW_TOKEN_PROB is 0x80. The current implementation updates with probability
1/2. Update NEW_TOKEN_PROB and the expression to keep existing behavior
while correcting the calculation.
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Don't be afraid, I'm not trying to have more retro platforms than "real" platforms ;-)
The platform 'atarixl' will replace the platform 'atari'. However I need both for some
transition period.
I wrote:
> Moved from last cc65 release (2.13.3) to recent cc65 snapshot (2.13.9).
> [...]
> Atari:
> - The builtin linker config allows to override the start addr so there no more need for a custom linker config.
> [...]
However I didn't actually remove the custom linker config not needed anymore.
This example didn't compile, had no actual code changes in the last ~6
years, had no documentation explaining it's purpose, and insufficient
code comments to provide a useful example. Removing it in favour of
fewer, but clearer, examples, that are easier to keep maintained.