Jump to content

- - - - -

[Release]HISTBUFF.G4B: History Buffer Tool (experimental grub4efi support)

grub4dos grub4efi

  • Please log in to reply
No replies to this topic

#1 deomsh


    Frequent Member

  • Advanced user
  • 195 posts

Posted 12 March 2023 - 09:13 PM

HISTBUFF.G4B: View, Check, Clean, Delete, Export, Import and Write to History Buffer.

This grub4dos-script is the successor of KEYBUFF.G4B with an extra function to view the Command-line Buffer and generalised for (experimental) grub4efi support.

In grub4dos the History Buffer has a fixed address in memory (Command-line Buffer too), only address of num_hist is unknown and different for different grub4dos versions (num_hist is count of entries in History Buffer).

In grub4efi there are no fixed addresses in this respect, different with size of memory and UEFI-firmware too.

However I managed to isolate some constants on three test platforms: Virtual Box 6.1, VMware Workstation Player 17 and on an ASUS P61H1 board (in UEFI-mode).

See next three print-screens showing the results:

grub4efi VBox 256 MB HISTBUFF View II.jpg gru4efi ASUS P61H1 4GB HISTBUFF num_hist and History Buffer.jpg grub4efi VMware Player 17 256 MB HISTBUFF View II.jpg

BTW VBox and VMware have both 256 MB memory, the ASUS board 4GB (on the ASUS-board History Buffer is showed after cleaning).

Also a print-screen of new function to show the Command-line Buffer. Can be useful to copy the last command (zero terminated):

gru4efi ASUS P61H1 4GB HISTBUFF Command-line Buffer.jpg

BTW memory is not cleaned on the ASUS-board, the Virtual Machines do a better job in this respect.

Also tagged with one or more of these keywords: grub4dos, grub4efi

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users