fbergama / pigfx

PiGFX is a bare metal kernel for the Raspberry Pi that implements a basic ANSI terminal emulator with the additional support of some primitive graphics functions.
MIT License
278 stars 62 forks source link

add 1m,2m,22m and 27m for legacy intensity support #53

Closed lindoran closed 3 years ago

lindoran commented 3 years ago

added control codes to control color intensity, for 4 byte color selection in programs that use the legacy color selection scheme 1,2 and 22 (for programs that do not support 90m-107m). fixed a bug in 7m that would cause older code to occasionally produce output were reverse did not work correctly when calling 7m or 27m when it was not needed (when the state was already swapped). this was done by adding a 'reverse' variable to ctx so that the terminal can keep track of color swaps for the state of the reverse text. the above fixes produce proper output with gorilla.com under CP/M.

lindoran commented 3 years ago

PXL_20210219_172147596 I put in changes to support some more legacy code that uses the older intensity selection

lindoran commented 3 years ago

Just updated documents and the bin folder

chregu82 commented 3 years ago

Thanks, I reviewed and merged it.

lindoran commented 3 years ago

Awesome! Thank you so much 😁

On Sat, Feb 20, 2021, 1:32 PM Christian Lehner notifications@github.com wrote:

Thanks, I reviewed and merged it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fbergama/pigfx/pull/53#issuecomment-782737452, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQIK5ZAU5RQFOTS3UBCKVUTTAAE5XANCNFSM4X5BKAJQ .