chenall/grub4dos

grub4efi: clear is not good working after switching to graphicsmode 3

deomsh opened this issue · 3 comments

Command 'clear' is not always working after switching to graphicsmode 3. No problems in graphicsmode -1 640 (or 800 or 1024)

grub4efi 20221128 cmd 'clear' is not working after changing to graphicsmode 3

Also return value of call Fn.4 seems to be 'wrong', even without switching graphicsmode:

grub4efi 20221128 booting commandline before using 'clear' call Fn 4 is 'good' II

BTW bootx64.efi version 20221128, tested in Virtual Box Version 6.1.38 r153438 (Qt5.6.2)

It is not easy to solve.
Which of the following methods is better?

  1. Keep unchanged.
  2. Direct conversion to 640 * 480 mode.
  3. Empty operation. Do nothing.

Please say why you want to switch to text mode?

Text mode is better readable for me, and MAYBE a bit faster.

Example text mode:

grub4efi text mode example

BTW text mode is somehow not stable to the normal 80 chars on a line. Only directly after booting line is 80 chars

Example graphics mode -1 640:

grub4efi graphicsmode example

The standard text mode is 80 * 25. Your text mode is not standard. Qemu is the best, VMware Workstation Pro is the second, and Oracle VM VirtualBox is the worst.

The real machine UEFI starts without using the graphic mode. It is the standard text mode provided by the computer firmware, which must be 80 * 25.
However, different virtual machines simulate different firmware.

The problem now is that once the graphics mode is set, it is difficult to return to the text mode provided by the firmware. At least I haven't found a good way.

Another problem is the font. The font in graphic mode is not beautiful.