Skip to content

Commit

Permalink
Allow shift-USER in alpha mode
Browse files Browse the repository at this point in the history
Also mention about the changes to the alpha keyboard in the
documentation.
  • Loading branch information
hth313 committed May 13, 2020
1 parent 3879ea8 commit 51c22b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions doc/keyboard.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ number in the selected base.
.. image:: calculator.png
:height: 560

The alpha mode keyboard is also slightly modified and hass the
``ALDI`` function where ``ARCL`` normally is.

.. index:: activation

Expand All @@ -38,6 +40,9 @@ usual.
Another way to disable Ladybug is to turn the calculator off and
unplug the module.

The shifted USER key can also be used in alpha mode to exit integer
mode.

Secondary functions
===================

Expand Down
4 changes: 3 additions & 1 deletion src/ladybug.s
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,10 @@ alphaKeys: gosub keyKeyboard ; does not return
.section Code
.align 4
alphaKeyTable:
.con 58 ; RCL
.con 58 ; shifted RCL, where ARCL usually is
KeyEntry ALDI
.con 78 ; shifted USER
KeyEntry EXITAPP
.con 0x100 ; end of table

.section Code
Expand Down

0 comments on commit 51c22b0

Please sign in to comment.