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:
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):
BTW memory is not cleaned on the ASUS-board, the Virtual Machines do a better job in this respect.

No replies to this topic
#1
Posted 12 March 2023 - 09:13 PM
Also tagged with one or more of these keywords: grub4dos, grub4efi
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users