chenall / grub4dos

外部命令和工具源码:https://github.com/chenall/grubutils 下载:
http://grub4dos.chenall.net
GNU General Public License v2.0
647 stars 136 forks source link

grub4dos: using echo $[0xf0] outputs 00 byte character which shows as white space #385

Open steve6375 opened 1 year ago

steve6375 commented 1 year ago

image

yaya2007 commented 1 year ago

grldr.rar.txt

384 #385

steve6375 commented 1 year ago

In graphicsmode -1 800 is OK image

but in graphicsmode 3 the text is printing on screen in column 1 instead of column 0

image

yaya2007 commented 1 year ago

Using $[0xab] for the first character will cause problems when scrolling. This is a side effect of repair 381. Either that's it, or don't use it in the first character, or use graphic mode. The problem of 381 is caused by the bios code in the virtual machine. Let's deal with the old model.

steve6375 commented 1 year ago

image Screen is not scrolling

Same result in real system (Lenovo IdeaPad 300) and VirtualBox 5.

yaya2007 commented 1 year ago

这是属于381问题的讨论,请移步381继续讨论。

yaya2007 commented 1 year ago

echo $[0x00]"$[0x0F]ARG1$[]=$[0xF0]%^ARG1%

$[0x00]",它是显示背景色为黑色,字符颜色也是黑色的双引号,由于正常人看不见这个引号,以为是一个空格。我猜想他是想隐藏这个引号,使用echo $[0x00]"是办不到的。