An open API service indexing awesome lists of open source software.

https://github.com/c3d/db48x-from-newrpl

An HP48 rebuild for modern calculators
https://github.com/c3d/db48x-from-newrpl

Last synced: about 1 year ago
JSON representation

An HP48 rebuild for modern calculators

Awesome Lists containing this project

README

          

# DB48X project

The DB48X intends to rebuild and improve the user experience of the HP48, HP49
and HP50 families of calculators, and to offer this experience on various
existing and future calculator hardware. It is really intended to be a platform
to build calculators on, each calculator being highly customizable in terms of
user experience.

## Why name the project DB48X?

DB stands for "Dave and Bill".
Dave and Bill are more commonly known as Hewlett and Packard.
One of their great legacy is a legendary series of calculators.

## How to build this project

This project can build either simulated calculators to run on a PC, Linux or
Mac, or firmware for real calculators.

### Building a simulator

1. Install the required dependencies, notably compiler toolchain and Qt6. The
correct way to do this depends on your operating system.

2. Run `make` to build all the possible simulators, or `make ` to only
build the simulator for that target. Available targets can obtained by using
`make help`.

3. If you specified a given target, the `bd48x-` executable is placed in
the top-level directory, where `` is the name of the target you
selected. If you did not specify a target, all possible simulators are placed
in the top-level directory.

### Building a firmware image

1. Install the required dependencies, notably cross-compiler toolchains. The
correct way to do this depends on your operating system.

2. Run `make prime-fw` for HP Prime firmware, `make dm42-fw` for DM42 firmware,
`make hp50g-fw` for HP50G firmware, and so on. The list of supported targets is
available by typing `make help`.

3. The firmware files are stored in a file that that looks like
`bd48x--fw.`, where `` is the name you
used after `make` and `` is the suitable extension for that
target.

### Building the command-line newRPL compiler

An additional target is `make compiler`, which builds a newRPL compiler intended
to run on a computer, and places that compiler under the directory `tools-bin`.
The compiler is automatically built if you build a simulator.