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 A week ago
Also tagged with one or more of these keywords: grub4dos, grub4efi
Boot methods & tools →
Boot from USB / Boot anywhere →
Grub4dos →
[Release] FATTEXT.G4B: text-editor for grub4dosStarted by deomsh , 13 hours ago ![]() |
|
![]()
|
||
Boot methods & tools →
Boot from USB / Boot anywhere →
Grub4dos →
cmp takes skip and lengthStarted by deomsh , 3 weeks ago ![]() |
|
![]()
|
||
Boot methods & tools →
Boot from USB / Boot anywhere →
Grub4dos →
Problem with return value of 'calc' with certain big numberStarted by deomsh , 05 Feb 2023 ![]() |
|
![]()
|
||
Boot methods & tools →
Boot from USB / Boot anywhere →
Grub4dos →
[Update] TEXTSTAT.G4B v0.8 count, print and readStarted by deomsh , 20 Jan 2023 ![]() |
|
![]()
|
||
Boot methods & tools →
Boot from USB / Boot anywhere →
Grub4dos →
[Update Release] CALCD.G4B v0.2.1 - decimals, functions and more operatorsStarted by deomsh , 14 Jan 2023 ![]() |
|
![]()
|
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users