home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 9
/
FreshFishVol9-CD2.bin
/
bbs
/
util
/
mayflower.lha
/
MayFlower
/
PeekMem
/
PeekMem.doc
< prev
next >
Wrap
Text File
|
1994-06-10
|
7KB
|
153 lines
PeekMem 4.0 (19940228)
by Stephen D. Childers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
******* CAUTION NOTICE *******
Peeking at certain memory locations within your Amiga system --\ /--
can cause very strange things to happen, be prepared to RESET (o) (o)
your system if you are not sure of what you are peeking at. ^
Consult your Amiga manuals. \_____/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Program Description:
1) Program will display hex data contained within a given range of
memory.
2) This version of PeekMem does not disable multitasking when peeking
at a range of memory; this means that the memory range may be
changing while peeking at it. Keep this in mind when looking over
data that looks strange or unexpected during a peeking session.
3) This version of PeekMem does not check the memory size of your
system. It will attempt to peek at the memory range that you
specify whether that memory IS or IS NOT installed.
see "NOTE for A3000 users:" below.
4) Can only be used from CLI. Can be made resident.
5) Program (when run from CLI) will interact with the 'c:Why' command
after program failures; this command may provide a more detailed
explanation of why the program failed.
The 'Why' command should be used immediately after a program
failure to extract the last program's result code, because
that result code is changed upon the execution of the next CLI
command.
6) Certain error reports will contain the name of the argument, file,
device, (etc) that is associated with failure when it occurs.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTE for A3000 users:
If you attempt to access memory that does not physically exist
somewhere in your machine then the program will almost come to a
complete standstill, and printouts of the addresses involved will be
intolerably slow, and system freezes except during printouts, and
Ctrl-C will not work as expected. To force the program to BREAK
(without rebooting) then you must perform the following steps:
1) Press space bar, PeekMem's window must be the active one.
If PeekMem's window is not active then perform the
following substeps:
1.1) Hold down the menu button until mouse can be moved then
continue to hold down the menu button.
1.2) Move mouse into PeekMem's window and then release menu button,
system will freeze again.
1.3) Continueously press the left mouse button until PeekMem's
window becomes active.
1.4) Press space bar.
2) Wait until mouse is freely movable, then activate another CLI
window and type "status", now note PeekMem's process number.
3) Then type:
>Break x C ; x = PeekMem's process number.
4) Activate PeekMem's window and press backspace until PeekMem breaks.
I do not know (as of Feb 1994) why the system responds the way it
does when attempting to access memory that is not actually within the
computer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CLI Usage:
> PeekMem [!|?] [[-options] location range]
! = Show author info
? = Show some help
options: a = Do not show address number
c = Show as hex for C compiler, will set option a
t = Do not show text portion at end of hex data
location = The address location within memory.
The range of input values for location are:
Decimal = 0 to 4294967295
Hex = H0 to Hffffffff
range = The number of bytes to be displayed in hex format.
The range of input values for range are:
Decimal = 1 to 4294967295
Hex = H1 to Hffffffff
Hex values must be preceded with the 'h' character.
_____________________________________________________________________
Try this example:
> Peekmem hf80000 hb0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Version History:
The following information briefly describes changes or improvements
made to each version, and they will be described in descending order;
meaning latest version information begins first:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Version 4.0 (19940228) -
1) Changed version numbering format. Program can now be used with
the "Version" command. Date within parenthesis is shown in a
somewhat international format as (yyyymmdd).
2) Added "NOTE for A3000 users:"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Version 19930731 -
1) Optimized and refined source thereby making program smaller.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Version 19920109 -
1) Removed a CLI parsing problem.
2) Can be made resident.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Version 19910807 - The first version.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \
\ /
/ 24 Then said Jesus unto his disciples, If any man will \
\ come after me, let him deny himself, and take up his cross, /
/ and follow me. \
\ 25 For whosoever will save his life shall lose it: and /
/ whosoever will lose his life for my sake shall find it. \
\ 26 For what is a man profited, if he shall gain the /
/ whole world, and lose his own soul? or what shall a man \
\ give in exchange for his soul? /
/ 27 For the Son of man shall come in the glory of his \
\ Father with his angels; and then he shall reward every man /
/ according to his works. \
\ /
/ The Holy Bible - Matthew 16:24-27 \
\ (King James by the way) /
/ _ _ _ _ _ _ _ _ _ _ \
\___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
End Of Document