Skip to content

Commit

Permalink
Release 0.8.10 "Fire Dove" - Input and Prompt, Android preparation
Browse files Browse the repository at this point in the history
The focus of this release is support for user input in programs, with
the addition of the `Input` and `Prompt` commands. Internally, a lot
of groundwork was performed towards Android builds.

New features
============

* Add `Prompt` command, which programs can use to let users manipulate
  the stack or do other operations before resuming execution.

* In order to facilitate the use of `Prompt`, added the `Run` command,
  which resumes execution of halted programs and otherwise evaluates
  the first item on the stack. The key at the left of the _+_ key,
  which is labeled _R/S_ on the DM-42 calculators, is now bound to the
  `Run` command instead of `Evaluate`. Therefore, after a `Prompt`,
  you can resume execution with a single key.

* Add `Input` command, which programs can use to let users enter data.
  The DB48x version makes it easier to enter and validate numerical
  data or other non-text objects, with input validators for numbers,
  integer values, arithmetic objects or expressions. It is also
  possible to use custom code to validate user input.

* Additional `Compile` variants were created to help with this user
  input validation, checking if the input is a number, an integer, a
  positive integer, a real number, a single object, a single algebraic
  object or an expression.

Bug fixes
=========

* Fixed problem with the computation of the length of the integer
  value being parsed if it was parsed from a text value at the end of
  the temporaries.

* Emit an error from `Step` and variants if no program is being
  debugged. The effect was that the next program being run would halt
  after the first step.

* Avoid persisting beep in the simulator when two beeps were emitted
  rapidly in successioon.

* Reload the user-selected keymap file after loading the state file.

Improvements
============

* Change capitalization of `DTag` as a shortcut for `DeleteTag`.

* Various code improvements making it easier to compile for Android.
  A side effect is that the simulator can now safely be started from
  any current directory.

* Improve rescaling of the window in the simulator to keep the
  keyboard and screen larger and easier to read.

* Improve the detection of the default simulator size for Hi-DPI
  screens.

* Add documentation about matrix multiplication performance

* Make the default memory size more consistent with the simulated
  device.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
  • Loading branch information
c3d committed Jan 13, 2025
1 parent 1405f98 commit 35d3d6d
Show file tree
Hide file tree
Showing 5 changed files with 197 additions and 2 deletions.
65 changes: 65 additions & 0 deletions doc/4-ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,70 @@
# Release notes

## Release 0.8.10 "Fire Dove" - Input and Prompt, Android preparation

The focus of this release is support for user input in programs, with
the addition of the `Input` and `Prompt` commands. Internally, a lot
of groundwork was performed towards Android builds.

### New features

* Add `Prompt` command, which programs can use to let users manipulate
the stack or do other operations before resuming execution.

* In order to facilitate the use of `Prompt`, added the `Run` command,
which resumes execution of halted programs and otherwise evaluates
the first item on the stack. The key at the left of the _+_ key,
which is labeled _R/S_ on the DM-42 calculators, is now bound to the
`Run` command instead of `Evaluate`. Therefore, after a `Prompt`,
you can resume execution with a single key.

* Add `Input` command, which programs can use to let users enter data.
The DB48x version makes it easier to enter and validate numerical
data or other non-text objects, with input validators for numbers,
integer values, arithmetic objects or expressions. It is also
possible to use custom code to validate user input.

* Additional `Compile` variants were created to help with this user
input validation, checking if the input is a number, an integer, a
positive integer, a real number, a single object, a single algebraic
object or an expression.

### Bug fixes

* Fixed problem with the computation of the length of the integer
value being parsed if it was parsed from a text value at the end of
the temporaries.

* Emit an error from `Step` and variants if no program is being
debugged. The effect was that the next program being run would halt
after the first step.

* Avoid persisting beep in the simulator when two beeps were emitted
rapidly in successioon.

* Reload the user-selected keymap file after loading the state file.

### Improvements

* Change capitalization of `DTag` as a shortcut for `DeleteTag`.

* Various code improvements making it easier to compile for Android.
A side effect is that the simulator can now safely be started from
any current directory.

* Improve rescaling of the window in the simulator to keep the
keyboard and screen larger and easier to read.

* Improve the detection of the default simulator size for Hi-DPI
screens.

* Add documentation about matrix multiplication performance

* Make the default memory size more consistent with the simulated
device.



## Release 0.8.9 "Advent" - Mostly bug fixes

This is a relatively minor release, with mostly bug fixes, but also a
Expand Down
65 changes: 65 additions & 0 deletions help/db48x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2485,6 +2485,71 @@ You can edit it by recalling its content on the stack using
back to disk using `"config:equations.csv" STO`.
# Release notes

## Release 0.8.10 "Fire Dove" - Input and Prompt, Android preparation

The focus of this release is support for user input in programs, with
the addition of the `Input` and `Prompt` commands. Internally, a lot
of groundwork was performed towards Android builds.

### New features

* Add `Prompt` command, which programs can use to let users manipulate
the stack or do other operations before resuming execution.

* In order to facilitate the use of `Prompt`, added the `Run` command,
which resumes execution of halted programs and otherwise evaluates
the first item on the stack. The key at the left of the _+_ key,
which is labeled _R/S_ on the DM-42 calculators, is now bound to the
`Run` command instead of `Evaluate`. Therefore, after a `Prompt`,
you can resume execution with a single key.

* Add `Input` command, which programs can use to let users enter data.
The DB48x version makes it easier to enter and validate numerical
data or other non-text objects, with input validators for numbers,
integer values, arithmetic objects or expressions. It is also
possible to use custom code to validate user input.

* Additional `Compile` variants were created to help with this user
input validation, checking if the input is a number, an integer, a
positive integer, a real number, a single object, a single algebraic
object or an expression.

### Bug fixes

* Fixed problem with the computation of the length of the integer
value being parsed if it was parsed from a text value at the end of
the temporaries.

* Emit an error from `Step` and variants if no program is being
debugged. The effect was that the next program being run would halt
after the first step.

* Avoid persisting beep in the simulator when two beeps were emitted
rapidly in successioon.

* Reload the user-selected keymap file after loading the state file.

### Improvements

* Change capitalization of `DTag` as a shortcut for `DeleteTag`.

* Various code improvements making it easier to compile for Android.
A side effect is that the simulator can now safely be started from
any current directory.

* Improve rescaling of the window in the simulator to keep the
keyboard and screen larger and easier to read.

* Improve the detection of the default simulator size for Hi-DPI
screens.

* Add documentation about matrix multiplication performance

* Make the default memory size more consistent with the simulated
device.



## Release 0.8.9 "Advent" - Mostly bug fixes

This is a relatively minor release, with mostly bug fixes, but also a
Expand Down
65 changes: 65 additions & 0 deletions help/db50x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2493,6 +2493,71 @@ You can edit it by recalling its content on the stack using
back to disk using `"config:equations.csv" STO`.
# Release notes

## Release 0.8.10 "Fire Dove" - Input and Prompt, Android preparation

The focus of this release is support for user input in programs, with
the addition of the `Input` and `Prompt` commands. Internally, a lot
of groundwork was performed towards Android builds.

### New features

* Add `Prompt` command, which programs can use to let users manipulate
the stack or do other operations before resuming execution.

* In order to facilitate the use of `Prompt`, added the `Run` command,
which resumes execution of halted programs and otherwise evaluates
the first item on the stack. The key at the left of the _+_ key,
which is labeled _R/S_ on the DM-42 calculators, is now bound to the
`Run` command instead of `Evaluate`. Therefore, after a `Prompt`,
you can resume execution with a single key.

* Add `Input` command, which programs can use to let users enter data.
The DB48x version makes it easier to enter and validate numerical
data or other non-text objects, with input validators for numbers,
integer values, arithmetic objects or expressions. It is also
possible to use custom code to validate user input.

* Additional `Compile` variants were created to help with this user
input validation, checking if the input is a number, an integer, a
positive integer, a real number, a single object, a single algebraic
object or an expression.

### Bug fixes

* Fixed problem with the computation of the length of the integer
value being parsed if it was parsed from a text value at the end of
the temporaries.

* Emit an error from `Step` and variants if no program is being
debugged. The effect was that the next program being run would halt
after the first step.

* Avoid persisting beep in the simulator when two beeps were emitted
rapidly in successioon.

* Reload the user-selected keymap file after loading the state file.

### Improvements

* Change capitalization of `DTag` as a shortcut for `DeleteTag`.

* Various code improvements making it easier to compile for Android.
A side effect is that the simulator can now safely be started from
any current directory.

* Improve rescaling of the window in the simulator to keep the
keyboard and screen larger and easier to read.

* Improve the detection of the default simulator size for Hi-DPI
screens.

* Add documentation about matrix multiplication performance

* Make the default memory size more consistent with the simulated
device.



## Release 0.8.9 "Advent" - Mostly bug fixes

This is a relatively minor release, with mostly bug fixes, but also a
Expand Down
2 changes: 1 addition & 1 deletion src/dm32/qspi_crc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#define QSPI_DATA_SIZE 278972
#define QSPI_DATA_SIZE 279940
#define QSPI_DATA_CRC 0x000cfed6

2 changes: 1 addition & 1 deletion src/dm42/qspi_crc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#define QSPI_DATA_SIZE 275124
#define QSPI_DATA_SIZE 276068
#define QSPI_DATA_CRC 0x000cfed6

0 comments on commit 35d3d6d

Please sign in to comment.