chenall/grub4dos

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

steve6375 opened this issue · 6 comments

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

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.

image
Screen is not scrolling

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

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

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

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