Commit Graph

56 Commits

Author SHA1 Message Date
mintsuki
3ff618f1eb everywhere: Use pmm_free() in more places 2021-10-21 02:37:05 +02:00
mintsuki
f71e57af49 everywhere: Implement pmm_free() 2021-10-21 01:27:05 +02:00
mintsuki
bac1d489ce term: Undo most of commit 1332be4 as that causes a performance hit on QEMU TCG 2021-10-14 15:36:53 +02:00
mintsuki
0f7746c321 gterm: Center terminal grid inside terminal window 2021-10-12 20:52:10 +02:00
mintsuki
cb55eef436 gterm: Improvements and bug fixes in canvas drawing 2021-10-12 16:38:24 +02:00
mintsuki
244b461700 gterm: Cursor print bug fix 2021-10-01 07:08:02 +02:00
mintsuki
bca6f924ba term: Overhaul (4) 2021-09-28 02:05:47 +02:00
mintsuki
1332be4e2a term: Overhaul (3) 2021-09-27 23:43:25 +02:00
mintsuki
fabf2aef8c term: Overhaul (2) 2021-09-26 20:59:38 +02:00
mintsuki
ea2665c53b term: Overhaul (1) 2021-09-26 18:16:55 +02:00
mintsuki
35273093ba term: Cursor should flip palette 2021-09-14 20:02:09 +02:00
mintsuki
7ad45e8daf term: Fix bug introduced when moving from int to size_t for coordinates. Fixes #110 2021-09-11 08:43:39 +02:00
mintsuki
57c44befee Revert "term: Reverse video should not make the cursor invisible"
This reverts commit a5def082c3.
2021-08-26 01:23:27 +02:00
mintsuki
a5def082c3 term: Reverse video should not make the cursor invisible 2021-08-25 23:57:19 +02:00
mintsuki
23a93a85dc term: Bug fixes 2021-08-24 01:08:08 +02:00
mintsuki
ee3131bdfa gterm: Rearrange logic to determine font properties 2021-08-20 22:18:15 +02:00
mintsuki
cefc4a76ca gterm: Implement TERMINAL_FONT_SPACING and default it to 1 2021-08-20 19:25:42 +02:00
mintsuki
fa0aa6d7b9 gterm: Add config aliases and other minor fixes 2021-08-18 21:02:03 +02:00
Hannu Hartikainen
cd02860fc1 gterm: expand font 9th column like VGA
Implement column expansion like VGA Line Graphics Mode does it, e.g. the
8th column is replicated for characters 0xC0-0xDF. Do this for all
columns above 8 so font sizes like 10x16 are also usable.
2021-08-18 16:07:48 +03:00
Hannu Hartikainen
58d128b9f3 gterm: support font scaling 2021-08-18 16:07:48 +03:00
Hannu Hartikainen
c11dc2388d gterm: rename vga_font_{width,height} to lowercase
Now that the values are editable, this is the correct letter case.
However this deserves its own commit so the commit with the logical
change is easier to read.
2021-08-18 16:06:17 +03:00
Hannu Hartikainen
a8a8af4c5f gterm: support different font sizes 2021-08-18 16:06:17 +03:00
Hannu Hartikainen
867b4a5fa6 gterm: fix custom MENU_FONT
The default font being already loaded in stage2 prevented a custom font
from being loaded in stage3 (at least in UEFI). If a custom font is
configured, load it.
2021-08-18 16:06:17 +03:00
mintsuki
17c5ec43e0 term: Finish up context control work 2021-08-16 20:56:39 +02:00
mintsuki
0b1c1ccc88 gterm: Add context control logic 2021-08-16 20:00:37 +02:00
mintsuki
c7a46830f6 term: Mass backport changes done in Vinix upstream 2021-08-16 18:02:28 +02:00
mintsuki
0dde09bbb9 term: Support bright colours 2021-07-31 23:51:48 +02:00
mintsuki
5d22de7733 term: Misc improvements 2021-07-31 20:52:46 +02:00
mintsuki
0e2b9c5776 term: Bound check when setting cursor position 2021-07-20 14:13:56 +02:00
mintsuki
f4a47cff02 gterm: Improve text drawing performance on both QEMU TCG and real hardware 2021-07-11 08:30:54 +02:00
mintsuki
e5ec3c1fb3 gterm: Reintroduce fast canvas drawing, only.
Co-authored-by: StaticSaga <61866965+StaticSaga@users.noreply.github.com>
2021-07-11 07:28:09 +02:00
mintsuki
f4dc6481f1 gterm: Revert recent changes as they make the terminal significantly slower on real hardware 2021-07-11 04:50:15 +02:00
mintsuki
50fd990ece term: Improve logic of disabling scrolling 2021-07-11 01:51:17 +02:00
StaticSaga
b38b830241 gterm: Fix typo on IMAGE_STRETCHED 2021-07-10 13:59:42 +02:00
StaticSaga
0daf11ecca gterm: refactor genloop() 2021-07-09 16:27:23 +02:00
StaticSaga
7bfdfbd2ad gterm: make gterm_plot_char faster 2021-07-08 17:50:48 +02:00
mintsuki
25d9fd6614 term: Do not scroll screen when it shouldn't be 2021-07-08 16:33:24 +02:00
StaticSaga
8a8b437437 gterm+bmp+image: Improve performance on TCG 2021-07-08 13:52:13 +02:00
mintsuki
2bce5bf2d1 docs: Update screenshot 2021-07-07 04:50:32 +02:00
Iurii Zamiatin
6b15b0f97b bmp: Add support for stretched images 2021-07-07 03:46:40 +03:00
mintsuki
dc47b83c16 term: Fix various cursor-related issues 2021-06-08 00:06:33 +02:00
mintsuki
7ac20e0615 gterm: Many improvements 2021-04-11 02:30:48 +02:00
mintsuki
4dc24474a0 gterm: Fix allocated buffer which could be too small and result in an overflow 2021-04-11 01:33:58 +02:00
mintsuki
4bbc98b62e Revert "video: Many terminal related bug fixes and improvements"
This reverts commit f7638e965b.
2021-04-11 01:26:50 +02:00
mintsuki
f7638e965b video: Many terminal related bug fixes and improvements 2021-04-10 23:08:32 +02:00
mintsuki
c3481e12cc mtrr: Wholly remove MTRR support 2021-04-09 02:28:56 +02:00
mintsuki
bf9962e86f gterm: Speed up terminal by doing sub-character pixel comparisons and only printing differences 2021-04-09 00:22:20 +02:00
mintsuki
8bd7cf743c gterm: Speed up terminal greatly by only printing on screen characters that changed 2021-04-08 23:41:35 +02:00
mintsuki
05c60bac51 gterm: Speed up terminal greatly by caching an alpha blent canvas of the background instead of alpha blending every pixel of the background every time 2021-04-08 23:05:27 +02:00
mintsuki
7abb7348a9 stivale2: Implement terminal 2021-04-07 02:10:28 +02:00