Hexpert-4 0
Hexpert-4 0
Version 4.0
Hexpert Systems
PO Box 2894
Grass Valley, CA 95945
[email protected]
http://www.hexpertsystems.com
------------------------------------------------------------------------------------
LICENSE
------------------------------------------------------------------------------------
By saying "just like a book," I mean that this software may be used by
any number of people, and may be freely moved from one computer
location to another, so long as there is NO POSSIBILITY of it being
used at one location while it is being used at another or on a computer
network by more than one user at one location. Just as a book can't be
read by two different people in two different places at the same time,
neither can the software be used by two different people in two
different places at the same time.
An alternative method is to drag and drop the name of the file you wish
to edit onto the HEXpert executable file name. This is the equivalent
of specifying the edit file on the HEXpert command line.
Open - Opens a new file. If you are currently editing a file which has
not been saved, HEXpert will ask if you wish to save the current file
before loading the new one.
Save - Saves the current file using the same file name.
Print to File – Allows the user to print the file or a portion of the file to
another file in the hex dump format. Selecting this item will display
the Print to File Dialog, allowing the user to specify which portion of
the file to print.
Exit - Exits the program. If the current edit file has been modified, the
program will give you the option of saving the file before exiting.
Choosing OK will save the file and exit. Choosing Cancel will abort
the exit and return to editing.
Insert Byte - Selecting this option, or pressing the Insert key (INS) will
insert a character (00 hex) at the current cursor location. Note that this
will not work if the program is in the FIXED mode, which does not
allow the file size to change. If this is the case, a message will be
displayed informing you of this.
Delete Byte - Selecting this option, or pressing the Delete key (DEL)
will delete the character at the current cursor location. Note that this
will not work if the program is in the FIXED mode, which does not
allow the file size to change. If this is the case, a message will be
displayed informing you of this.
Toggle Edit Mode - This option changes the current edit mode. The
two modes are ASCII, and HEXadecimal (or OCTal, BINary, or
DECimal). If the mode is ASCII, typing any ASCII characters on the
keyboard will overwrite the characters at the current cursor location
with the typed characters. Note that this is affected by the Text Display
Format (i.e. if using EBCDIC instead of ASCII, EBCDIC values will
be used when entering characters). The other modes will overwrite the
data with the numeric values input. For example: in HEX mode,
typing any of the numeric characters (0-9), or any of the characters A-
F, will modify the data with the new value.
Mark Selection End – This command will mark the current cursor
position as the end of the currently selected text. Text will be
highlighted starting at the Selection Start and ending at this location.
Note that if the selected end of text precedes or is equal to the selected
start, no text will be highlighted. The Selection End can also be
designated by positioning the mouse cursor over the location and Ctrl-
Right clicking.
Block Fill - This command will display a dialog box allowing the user
to fill a given region of the file with specified data, as shown in Figure
2.
Enter the starting offset in the Offset field. When the box is displayed,
it will already contain the offset of the current cursor position. Also
select the numeric format for the offset. Enter the number of items to
Block Delete - This command will display a dialog box allowing the
user to delete a specified number of bytes of data, as shown in Figure 3.
Enter the starting offset in the Offset field. When the box is displayed,
it will already contain the offset of the current cursor position. Also
select the numeric format for the offset. Enter the number of bytes to
delete in the Count field. If you wish to specify an ending location
instead of a count, precede the count value with the “@” symbol.
HEXpert will take the count value as a second offset and compute the
proper count for you. Select the numeric format for the count. Press
the OK button to perform the deletion, or Cancel to cancel the
operation.
Block Cut to Clipboard – This command will delete the selected text
from the editor and place it in the Windows clipboard. Note that if the
current text mode is HEX format, it will be stored in the clipboard in a
HEXpert proprietary format, whereas if the current text mode is ASCII
format, it will be stored in the clipboard as standard text, and can be
pasted into other text applications.
Block Paste from Clipboard – This command will insert text from the
Windows clipboard into the editor at the current cursor location.
Block Paste Over from Clipboard – This command will insert text
from the Windows clipboard into the editor at the current cursor
location, overwriting existing text.
Octal - This will select octal (OCT) as the numeric base for input
and display of the data. Accepted input characters are 0-7. Data
must be entered in sets of three for each byte of data modified.
When octal is the numeric base, this menu item will be checked.
Binary - This will select binary (BIN) as the numeric base for
input and display of the data. Accepted input characters are 0 and
1. Data must be entered in sets of eight for each byte of data
modified. When binary is the numeric base, this menu item will
be checked.
Decimal - This will select decimal (DEC) as the numeric base for
input and display of the data. Accepted input characters are 0-9.
Data must be entered in sets of three for each byte of data
OEM Font - This option selects the OEM font for display. The
OEM font will display the upper 128 characters as line draw
characters, boxes, Greek characters, etc. When the OEM font is
being used, this menu item will be checked. The OEM font is the
default font.
ANSI Font - This option selects the ANSI font for display. The
ANSI font will display the upper 128 characters as the special
characters used for many non-English languages. When the ANSI
font is being used, this menu item will be checked.
Set Display Width – This command will allow you to numerically set
the width of the displayed data in bytes. The dialog box shown in
Figure 4 is displayed:
Search - Select this item to start a search for data that you specify. The
program will display a dialog box allowing you to specify the data and
the format of that data to be found. See Section 9 for more information
on using the Search command.
Search & Replace - Select this item to start searching for data that you
wish to replace with new data. The program will display a dialog box
allowing you to specify the data and the format of the data to be
searched for and replaced. See Section 9 for more information on using
the Search & Replace command.
Search Next - This selection will repeat the last Search or Search &
Replace command from the current cursor position.
Goto Beginning of File – This command will move the current cursor
position to the beginning of the file.
Goto End of File – This command will move the current cursor
position to the end of the file.
The center column displays the data in the current display mode, either
hexadecimal (HEX), octal (OCT), binary (BIN), or decimal (DEC).
Note that the coloring of the text indicates byte divisions, by alternating
blue and black columns.
The third column displays the data’s ASCII equivalent. The characters
displayed will depend on which font is selected. The OEM font will
display the standard ASCII set plus the extended characters containing
the line draw characters, boxes, Greek characters, etc. The ANSI font
will display the standard ASCII set plus the extended characters
containing special characters used in many non-English languages.
Note that any characters which have a blank display are represented by
a single “.” characters. In the OEM font, these are characters 00, 20,
and ff hex. In the ANSI font, these are 00 and 20 hex.
To the right of the edit area is a scroll bar. Clicking the mouse on the
up-arrow will scroll the edit area down by one line. Clicking the down-
arrow will scroll the edit area up by one line. Clicking above or below
the thumb (the square block between the two arrows) will move page
by page through the file. To use the keyboard to move through the file,
use the cursor (arrow) keys and the PgUp and PgDn keys. To go to the
beginning of the file, move the thumb all the way to the top of the
scroll bar, or press Ctrl+PgUp or Ctrl+Home. To go to the end of the
file, move the thumb all the way to the bottom of the scroll bar, or press
Ctrl+PgDn or Ctrl+End.
To edit the data using the numeric formats, press the TAB key to
switch the focus to the format windows. Repeatedly pressing TAB will
jump the cursor from window to window until eventually returning
focus to the main edit window. You can also click the mouse in the
window of the format you wish to edit. Then, simply edit the number
in the window and press Enter. The data bytes in the main edit window
will be updated to reflect the change in the numeric value you made.
No more using a hex calculator to find the hex equivalent of a number,
search for the hex value, calculating the hex value of the new number,
and editing the hex data. You can even do the Search or Search &
Replace commands (See Section 9) using these numeric formats instead
of hex (or octal, binary, decimal). When editing the numeric formats,
press ESCape at any time to return to the main edit window without
modifying the number.
Cursor Position - This indicates the offset into the file that the cursor
currently points to. If the Decimal Offset Display option is selected in
the Options menu, this will be displayed as a decimal value; otherwise,
it will be displayed per the current numeric base (HEX, OCT, BIN, or
DEC).
Mode - This shows what the current Edit mode is. It will show either
ASC for ASCII mode, or HEX, OCT, BIN, or DEC for hexadecimal,
octal, binary, or decimal, respectively.
[ ] - The brackets indicate digits in the numeric base that have been
entered so far. For example: if you are in binary mode (Mode : BIN),
and you are entering the number 10110111, as you enter the digits, they
will be displayed between the brackets. When you enter the last digit,
the data will be updated in the main edit window, and the brackets will
be cleared, ready for the next byte. You can correct entry by using the
backspace key at any time prior to entering the last digit.
Mod - If the data has been modified, this will be displayed, reminding
you that changes have been made.
Size - This indicates the file size. If you insert or delete data, the size
will be updated to reflect the changes.
FIXED - If the FIXED mode is on, indicating that the file size cannot
be changed, the word FIXED will be displayed. If it is off, nothing will
be displayed.
Enter the text to be searched for in the Text to Find field. If you are
doing an ASCII search, simply type in the text. For a numeric search,
enter the number to find. For a Hex, Octal, Binary, or Decimal search,
enter the data as it would be displayed in the main edit window (spaces
Enter the text to be searched for in the Text to Replace field. If you
are doing an ASCII search & replace, simply type in the text. For a
numeric search & replace, enter the number to find. For a Hex, Octal,
Binary, or Decimal search & replace, enter the data as it would be
displayed in the main edit window (spaces are ignored). Similarly,
enter the new text to replace with. Select the Direction to search
(Forward or Backward), and the starting point of the search (Origin).
In the Format window, choose the format of the data you are searching
for and replacing with. For ASCII searches, click the ASCII Case
Sensitive box to do a case sensitive search. To have the program
prompt you for each change, select the Prompt to Replace box. Click
OK to begin the search & replace. HEXpert will replace each
You can choose one of three delimiters. The delimiter is used between
columns of data when the data array is being appended side-by-side to
an existing file. Click OK to continue. A dialog box will be displayed,
allowing you to select the path and name of the exported file. If the
selected file exists, the dialog box in Figure 14 is displayed. This gives
you several options as to how to handle the positioning of the newly
exported data.
The Append below option will add the column to the bottom of the
existing data in the file.
The Replace option will replace the existing data in the file,
overwriting the old data with the newly exported data.
Entire File - When this check box is selected, the entire file will be
printed. This disables the Offset and Count options.
The Offset specifies the starting point for the print. When the dialog
box appears, the offset will contain the current cursor position. You
can also select the numeric format for the offset.
The Count specifies the length to print (bytes). You can also select the
numeric format for the count. Note: if you would rather specify a
second offset instead of a count, precede the count with the "@"
symbol. HEXpert will take the value as a second offset and calculate
the count for you.
After completing the Print Dialog, press the OK button. The windows
print dialog will then be displayed, allowing the user to select a printer,
page orientation, etc. Once OK is selected from the windows print
dialog, the printing will proceed.
Edit
Insert Byte INS
Delete Byte DEL
Toggle Edit Mode Alt+M
Mark Selection Start Ctrl+LeftClick
Mark Selection End Ctrl+RightClick
Block Fill Alt+K
Block Delete Alt+DEL
Block Cut to Clipboard Ctrl+X
Block Copy to Clipboard Ctrl+C
Block Paste from Clipboard Ctrl+V
Block Paste Over from Clipboard Ctrl+O
Options
Hexadecimal Alt+H
Octal Alt+O
Binary Alt+B
Decimal Alt+D
Decimal Offset Display Alt+0
Line Number Display Alt+#
Fixed Length Alt+L
Bytes Swapped Alt+W
OEM Font Alt+1
ANSI Font Alt+2
Set Display Width Alt—
Search
Search Alt+S
Search Replace Alt+R
Search Next Alt+N
Goto Offset Alt+G
Format Windows
Right
Left
Tab Tab
Backspace
Enter
Escape ESC