Commit Graph

346 Commits

Author SHA1 Message Date
mintsuki
605623bd05 disk: Improve algorithm to determine fastest transfer size 2021-08-26 01:33:43 +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
mint
9d8fd54127
Merge pull request #104 from ArsenArsen/trunk
readline: re-add emacs key support
2021-08-26 00:17:55 +02:00
Arsen Arsenović
50dcc58a77
readline: re-add emacs key support
This time, we properly check shift flags from both the firmware options,
as to not lead to conflicts with existing code. The logic for checking
whether Ctrl is being held is also a lot cleaner now.
2021-08-26 00:15:42 +02:00
mintsuki
a5def082c3 term: Reverse video should not make the cursor invisible 2021-08-25 23:57:19 +02:00
mintsuki
31f52c2b30 efi: Directly use EFI functions instead of using GNU-EFI's call wrapper 2021-08-25 22:03:00 +02:00
mintsuki
23a93a85dc term: Bug fixes 2021-08-24 01:08:08 +02:00
mintsuki
16645dfb48 disk: Misc fixes 2021-08-22 22:07:48 +02:00
mintsuki
483cb4655d misc: Add copyright notice at boot 2021-08-22 18:29:18 +02:00
mintsuki
712f4c02e6 disk: Remove redundant code used to get volume count 2021-08-22 18:05:21 +02:00
mintsuki
9a934eb683 efi: Leave 64MiB to firmware instead of 16MiB 2021-08-22 17:57:52 +02:00
mintsuki
48f7dee672 cpu: Remove static from header inline functions 2021-08-22 17:37:09 +02:00
mintsuki
e497c1d7f4 disk: Fix bugs introduced by previous commit 2021-08-22 17:20:22 +02:00
mintsuki
049601814a disk: Add logic to determine fastest transfer size 2021-08-22 16:27:06 +02:00
mintsuki
dadca8fe17 efi: Rework EFI memory map sanitisation 2021-08-22 15:02:33 +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
f9fe2f96ed misc: Bug fixes 2021-08-20 18:28:51 +02:00
Sebastian
904488c60f
acpi: Fix wrong data type in tables header 2021-08-19 18:13:20 -05: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
32192f73a4 docs: Document TEXTMODE option 2021-08-17 00:58:02 +02:00
mintsuki
b2e66e5a2d term: Misc improvements and fixes 2021-08-17 00:37:24 +02:00
mintsuki
385af687b3 vga_textmode: Replace BIOS calls to enable and disable hardware cursor with direct VGA port IO 2021-08-17 00:06:20 +02:00
mintsuki
19ecfe9c1e menu: Fix broken change 2021-08-17 00:00:23 +02:00
mintsuki
7e50f302e7 term: Fix broken defines and calls 2021-08-16 22:47:40 +02: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
a3f3f95bd7 term: Implement a bunch of escape sequences 2021-08-16 19:32:09 +02:00
mintsuki
1cd381a3aa stivale2: More reasonable code flow to determine target video mode 2021-08-16 18:34:30 +02:00
mintsuki
c7a46830f6 term: Mass backport changes done in Vinix upstream 2021-08-16 18:02:28 +02:00
mintsuki
993a602afb term: Support bold attributes 2021-08-12 07:52:25 +02:00
mintsuki
5f1c34a587 tftp: Overhaul and bug fixes 2021-08-12 07:40:29 +02:00
Andy-Python-Programmer
3b4d7c53fa
Implement the "stivale2_struct_tag_kernel_file_v2" tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-08-10 18:33:03 +10:00
mintsuki
7cca9dd42f build: Misc build system improvements 2021-08-07 07:26:34 +02:00
mintsuki
5ffce7c42e term: Support DEC private escape 25 (enable/disable cursor) 2021-08-06 06:16:41 +02:00
mintsuki
6275457af0 toolchain: Use program prefix limine- to avoid collisions with x86_64-elf system toolchains 2021-08-06 05:05:50 +02:00
mintsuki
0dde09bbb9 term: Support bright colours 2021-07-31 23:51:48 +02:00
mintsuki
07dc81bbee build: Pass -mabi=sysv to cc 2021-07-31 21:28:06 +02:00
mintsuki
5d22de7733 term: Misc improvements 2021-07-31 20:52:46 +02:00
ytret
059be24d3b stivale2: set ID of textmode structure tag 2021-07-31 20:59:05 +03:00
mintsuki
9540ea620b elf: Make sure KASLR doesn't result in load addresses higher than 0x80000000 for higher half kernels 2021-07-29 15:44:27 +02:00
mintsuki
af28eee1bc build: Prevent gensyms.sh from failing if pipefail is not supported by the shell 2021-07-26 20:19:40 +02:00
mintsuki
db561393dd stivale: Add requested stack sanity checks. Closes #95 2021-07-26 19:25:59 +02:00
mintsuki
9d68787fe1 build: OpenBSD compatibility 2021-07-26 18:27:05 +02:00
mintsuki
af03050db3 build: Make build system more BSD friendly 2021-07-26 16:09:03 +02:00