Commit Graph

908 Commits

Author SHA1 Message Date
mintsuki f5b0a4ee25 elf: More bug fixes 2021-07-17 08:19:03 +02:00
mintsuki 5fa8ef5d37 elf: Bug fixes 2021-07-17 07:38:19 +02:00
mintsuki e96b55a477 stivale2: Fix test 2021-07-15 17:16:55 +02:00
mintsuki de3c7eed67 stivale2: Implement PMRs 2021-07-15 16:20:29 +02:00
mintsuki 79b8c38c8c stivale: Initial infrastructure to support ELF permissions 2021-07-15 14:09:12 +02:00
mintsuki 178f3cea0e elf: Return permission ranges 2021-07-15 13:34:24 +02:00
mintsuki aec537f519 menu: Fix title alignment 2021-07-15 12:51:46 +02:00
mintsuki 1aa5ae13fc misc: Change how bios and uefi macros are defined and tested 2021-07-15 10:03:47 +02:00
mintsuki d478a1b28b stivale2: Add support for text mode struct tag 2021-07-11 10:07:43 +02:00
mintsuki f5ffbdf2cd stivale2: Add support for any video header tag 2021-07-11 09:47:57 +02:00
mintsuki 63a45e2b31 stivale2: Implement max_length field of terminal structure tag 2021-07-11 08:51:22 +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 9423860745 Revert "readline: rewrite Ctrl-[pnbf] to arrows"
This reverts commit 9e2d9f1630.
2021-07-11 02:03:10 +02:00
mintsuki f66620052d Revert "readline: exclude the non-ctrl case from checks"
This reverts commit 2fcabe8dfe.
2021-07-11 02:02:50 +02:00
mintsuki 6f17771c53 menu: Disable scrolling when displaying status text 2021-07-11 02:01:03 +02:00
mintsuki 50fd990ece term: Improve logic of disabling scrolling 2021-07-11 01:51:17 +02:00
mintsuki ed3c866187 docs: Document RANDOMISE_MEMORY 2021-07-11 01:35:31 +02:00
mintsuki ffac9b1c68 stivale2: Prevent buffer overflows when writing to stivale2 terminal 2021-07-11 01:31:16 +02:00
mintsuki d85e6302db Revert "bmp: Sanity check images"
This reverts commit 8ea847e563.
2021-07-11 01:24:00 +02:00
mint b5ef61f151
Merge pull request #94 from StaticSaga/trunk
gterm+bmp: Fix and image sanity check
2021-07-10 14:06:32 +02:00
StaticSaga 8ea847e563 bmp: Sanity check images 2021-07-10 13:59:58 +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
mintsuki cd59bb5097 pmm: Add option to randomise memory contents at boot-up 2021-07-09 14:40:44 +02:00
mintsuki 757cc792fd menu: Print comments in cyan instead of green 2021-07-08 18:05:17 +02:00
mint 969381c1aa
Merge pull request #93 from StaticSaga/trunk
Improve printing+scrolling performance (especially on TCG)
2021-07-08 17:59:33 +02:00
mintsuki cf865fbb71 docs: Update screenshot 2021-07-08 17:52:03 +02:00
StaticSaga 7bfdfbd2ad gterm: make gterm_plot_char faster 2021-07-08 17:50:48 +02:00
mint 9f541d2d8e
Merge pull request #92 from ArsenArsen/trunk
readline: exclude the non-ctrl case from checks
2021-07-08 17:46:49 +02:00
Arsen Arsenović 2fcabe8dfe
readline: exclude the non-ctrl case from checks
Honestly, all of this is hacky, somehow people implementing these APIs
never bothered to put modifiers in some other register to be returned.
The EFI people got a whole struct dedicated to returning what key is
pressed, and didn't even put the modifiers in it.

EFI actually did implement this with EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL,
the returned struct holds the modifier. I can implement this using that
protocol and int 16/AH=01h at a later date.
2021-07-08 17:43:58 +02:00
mintsuki 8636aa2f13 menu: Add support for comments in entry editor 2021-07-08 17:28:43 +02:00
mintsuki 3270ce1bf8 menu: When a directory entry is selected, show expand/collapse rather than boot 2021-07-08 17:15:28 +02:00
mintsuki 00c7c8a6c5 docs: Document entry comments 2021-07-08 17:11:54 +02:00
mintsuki 3b06a0603f menu: Reset terminal palette to default after printing entry comment 2021-07-08 17:07:07 +02:00
mint 2a64832923
Merge pull request #91 from ArsenArsen/trunk
readline: rewrite Ctrl-[pnbf] to arrows
2021-07-08 17:02:16 +02:00
mintsuki 9f5c5e09b4 menu: Support entry comments 2021-07-08 16:57:40 +02:00
Arsen Arsenović 9e2d9f1630
readline: rewrite Ctrl-[pnbf] to arrows 2021-07-08 16:57:04 +02:00
mintsuki 25d9fd6614 term: Do not scroll screen when it shouldn't be 2021-07-08 16:33:24 +02:00
mintsuki c3f5f0d6fd menu: Nicely box boot menu 2021-07-08 16:07:33 +02:00
mintsuki a39a588b0e menu: Avoid useless draws of the entry tree 2021-07-08 15:47:28 +02:00
mint d8db4b1703
Merge pull request #90 from StaticSaga/trunk
Improve performance on TCG, part 1
2021-07-08 15:36:06 +02:00
StaticSaga 8a8b437437 gterm+bmp+image: Improve performance on TCG 2021-07-08 13:52:13 +02:00
mintsuki c284a91d49 docs: Update README.md 2021-07-07 10:08:17 +02:00
mintsuki b5f35d6091 multiboot1: Make sure all info is passed to kernel in conventional memory 2021-07-07 10:01:08 +02:00
mintsuki 3b18864e6f efi: Misc bug fixes 2021-07-07 05:54:40 +02:00
mintsuki 0c46de53d8 Revert "pmm: Use our custom EFI memory entry type to release EFI memory back instead of relying on our memmap"
This reverts commit eadee3e6cb.
2021-07-07 05:37:47 +02:00
mintsuki 10e802981d docs: Document stretched background style 2021-07-07 04:56:39 +02:00
mintsuki 393441add4 docs: Update attribution of screenshot and testing background 2021-07-07 04:53:30 +02:00