Export to GitHub

grub4dos-chenall - issue #190

change right-arrow menu select character


Posted on Aug 4, 2014 by Happy Kangaroo

What steps will reproduce the problem? In a grub4dos menu (text mode or graphics) the highlighted menu entry has a right-arrow symbol at the extreme left of the selected menu item.

Is there a way to change this character to a space or some other symbol. If so, can a UTF-8 symbol be specified or just a 0-FF ASCII symbol.

Alternatively, is there a patch location where it can be changed (either in memory or by patching grldr)

A few users have requested this.

Comment #1

Posted on Aug 5, 2014 by Happy Hippo

use 0x8274 to change

0x8274 bit 23-31 ( 0x8277)

the test version can use like below e.g. write --bytes=1 0x8277 0

--bytes=1 limit only write 1 byte at 0x8277,so it does not change 0x8278-0x827a

Comment #2

Posted on Aug 5, 2014 by Happy Hippo

(No comment was entered for this change.)

Attachments

Comment #3

Posted on Aug 5, 2014 by Happy Kangaroo

Thanks! but in this version there is no arrow symbol by default. For compatibility, it should be the same. I need to use write --bytes=1 0x8277 0x10 to make it the same.

Work great though! :-)

Comment #4

Posted on Aug 7, 2014 by Happy Hippo

http://grub4dos.chenall.net/downloads/grub4dos-0.4.5c-2014-08-06/

Comment #5

Posted on Aug 7, 2014 by Happy Kangaroo

Thanks

Is read --bytes=1 supported too?

Comment #6

Posted on Aug 7, 2014 by Happy Kangaroo

Comment deleted

Comment #7

Posted on Aug 7, 2014 by Happy Kangaroo

My code uses write 0x8274 0 and 0x2001 to change autonumbering of menu - this is overwriting the 8277 value? This breaks compatibility. Can another location be used instead of 8277 that is unused?

Status: Done

Labels:
Type-Defect Priority-Medium