Dec 072017
 
Binary Viewer - a nice binary file viewer.
File BVIEW.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
Binary Viewer – a nice binary file viewer.
File Name File Size Zip Size Zip Type
BVIEW.DOC 41551 9565 deflated
BVIEW.EXE 62451 31660 deflated
ORDER.DOC 1909 566 deflated

Download File BVIEW.ZIP Here

Contents of the BVIEW.DOC file

























bView
Version 1.00
for MS DOS



(C) Copyright 1992 Magi Creations.
All Rights Reserved
P.O. Box 31415
Flagstaff AZ, 86003
(602)525-3140


This product is protected under United States copyright law, it may
not be sold, modified for redistribution or repackaged individually
without the specific written permission of Magi Creations.

This is a shareware product. You may make copies and distribute it
among your friends, provided there is no fee charged for such copying
and distribution and that it is distributed ONLY in its original,
unmodified form.






Table of Contents

INTRODUCTION.............................................. 1
FILES..................................................... 1
VERSIONS.................................................. 2
FEATURES.................................................. 3
SYSTEM REQUIREMENTS....................................... 3
USING bView............................................... 4
STARTING bView......................................... 4
THE DISPLAY............................................ 4
THE CURSOR............................................. 5
MENUS.................................................. 5
FILE................................................ 5
OPEN............................................. 5
ABOUT............................................ 6
QUIT............................................. 6
SEARCH.............................................. 6
SEARCH........................................... 6
NEXT............................................. 6
POSITION............................................ 6
BEGINNING........................................ 6
END.............................................. 6
GOTO............................................. 6
OPTIONS............................................. 7
DISPLAY.......................................... 7
MOUSE USAGE............................................ 8
KEYBOARD USAGE......................................... 8
THE USER INTERFACE........................................ 9
THE PULL DOWN MENU..................................... 9
DIALOG BOXES.......................................... 10
DIALOG BOX ELEMENTS................................ 10
STRING FIELDS................................... 10
NUMERIC DATA FIELDS............................. 11
RADIO BUTTONS................................... 11
CHECK BOXES..................................... 11
PUSH BUTTONS.................................... 11
THE SCROLL BAR.................................. 12
ORDERING INFORMATION..................................... 14
TECHNICAL SUPPORT........................................ 14
UPDATE POLICY............................................ 14
THE FUTURE............................................... 16
DISCLAIMER OF WARRANTY................................... 16

















bView Version 1.00


INTRODUCTION



Most of the files created on computers today are not "text" files,
and yet there is no easy way to view and alter these files.
Basically, a text file is any file that contains only ASCII data (for
example, any file you can view easily with the DOS "type" command)
while all the others are binary files. Binary files are normally
only accessible by the programs that created them, but we often find
ourselves needing to examine and alter these files. That is why
bView has been created.

bView is a binary file viewer, or a hex viewer. It is designed to
allow the easy and effective viewing of binary files. It can be used
to view any file that has binary or hex components.

Some possible uses for bView are:
(Some of these examples apply to the read/write version of bView which
is available as a full function file editor named bEdit. See the section
on 'Versions' for more information.)

* Patching a corrupted data base.
* A programming tool for debugging the binary files you're
creating.
* Examining and even changing the 'save' file from your favorite
game.
* Examination of any binary file, to see what's in there.
* Doing a quick fix on one of your own programs without having to
recompile it.
* The examination and alternation of any nontext file!


This manual assumes a thorough knowledge of DOS, file structures, and the
binary and hexadecimal numbering systems.


FILES


The files that come with bView are:

File Name Description

bView.exe bView program file.
bView.doc Documentation, this file.
order.doc bView order form.









Page 1


bView Version 1.00



File Search Position Options
bView V1.00 - test.dbf
Offset: 000h Dec:003 Bin:0000 0011 Size: E0Ah
000h: 03 5C 06 17 64 00 00 00 C1 00 22 00 .\..d.....".^
00Ch: 00 00 00 00 00 00 00 00 00 00 00 00 ............
018h: 00 00 00 00 00 00 00 00 6F 6E 65 00 ........one.
024h: 00 00 00 00 00 00 00 4E 00 00 00 00 .......N....
030h: 08 00 00 00 00 00 00 00 00 00 00 00 ............
03Ch: 00 00 00 00 74 77 6F 2E 2E 2E 32 00 ....two...2.
048h: 00 00 00 43 00 00 00 00 03 00 00 00 ...C........
054h: 00 00 00 00 00 00 00 00 00 00 00 00 ............
060h: 74 68 72 65 65 2B 2B 2B 2B 2B 00 43 three+++++.C
06Ch: 00 00 00 00 0A 00 00 00 00 00 00 00 ............
078h: 00 00 00 00 00 00 00 00 66 34 00 00 ........f4..
084h: 00 00 00 00 00 00 00 43 00 00 00 00 .......C....
090h: 02 00 00 00 00 00 00 00 00 00 00 00 ............
09Ch: 00 00 00 00 66 35 00 00 00 00 00 00 ....f5......
0A8h: 00 00 00 43 00 00 00 00 0A 00 00 00 ...C........
0B4h: 00 00 00 00 00 00 00 00 00 00 00 00 ............
0C0h: 0D 20 20 20 20 20 20 20 20 31 3C 2D . 1<-
0CCh: 3E 2B 30 30 30 30 30 30 30 30 30 2A >+000000000*
0D8h: 2A 2B 30 30 30 39 39 39 39 39 39 20 *+000999999
0E4h: 20 20 20 20 20 20 20 32 3C 2D 3E 2B 2<->+
0F0h: 30 30 30 30 30 30 31 30 31 2A 2A 2B 000000101**+v


Figure 1, The bView Screen
(Please note that the screen representations
are approximate and sometimes partial)


VERSIONS


bView comes in several versions:

bView Shareware: This is the version you have now.

bView Registered: If you register bView, you will receive the
latest version of bView, and have access to technical support.

bEdit: The full blown version, bEdit, is identical to the
registered version of bView with the following additions.

* File Read/Write capabilities, so you can truly edit files.
* An Undo buffer of up to 10000 characters.
* A full function Search/Replace feature.
* A printed manual.







Page 2


bView Version 1.00


FEATURES


* Full featured user interface with pulldown menus and mouse
support.

* Horizontal and Vertical scrolling.

* Flexible data display (display HEX, display ASCII, or display both
HEX and ASCII. The display of the data Address is optional).

* Multiple numeric bases supported. Numbers (Except for the HEX
display) can be displayed and entered in either HEX or Decimal.

* Search function. This function searches for either HEX or ASCII data.
An ASCII search can also be case sensitive.

* Automatically display width. This automatically configures the
display to show the maximum amount of data on the screen.

* Manual display width. Display data up to 500 characters wide to
aid the viewing of fixed length records.

* Decimal and Binary translations for the current byte.

* Unlimited file size support. The maximum file size is limited
only by the disk capacity.


SYSTEM REQUIREMENTS


bView will work on any IBM PC or 100% compatible, DOS version 3.x or
greater.






















Page 3


bView Version 1.00


USING bView



STARTING bView


bView has the following command line syntax.

bView

Where is the name of the file to edit, this parameter is
optional.


THE DISPLAY


The bView display is very flexible and has a number of elements.
The display elements may be changed to suite your preferences. These
elements are:

Address: The address of the first byte in a row of data is
displayed in the leftmost portion of the window.

Hex Display: The hexadecimal representation of the data is
displayed in the center of the window.

ASCII Display: The ASCII representation of the data is displayed
at the rightmost portion of the window. Brackets '|' appear
around the ASCII characters if HEX data is being displayed. If a
character does not have a valid ASCII translation, a period '.'
is displayed instead.

Status Line: The top line of the display is used for status and
search information. The status line contains: Current file
offset, decimal and binary translation of the current byte, and
file size.

The display is configurable so that any or all of the elements can
appear at once. The configuration of the status line may be changed
via the Options menu. The Address elements can be toggled on and
off, and the data can be displayed in HEX format, ASCII format, or
both HEX and ASCII formats.












Page 4


bView Version 1.00



bView V1.00 - test.dbf
Offset: 000h Dec:003 Bin:0000 0011 Size: E0Ah <- Status
000h: 03 5C 06 17 64 00 00 00 .\..d... ^ Line
008h: C1 00 22 00 00 00 00 00 ..".....
010h: 00 00 00 00 00 00 00 00 ........
018h: 00 00 00 00 00 00 00 00 ........
020h: 6F 6E 65 00 00 00 00 00 one.....
028h: 00 00 00 4E 00 00 00 00 ...N....
030h: 08 00 00 00 00 00 00 00 ........
038h: 00 00 00 00 00 00 00 00 ........
040h: 74 77 6F 2E 2E 2E 32 00 two...2.
048h: 00 00 00 43 00 00 00 00 ...C....
050h: 03 00 00 00 00 00 00 00 ........
058h: 00 00 00 00 00 00 00 00 ........
060h: 74 68 72 65 65 2B 2B 2B three+++
068h: 2B 2B 00 43 00 00 00 00 ++.C....
070h: 0A 00 00 00 00 00 00 00 ........
078h: 00 00 00 00 00 00 00 00 ........
080h: 66 34 00 00 00 00 00 00 f4......
088h: 00 00 00 43 00 00 00 00 ...C....
090h: 02 00 00 00 00 00 00 00 ........
098h: 00 00 00 00 00 00 00 00 ........
0A0h: 66 35 00 00 00 00 00 00 f5...... v

^ ^ ^
| | |
Address Hex Display ASCII Display

Figure 2, Display Elements


THE CURSOR


While data is being displayed by bView, a cursor is always visible.
The cursor will be in either the HEX portion of the display or the
ASCII portion, but both areas will have the current byte highlighted.
The cursor can be moved between the HEX and ASCII portions of the
display by using the mouse, or my pressing T.


MENUS


All of bView's functions are available through the pull down menus.
bView functions and their usage are as follows:

FILE

OPEN... Opens a file for use with bView. This function
brings up a dialog box and allows you to enter
the name of the file you wish to edit.



Page 5


bView Version 1.00


ABOUT... Program information. Brings up a dialog box
describing the program and current version.

QUIT Exits bView.

SEARCH

SEARCH... Search for a value. This function brings up a dialog
box and allows you to specify what is to be searched
for. The dialog box has the following components:

Search: The string to search for. Either an ASCII
or HEX string will be searched for
depending on the "Search Type" settings.

Search type:
HEX: Choose this radio button to search
for a HEX value.

ASCII: Choose this radio button to search
for an ASCII value.

Case Sensitive: Choose this check box to make the
search case sensitive (ASCII only).

NEXT Continues the last Search operation from the
current cursor position.



Search

Search: _______________________ Search For:
(X) ASCII
( ) Hex

[ ] Case Sensitive

Ok Cancel




Figure 3, Search Dialog Box

POSITION

BEGINNING Positions the cursor at the beginning of the file.

END Positions the cursor at the end of the file.

GOTO Locates the cursor at a specified address.




Page 6


bView Version 1.00


OPTIONS

DISPLAY... Brings up a dialog box that allows setting the
display to several different configurations.

Display Modes:
ASCII Shows only the ASCII display.
Hex Shows only the HEX display.
Both Shows both the HEX and ASCII displays.
Display Addr. Toggles the address display on and off.

Display Hex In:
Bytes Organizes the HEX display into groups of one
byte.
Words Display Hex in groups of two bytes
(i.e. "FB30 6A72").
Double Words Display Hex in groups of four bytes.

Quad. Words Display Hex in groups of eight bytes.

Display Width:
Auto Sets the display width to the optimal
size for the screen.
Manual Manually sets the display width to any
value from 1 to 500.

Display Address In:
Hex All numbers on the main screen are
displayed in hexadecimal.
Decimal All numbers are displayed in decimal.



Display Options

Display Mode: Display Width:
( ) ASCII ( ) Auto
( ) Hex (X) Manual 10h
(X) Both
Display Address In:
[X] Display Addr. (X) Hex
( ) Decimal

Display Hex In:
(X) Bytes Ok
( ) Words
( ) Double Word
( ) Quad. Words Cancel



Figure 4, Display Options Dialog Box





Page 7


bView Version 1.00


MOUSE USAGE


The left button of the mouse is used to change the current cursor
position on the screen. Holding down the left mouse button and
moving the mouse will cause the cursor to move across the display.
The mouse can also be used to control the pull down menus, scroll
bars, selection of fields in a dialog box, and activation of buttons
in a dialog box.


KEYBOARD USAGE

The following chart describes all control keys useable by bView. Any
description of the form "Position/Goto" refers to the menu,
"Position", and the menu item, "Goto".

Key Purpose

Arrow Keys Move the cursor one byte at a time
Home Move to the beginning of the file
End Move to the end of the file
PgUp, PgDn Move one page up or down.
G Position/Goto
N Search/Next
T Toggles the main cursor between the HEX and ASCII
displays.
X File/Quit
Cancel the current operation when in a dialog box.
Select the default button in a dialog box.

F1 File/Open
F3 Search/Search

Field Editing Keys (String and Numeric):

Left Arrow Moves the cursor one character left.
Right Arrow Moves the cursor one character right.
Delete Deletes the character the cursor is currently on.
Backspace Deletes the character to the left of the cursor.
Insert Toggles the input mode between insert and replace.
X Clear current field entry.














Page 8


bView Version 1.00


THE USER INTERFACE


bView comes with a text based user interface, complete with:

* Pull down menus.
* Scroll Bars.
* Dialog boxes.
* Radio buttons.
* Check boxes.
* Push buttons.
* Full mouse support for a Microsoft compatible mouse.

Use of the bView user interface is very similar to other text based
user interfaces, and to some graphical user interfaces. In most cases,
elements of the interface can be accessed through the mouse or the
keyboard. If you have used an interface like this before, the
operation of bView should be very intuitive. If not, the following
is a brief description of how to access some of the display elements.

THE PULL DOWN MENU

The pull down menu is activated by clicking on one of the items with
the left mouse button, or by pressing the key along with the
highlighted letter of the menu item. (For example, selects
the Field menu).

Once the menu is pulled down, an item can be selected using the mouse
or keyboard. To select an item, click on the item with the mouse, or
use the up and down arrow keys and press when the desired
item is highlighted. Another way to do this is by entering the
highlight letter of the item you wish to select ('o', for Open...).
Many of the menu items have hot-keys that will activate the operation
without having to pull down the menu (F1 for File/Open...). The hot
key will be indicated to the right of the command keyword.


File Search Position Options
bView V1.00 - test.dbf
Open... F1 Dec:003 Bin:0000 0011
About... 64 00 00 00 C1 00 22 00 00 00 00 00
Quit ALT-X 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 4E 00 00 00 00
030h: 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
040h: 2E 00 32 00 2E 2E 32 00 00 00 00 43 00 00 00 00
050h: 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
060h: 74 68 72 65 65 2B 2B 2B 2B 2B 00 43 00 00 00 00
070h: 0A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Figure 5, Pull Down Menus






Page 9


bView Version 1.00


DIALOG BOXES

A Dialog Box is the normal mode of communication between you and
bView. Except for the main bView screen and the pull down menus,
all other boxes that pop up on the screen will be dialog boxes. The
purpose of the dialog box is to obtain information before continuing
the program. The dialog box can normally be canceled by the
key, and the selected item(s) executed with the key.

Items, or fields, in a dialog box are placed together into logical
groups. There are several ways to navigate in a dialog box. The
first is with the mouse: by clicking on an item. The second is the
keyboard: the up and down arrow keys can be used to move between
items in a group, or the and keys can be used to
move between groups of items. (In Figure 3, the field Search is in a
group; ASCII, Hex and Case sensitive are in another group; and Ok and
Cancel are in the last group.)


Search

Search: _______________________ Search For:
(X) ASCII <---|
^ ( ) Hex |
| |
| [ ] Case Sensitive <---|
| |
| Ok Cancel |
| |
||
| |
Field Group Field Group


Figure 6, Dialog Box Item Grouping


DIALOG BOX ELEMENTS

There are a several different types of fields that are used for
data entry. Each field looks and functions differently.

STRING FIELDS
A string (or text field) is used to enter alpha-numeric
data. It is usually preceded by a prompt, followed by a
series of inversed spaces. The spaces comprise the area
in which the text is to be entered, as well as showing
how long the field is. The normal text editing keys work
in this field, and the mouse can also be used to position
the cursor in the field (see KEY USAGE for more
information on keyboard controls).





Page 10


bView Version 1.00


NUMERIC DATA FIELDS
These fields look identical to and act the same as String
fields, but allow only the entry of numbers (hex and
decimal). When entering a value into a numeric data field
(the Position/GoTo input field for example), the number
can be entered as either a hexadecimal or decimal value.
To indicate that the value you are entering is
hexadecimal, preceded the number with a "0x" (the C
language convention), or post fix it with "h" (the
assembly language convention). For example, "0x100",
"ffh", "123H", "0x23F", would all be interpreted as
hexadecimal numbers. When bEdit displays hexadecimal
numbers, it always displays them using the assembly
language convention (For example: "1FFh").


RADIO BUTTONS
Radio buttons are used to make a choice. They can be
toggled with the mouse, or the key. All choices
in the set will be grouped together. Radio buttons are
made up of two parenthesis, with an "X" inside of them
when they are selected; "(X)", and a blank when they are
not selected; "( )".

CHECK BOXES
Check boxes are used to answer a yes or no question, or
to toggle a feature on or off. They can be toggled with
the mouse, or the key. Check boxes are a set of
square brackets with an 'X' in the middle when they are
selected: "[X]" indicates selected, "[ ]" indicates not
selected.


PUSH BUTTONS
Push buttons are used to initiate action. They can be
activate by the mouse; the key, when the cursor
is positioned on them; or by hitting the highlighted
letter in the button title (the default color for this
letter is yellow on green). In addition, one button will
normally be the default button which is highlighted with
a different color to make it obvious (the default is
light blue on green), and will be activated when the
key is pressed, even if the cursor is not
positioned on that button.












Page 11


bView Version 1.00



Display Options

Display Mode: Display Width:
( ) ASCII ( ) Auto
( ) Hex (X) Manual 10h <---- Numeric Data
(X) Both Field
Display Address In:
-->[X] Display Addr. (X) Hex <---------- Radio Buttons
| ( ) Decimal
|
|Display Hex In:
| (X) Bytes Ok <---------- Push Buttons
| ( ) Words |
| ( ) Double Word |
| ( ) Quad. Words Cancel <----------
|
|
|
Check Box

Figure 7, Dialog Box Elements


THE SCROLL BAR

The scroll bar has several elements:

The up and down arrows. These arrows move the display up or down
one line. They can be activated by clicking on them with the
mouse.

The scroll button. This button will allow rapid traversal of the
file. It is used by clicking on it and then holding down the
mouse button. Moving the mouse up and down will then move the
scroll button and display. When you are done, simply release the
mouse button.

The scroll field. By clicking on the scroll bar above or below
the scroll button, the display will be scrolled one page up or
down.















Page 12


bView Version 1.00




Size: E0Ah
.\..d....."..... ^ <-- Up Arrow
................
one........N.... <-- Scroll Button
................
two...2....C....
................
three+++++.C....
................
f4.........C....
................
f5.........C....
................
. 1<->+00
0000000**+000999
999 2<->+
000000101**+0009
99067 3<-
>+000000202**+00
0998135 4
<->+000000303**+
000997203 v <-- Down Arrow



Figure 8, The Scroll Bar




























Page 13


bView Version 1.00


ORDERING INFORMATION


The following is the current price list for bView and bEdit
Version 1.00:


bView Registration .............................$15.00
bEdit ..........................................$25.00


Your support is essential to the success of this product. If you find
bView useful, please register it or purchase the commercial
read/write version, bEdit. Print out the file "order.doc", fill it in
and mail it today!


TECHNICAL SUPPORT
(FOR REGISTERED USERS ONLY)


Technical support will be provided for registered users of bView, and
owners of bEdit. Phone support will be available Monday thru Friday,
from 10 am to 12 noon, and from 2 pm to 4 pm (Mountain standard time,
allowing for the fact that Arizona does not participate in daylight
savings time). The technical support number is (602)525-3140.

Technical support will also be provided through the mail. Questions
may be sent via the US mail, or to any of the following computer
mailing addresses:

Gridpoint BBS -
(602)525-3143, User ID: "magi" or "root".
Internet -
[email protected]

Before calling for technical support please try to repeat your
problem, and record how the problem is generated, keystroke by
keystroke. If you call for technical support please be at your
computer, and when calling or writing for technical support, please
have the following information available.

* Your system information (Computer type, DOS version, etc.).
* The version of bView you are running.
* A complete description of the problem and how it is generated.


UPDATE POLICY


Updates to bView will be made to registered users at a nominal fee.
All registered users will be informed of all updates.




Page 14


bView Version 1.00


























































Page 15


bView Version 1.00


THE FUTURE


bView and bEdit are by no means "frozen" products. It is our
intention to expand it's capabilities more and more towards the model
of an "editor" for binary files. In the future we want to add: cut,
paste, insert, delete, multiple file editing, printing, and other
functions to make bEdit and bView more useful.

To do this, we need your support. If you find bView useful please
register it and contribute to the future releases.

If you have any ideas, comments, or criticisms about bView we would
love to hear them, so please drop us a line. We want to make bView
as powerful as we possibly can. The new version of bView is being
written right now, so if there is a feature you'd love to see, let us
know right away.


DISCLAIMER OF WARRANTY


THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES AS TO
PERFORMANCE OF MERCHANTABILITY OR ANY OTHER WARRANTIES WHETHER
EXPRESSED OR IMPLIED. BECAUSE OF THE VARIOUS HARDWARE AND SOFTWARE
ENVIRONMENTS INTO WHICH THIS PROGRAM MAY BE PUT, NO WARRANTY OF
FITNESS FOR A PARTICULAR PURPOSE IS OFFERED. GOOD DATA PROCESSING
PROCEDURE DICTATES THAT ANY PROGRAM BE THOROUGHLY TESTED WITH
NON-CRITICAL DATA BEFORE RELYING ON IT. THE USER MUST ASSUME THE
ENTIRE RISK OF USING THE PROGRAM.


























Page 16



 December 7, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)