PavelRadzevich / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

change right-arrow menu select character #190

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by Steve6375 on 4 Aug 2014 at 2:43

GoogleCodeExporter commented 8 years ago
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

Original comment by chenall.cn on 5 Aug 2014 at 2:47

GoogleCodeExporter commented 8 years ago

Original comment by chenall.cn on 5 Aug 2014 at 2:47

Attachments:

GoogleCodeExporter commented 8 years ago
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!  :-)

Original comment by Steve6375 on 5 Aug 2014 at 8:22

GoogleCodeExporter commented 8 years ago
http://grub4dos.chenall.net/downloads/grub4dos-0.4.5c-2014-08-06/

Original comment by chenall.cn on 7 Aug 2014 at 1:44

GoogleCodeExporter commented 8 years ago
Thanks

Is read --bytes=1     supported too?

Original comment by Steve6375 on 7 Aug 2014 at 8:03

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

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?

Original comment by Steve6375 on 7 Aug 2014 at 9:02