(C) StALKER. 1994
(R) KVANtSOFt. 1995
StS Monitor v2.6 (128)
────────────────────────────
(C) 1994. Stalker
StALKER presents:
Stalker Stealth monitor v.2.6-
system monitor-debugger. by
much beyond its capabilities
ascending programs of this type
pa. This monitor is specially designed
worked for computer ZX-
SPECtRUM 128K.a version 48K - for
computers with shadow RAM. When
monitor development took into account
experience working for such well-known
monitors and debuggers. how
MONS4. MON2. FOXMON128. ADM7.08.
therefore, the purpose of the majority
the keys are the same. as in the re-
numerical monitors.
Monitor capabilities:
- convenient windowinterface;
- full-screen mode;
- two modes of the working panel can be
hutopa - Disassemblerand List
allow you to view any
area of memory in the form of codes.
text and assembler commands. in
includingALLundocumented
bathroom commands;
- ability to edit
codes text and registers
Z-80;
- step-by-step debugging and tpaccu-
roving with tracking of re-
hysterR;
- organization of Monitor operation
through the resident. occupying in
48k memory only 19 bytes.
isStS2.6indispensable for
hacker. so for example you can
free to download and debug
any MAGIC file
- The monitor uses only ROM
tR-DOS using @-functions.
spoiling RAM; - allows you to use completely
Highly non-standard firmware
ROM BASIC;
- interface for 128k assemblers
type tASM. ZXASM allows
quickly debug and re-
edit dialed programs
frames;
- used in the monitor
quick procedure for printing sim-
oxen size 6*8 pixels.
which allows you to print 42
character in the line.
Detailed description.
Panel management:
[CS+1] - User Screen
(switching screens)
[CS+3] или [CS+U] - Page Up
[CS+4] или [CS+Y] - Page Down
[SS+1] - Zoom/UnZoom panel
(управление размером панели)
[SS+2] - Up/Down panel
(перемещение панели)
[SS+3] - Dec/Нех Base
(десятичные/шестнадцатиричные
числа)
[SS+4] - Disassmebler/List Panel
(вид панели -disassembler or
dump)
[CS+SPACE] - Escape - if you
entered something incorrectly -
click Escape
[M] - set Memory addres - set-
new address. from which
text will be displayed.
[B] - set Bank (Slot/RAM-pages and
etc.) - value for the port
#7FFD - 5. 6. 7th bits = 0.
(disguised). 3rd = 1 (us-
The 1st screen is displayed).
See also system section.
Monitor functions:
[E] - sEtup - setting the address
resident.
See also system partition;
Setting the key sound.color
panels and cursor edited
nia(attribute byte). exit from
windows - [SPACE] or [CS+SPACE].
[I] - fIll block - fill
memory area by code block
1..8 bytes long. symbol "▒"
used to determine
end of the block. moves with
by entering new characters and
DELEtE ([CS+0]).
[O] - cOpy block - copying
memory block.
The resident is not restored!
[F] - Find bytes/text - search
block of bytes or text by
'AND'-mask: bytes from memory
are camouflaged. i.e. bits with mask
1 remain. with mask 0 off-
are measured and compared with the values
It is in "bytes". If the sequence
ity was not found in all
bChKB of memory with the current Bank. then
BORDER will be red.
[N] - find Next - continuation
search from the cursor position.
If the panel is in "List" mode. then
the search will be carried out accurately
to the cursor position. In mode
"Disassembler" search only in
at the very top of the panel due to
personal length of Z-80 commands.
[Q] -Quit - output:
- in tASM128
The stack is restored.
is set to Bank = #14.
and JP #C000 is done
- in BASIC (or ZXASM)
The stack is restored.
HL'.IY
is set to Bank = #10
and REt is done;
- Restart tR-DOS
is set to Bank = #10.
and JP 0 in tR-DOS ROM.
Working with disk.
[L] - Load file.[S] - Savefile.
After entering the file name Monitor
reads the tR-DOS disk directory.
determines the presence of the file and you-
gives in the lines Start and Len in-
formation from the catalog.
[SS+L]-Load sectors.
[SS+S]-Save sectors.
StSMon reads (writes) 1..255
sectors tR-DOS to any area
memory. to any page of RAM
(except 7).
This does not change any
tR-DOS system variables and
no memory cells at all
except for Resident and page 7
RAM. Therefore, it’s difficult to debug the program
ram. using system
variables (for example #5CFЧ in
monoloaders) they are necessary because
change manually. Find out current
track/Sector can be pressed [SS+L]
[ENtER] (analogue of variables
#5CFЧ-#SCFS).
StSMon can also read
(write) 1 MS-DOS sector.
iS-DOS. and other systems. ko-
for which the sector length is not equal
256 bytes per memory area up to
#C000.
Limitation to only one sector
rum is related to that. that Monitor
uses tR-DOS ROM @ functions
to access the disk.
For the same reason. if you use
you are using disks with faulty ones
sectors. while reading (for-
pisi) The monitor may freeze.
The resident is being restored.
it can be overwritten. for example
load @-files in all 48k.
Debugging commands.
[SS+Z] - Step command - step by step-
execution of Z-80 commands;
[SS+t] - Skip command - "res-
cook" commands (only in RAM).
uses the command [W];
[W] - BreakPoint - installation
breakpoints. Debug it
The selected program returns to
via Resident to Monitor. three
breakpoint byte after
returns are restored. Not
uses Stack. At the same time
you can only use one
dot!
[SS+K] - Jump then PC - launch
programs to be executed from the address
sa in the RS register. line with this
the address is highlighted in white
PC cursor. On startupremains
Monitor screen.
[X] - Alt.register - switch-
removing the Z-80 registers.
Windows:
[t] - trace - tracing in
step mode with indication and
without indication (for acceleration).
the command [SS+Z] is emulated.
[J] - Jump then address - launch
programs to be executed with pro-
arbitrary address. On startup
User screen is installed.
Return to monitor - bypoint
stop.
When debugging, it is necessary to
die. so that the program being debugged
the frame did not spoil the Resident.
Error indication.
Due to limited volume
memory. in StS Monitor are erroneous
situations are indicated by changes
colors BORDERa:
red - the sequence is not
found in 64k memory
(Find command)
blue - no disk space.
yellow - sector number is greater
15 (warning).
System information.
StSMon is located at the address
sa 56064(#DB00) on page 7
RAM. takes approximately 9k and uses
uses all 16k of this page.
including the second screen. B
the rest of the memory is used
only 19(!) bytes for the resident.
Resident - 19 bytes. placing
in the area #4000..#BFEE. is-
uses a monitor to read
i/write any memory page
(Bank). The resident is dynamically
changes (not always. see note-
commands).
To switch the config port
walkie-talkies with standard address
#7FFD=32765 command used
OUt (#FD).A and the register
A<#20. i.e. in bit representation
In practice, the port address looks like:
bit : FEDCBA9876543210
value: 000rspag11111101
where pag is the RAM page number.
s - numberscreen.
r - ROM number.
In this case, the monitor can operate
on on computers. where is determined
This port is switched to 0
in bits F and 1. as on the proprietary one
SPECtRUM 128k (assembly options:
Pentagon128.PROFI.correctly positioned
wide Leningrad 1/2. Kharkov.
Krasnodar....) If in decipher-
re port is determined
1 in bits E..8. then you will have
change the scheme. or not use
call StSMon 1st and 2nd versions.
Perhaps in the 3rd version this is conditional
This will be eliminated.
3anyck from BASIC:
OUt 253.23:RANDOMIZE USR 56064
Information about the author:
StSMon2.6written
Dmitry Partsyrin
(StALKER)
Kharkov 1994
phone: (0572) 45-25-69.
Share your thoughts about the article