Commit graph

1510 commits

Author SHA1 Message Date
Stefan Achatz
8ec3483cd1 Prime firmware update gathers firmware in RAM and writes at once to reduce NAND wear 2022-02-12 09:56:36 +01:00
Stefan Achatz
099b812fa3 Improvement on uart debug messages 2022-02-12 09:48:41 +01:00
claudiol
41f055b0f9 Fixed some warnings caused by making keymsg a WORD. 2021-11-04 22:48:39 -04:00
claudiol
16cbeda966 Fixed touch driver for Novatek NT11002
Added touch driver for Goodix 9137
Integrated touch messages into keyboard message queue.
DEBUG: For now touch messages get pushed on the stack, no real touch support added to newRPL.
Added memory dump display to the debug exception handlers
2021-11-04 22:38:17 -04:00
claudiol
d5c925a63f Merge branch 'feature/touch' of ssh://git.code.sf.net/p/newrpl/sources 2021-10-08 17:03:37 -04:00
claudiol
6bca832b8e Merge branch 'master' of ssh://git.code.sf.net/p/newrpl/sources 2021-10-07 10:36:47 -04:00
claudiol
fce6707186 Fixed bug in memmovew() in 64-bit platforms.
Fixed bug in Simplex algorithm
Fixed various issues with number formatting
2021-10-07 10:34:23 -04:00
Stefan Achatz
ad078a74da Added UART functionality
Replaced obsolete screen output for debugging with serial transmission
Settings: 115.2k 8N1
2021-10-02 12:40:10 +02:00
claudiol
c49ad8f462 Added option to set DATE and TIME via USB.
Fixed bug in Nelder-Mead algorithm that failed convergence.
2021-09-28 16:50:56 -04:00
Stefan Achatz
4196463fe1 Only registering the first finger event 2021-09-28 20:04:44 +02:00
Stefan Achatz
1b73389978 First implementation of touchscreen driver
Code now uses only 1 finger but is in parts capable of handling more fingers.
I don't know if there is an alternative touchscreen device besides nt11002
on G1 hardware, so I made the code capable of supporting multiple devices.
2021-09-22 17:22:22 +02:00
claudiol
91ee47fa9b Fix various bug reports:
* Menu 1 not redrawn on 50g after error
* Empty menu tabs leave "" when activated
* Angles and polar complex numbers become invalid objects
* Fixed LN complex handling bugs
Progress on bitmap handling routines.
2021-09-21 20:12:07 -04:00
claudiol
d1edbebc54 Improved handling of complex constants in symbolic expressions
Improved settings menu
2021-08-31 20:43:10 -04:00
claudiol
2a7a969c6d Fixed 0-N bug in Complex numbers 2021-08-23 18:25:27 -04:00
claudiol
3f4281e5b8 Setup color palette earlier during boot. 2021-08-21 12:39:19 -04:00
claudiol
e5077bc752 Updated version. 2021-08-17 13:05:05 -04:00
claudiol
c08aa93ade Added FORUP and FORDN loop constructs. 2021-08-11 20:17:37 -04:00
claudiol
c72e57bd38 Fixed LN reults reversed real/imaginary parts. LN results were normalized fut not finalized (extra digits). 2021-08-09 09:36:06 -04:00
claudiol
7e1cfa5710 Merge branch 'master' of hpgcc3.org:newrpl 2021-08-09 08:57:41 -04:00
claudiol
49c2c4ab14 Fixed exception screen colors in Prime target.
Added FNTHELP and FNTHLPT customization for help and errors popup.
Fixed ATAN bug with complex arguments.
2021-08-09 08:56:02 -04:00
claudiol
8c3870659e Added FNTHLPT and FONTHELP commands (->FNTHLPT and ->FNTHELP) 2021-08-04 17:06:41 -04:00
claudiol
8ea56f28aa Fixed missing platform plugins in windows installer.
Fixed update of firmware on old 50gs.
2021-07-28 09:47:19 -04:00
claudiol
ff5d37f6a8 Fixed crash due to SCREEN_BUFFERS being 0 2021-07-27 15:33:41 -04:00
claudiol
9027018f48 Renamed prime-installer to bundler to avoid Windows privilege escalation request 2021-07-26 17:20:42 -04:00
claudiol
d7293ce6a9 Fixed colors on exception screen 2021-07-26 16:59:23 -04:00
claudiol
6c934e4811 Added exteneded License text to main folder and to windows installer. 2021-07-26 16:58:49 -04:00
claudiol
a8b52f79d6 Fixed mistake in folder structure 2021-07-26 16:03:19 -04:00
claudiol
86141ec9a5 Added application Icon for Windows target 2021-07-26 15:47:46 -04:00
claudiol
2e2d93f88d Added sample color themes installed. 2021-07-26 13:31:49 -04:00
claudiol
31f769973e Added script for Windows Installer 2021-07-26 12:55:41 -04:00
claudiol
cd954ed1c5 Fixed project files to build under Windows.
Renamed some data types that conflict with windows standard types.
Added application icons
2021-07-26 11:22:27 -04:00
claudiol
c78a60a6b1 Added missing header file. 2021-07-24 11:09:08 -04:00
claudiol
28b08b01dc Added tool: Prime Installer 2021-07-24 00:03:39 -04:00
claudiol
b3194a9a62 Improved annunciators to behave like on the 50G. 2021-07-20 16:38:23 -04:00
claudiol
fee3821d34 Fixed vertical backporch to work better with full color. 2021-07-19 17:01:18 -04:00
claudiol
4e3676db66 Fixed build issue (bad constant). 2021-07-19 13:37:31 -04:00
claudiol
116d75af23 Added Color Theme Editor. Added command SETTHEME. 2021-07-19 13:35:16 -04:00
claudiol
6035f764b5 Enabled full color mode for PC and Prime targets. Added double buffering to avoid flicker. 2021-07-17 17:12:46 -04:00
claudiol
d861ec8f15 Added color support for Prime PC emulator only - other targets broken for now. 2021-07-11 17:42:14 -04:00
claudiol
273beac355 Tested and enabled firmware update on PrimeG1 with newRPL Desktop 2021-06-18 11:34:37 -04:00
claudiol
c198edc6ca Added support for firmware update for HP Prime (untested)
Added validation of firmware images for each device
Improved handling of CRC errors in USB file transfer protocols
Fixed several compiler warnings
2021-06-17 21:14:23 -04:00
claudiol
327f35796c Merge branch 'master' of ssh://git.code.sf.net/p/newrpl/sources 2021-06-06 15:28:01 -04:00
claudiol
79f838bfc9 Added calc type to USB product ID.
Fixed bug in CEIL.
2021-06-06 15:26:27 -04:00
Stefan Achatz
f83614205c Improved error handling in NAND code.
Functions now propagate meaningful error codes.
Removed exceptions from NAND code, especially a misleading one and moved
them to SDDriver.
Error codes are not propagated to the user though.
Contains an additional wait in block erase code which is inspired by PRIME
firmware, but this might settle the same thing as the improved NANDCheckWrite
code of the last commit.
2021-06-05 21:29:38 +02:00
claudiol
d7272a5d93 Added control of GPL13 = WP pin of Flash Chip. Added more checks to prevent writing to the volume if it's read-only. 2021-06-02 19:58:27 -04:00
Stefan Achatz
b8ff0ada34 Closing file and filesystem in multiloader
Also made NANDReset a function
2021-05-29 11:01:55 +02:00
claudiol
d469818c68 Merge branch 'master' of ssh://git.code.sf.net/p/newrpl/sources 2021-05-27 18:11:55 -04:00
claudiol
341e4f329e Used RTC tick counter for low level delays.
Added timeout on NAND operations.
Removed tmrsetup() calls from all drivers (no setup needed, added to boot_prime.c)
2021-05-27 18:10:16 -04:00
Stefan Achatz
e8fe7eb5cd Fixed preamble size entry and removed padding of NEWRPL.ROM
The changes before still produced wrong values. I resorted the linker
script that only the sections that are copied by elf2rom are part of
__total_file_size.
2021-05-22 16:06:24 +02:00
claudiol
8a1657f442 Added full NAND controller initialization on boot and powerup to prevent crash.
Restored automatic file size in preamble, fixed to never include any data sections.
2021-05-17 12:45:56 -04:00