home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 10: Diskmags
/
nf_archive_10.iso
/
MAGS
/
STFORMAT
/
STF11.MSA
/
MMM_MMM.DOC
< prev
next >
Wrap
Text File
|
1990-04-18
|
9KB
|
179 lines
Miki Mouse Monitor (MMM)
Written and performed by:
Don Maple
Postfach 5603
4000 Dusseldorf 1
B. R. Deutschland
1.2 'Screen only' editing keys
Undo - home
Insert - inserts a space at current cursor
position and pushes everything on the
line right, when last non-blank
character reaches right edge it stops
ClrHome - Clear/Home
(cursor up) - moves cursor up with wraparound
(cursor down) - moves cursor down with wraparound
(cursor left) - moves cursor left with wraparound
(cursor right) - moves cursor right with wraparound
Tab - this key has been reprogrammed to act
as EOL (erase to End Of Line)
2. Shake before use...
----------------------
All parameters are in hexadecimal.
Breakpoints are set using TRAP 0. This enables for testing of time
critical routines. However there are two exceptions. One when
multiple itiration breakpoints are specified (B 0 1000 13). This
is accomplished using single step which will corrupt timing. The
other case is when testing routines in ROM. Breakpoints can not be
set on ROM routines. This is not that important because by the
time the program is set to ROMs it has been thoroughly tested. (Right?)
Besides the ROMs can be copied to RAM using 'C' command and then
tested there.
Upper/lower case is ignored outside single quotes ('). A routine
translates everything on line up until a quote is encountered to
upper case. Only then the command processor starts evaluation.
The instruction set has been extended to include ILLEGAL ($4AFC)
instruction as well as LINE-A and LINE-F traps.
[Esc] has been reprogrammed to act as a break key to interrupt
long listings after M, K or D commands. It can also be used to
stop a long H command.
The space bar acts as a 'pause' toggle when using M, K, D, H or $
commands. Pressing the space bar again will 'unfreeze' or continue
the listing.
When redirecting input or output (i and o commands) following are
the valid device numbers:
0 - centronics
1 - RS-232
2 - Keyboard and screen
3 - MIDI
4 - Keyboard port
Alternatively, a file name can be supplied instead of a device
number to redirect input/output from/to disk.
If output is redirected to a file it will remain active until
any other output redirection occurs when the file will be closed.
If input is redirected from a file it will remain active until the
end of file, when the file will be closed automatically. This file
can contain commands separated by a CR. The MMM will, however
handle lines ending in CR and LF as well, which is the more common
form used by assorted editors.
3. Yes friends, there is Father Xmas...
---------------------------------------
Help - Displays list of commands
if pressed after a command it gives
its syntax
x - exits back to desktop
m <ffffff> <tttttt> - displays memory from f to t
m <ffffff> - displays $100 (256) bytes from f
m - displays $100 (256) bytes from current
value of f
[Return] - if immediatelly following an 'm'
command same as previous
i <d> - redirect input from device d
i filename - redirect input from file 'filename'
o <d> - redirect output to device d
o filename - redirect output to file 'filename'
f <ffffff> <tttttt> hhhh - fill memory range from f to t with hex
word h
f <ffffff> <tttttt> 'aa - fill memory range from f to t with 2
ascii bytes a
h <ffffff> <tttttt> hh.. - hunt in memory range f to t for hex
string h, which can be up to 16 bytes
h <ffffff> <tttttt> 'aa.'- hunt in memory range f to t for ascii
string a, which can be up to 32 bytes
c <ffffff> <tttttt> <aaaaaa>
- copy memory from f to t after a
if a < f copy starts from f (up)
if a > f copy starts from t (down)
g <tttttt> - update registers and then execute
routine from t monitoring for breakpoints
g - same as above only execute from the
saved value of PC
[Return] - after either of above and after reaching
a breakpoint, continue
j <tttttt> - JMP to a routine
= $hhhhhhhh - convert hex to bin and dec
max size 1 longword
= %bbbbbbbbbbbbbbbb... - convert from bin to hex and dec
max size 32 bits
= ddddd... - convert from dec to hex and dec
max size 2^31-1
:0012 3456 12 34 56 78..- memory update in hex after 'm',
cursor up and overtype
.00123456 'AaBb~~cc...' - memory update in ascii after 'k',
cursor up and overtype
Tilda (~) used for unprintables,
and will be ignored as input
k <ffffff> <tttttt> - displays memory from f to t in ascii
k <ffffff> - displays $400 (1024) bytes from f
k - displays $400 (1024) bytes from current
value of f
[Return] - if immediatelly following a 'k'
command same as previous
? - displays all registers as follows
0 1 2
,D 00000000 00000000 00000000... -data registers
,A 00000000 00000000 00000000... -address registers
,PC 00000000 Status=0300 (T=0 S=0 X=0 N=0 Z=0 V=0 C=0 INT=3) SSP 00...
,d 00000000 00000000... - register update after '?',
cursor up and overtype
d ffffff tttttt - disassemble from f to t
d ffffff - disassemble next 20 instructions
from f
d - disassemble next 20 instructions
from current value of f
[Return] - if immediatelly following a 'd'
command same as previous
! # "text......" - assign a string to an F key,
where # is key number 1-9,
maximum string length is 32 characters
! # "" - delete an F key
l filename - load file resolving references and
display base page address
l filename ffffff - load file as is at address f
(for data files, pictures etc)
s filename ffffff tttttt - save file in memory from f to t as is
Subdirectories and drives can be supplied as a part of <filename>.
Ex. l a:\dir1.sub\myfile.prg ...
* - display current base page address
(0 means no relocatable files loaded yet)
t ffffff - start TRACE (Single step) from f
t - TRACE from current PC value (continue)
[Return] - after either of the above same as >t<
b <#> bbbbbb - set specific breakpoint (0-f)
b <#> - delete breakpoint
b - display all breakpoints
a ffffff - start assembly
< - save function keys to default file MMM.KEY
< filename - save function keys to <filename>
> - load function keys from default file MMM.KEY
> filename - load function keys from <filename>
e - get (display) current
edit sector buffer address
e ffffff - set new edit sector buffer address
r tt ss ii - read track <t>, sector <s> and side <i>
into edit sector buffer
r - read current sector into buffer
w tt ss ii - write track <t>, sector <s> and side <i>
from edit sector buffer
w - write current sector from buffer
$ - display current path directory
showing the path itself
$ \dir.sub\*.* - set new path, default drive and display directory