memtest86plus/app
01e3 1eb65bd8bd Avoid unnecessary screen writes
Calling clear_screen_region to erase the screen section and then
immediately calling printf/prints to write the new information is
sub-optimal as the screen gets updated twice.

This is especially expensive when Frame Buffer is used.

This also creates an unpleasant flickering effect with quickly changing
information, like test patterns.

Introduce printf_region and prints_region macros to call printf / prints
and then clear_screen_region to clear only the region outside the printed
area.

For consistency, also convert all display_cpu_topo_* macros.

Next, avoid redundant screen clearing in display_start_test:
 - display_test_number already takes care of padding,
 - test description gets updated immediately after, no need to clear
   that region.

Finally, simplify the code by adding SCREEN_MAX_COL to define the maximum
column of the screen, so it can be used instead of SCREEN_WIDTH - 1.
2025-02-10 22:05:21 +01:00
..
loongarch Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
badram.c Improve BadRAM pattern collection and add more condensed error reporting modes (#454) 2024-11-11 23:57:21 +01:00
badram.h Improve BadRAM pattern collection and add more condensed error reporting modes (#454) 2024-11-11 23:57:21 +01:00
config.c Improve BadRAM pattern collection and add more condensed error reporting modes (#454) 2024-11-11 23:57:21 +01:00
config.h Improve BadRAM pattern collection and add more condensed error reporting modes (#454) 2024-11-11 23:57:21 +01:00
display.c Avoid unnecessary screen writes 2025-02-10 22:05:21 +01:00
display.h Avoid unnecessary screen writes 2025-02-10 22:05:21 +01:00
error.c Improve BadRAM pattern collection and add more condensed error reporting modes (#454) 2024-11-11 23:57:21 +01:00
error.h Preliminary ECC support for AMD Zen CPUs (#353) 2023-11-29 12:53:05 +01:00
interrupt.c Avoid unnecessary screen writes 2025-02-10 22:05:21 +01:00
interrupt.h Exclude copyright notices from Doxygen file descriptions. 2022-02-19 19:56:55 +00:00
main.c app/main: Adjust the inline ASM to i386 only 2024-07-07 20:32:58 +02:00
test.h Add the 64-bit and 32-bit CC flag 2024-07-22 22:50:15 +02:00
version.h Early bump to v8.00 2025-01-27 19:28:03 +01:00