06-26-2020, 06:35 PM
Maybe you can change the bg color only every 2 or 4 lines to reduce the slowdown.
in setHBLTimer:
__asm("ldb (TREG0),0x01");
replace 1 by 2 or 4
in setHBLTimer:
__asm("ldb (TREG0),0x01");
replace 1 by 2 or 4