(C) 1997 Cardinal / PLAYGEAR Co.
Program Description ANTIRST8.
*
Information, which will be discussed further
certainly be of interest to owners of computer Scorpion. All
owners SCORP'a often faced with such a problem that Some
programs block the display of the shadow of RST # 08: DEFB #
85, and thereby Image prevent them from within. But this
was before, but now everything will change! The program that I
offer you wish your problems. I must say that it is in the
appendix of this journal under the name ANTIRST8.B length of
just one sector. Later I'll discuss it in detail, but now
explain how it works. Run the file
ANTIRST8.B from the application log and DEJA VU
look at the screen. A second later will
Perform an initialization TR DOS, and if
border will be black, then everything is fine, but if he turns
blue, then there was one errors: 1) you do not Scorpion. 2) you
have Scorpion, but ROM-scale is very likely
old version .(?...) 3) you have Scorpion, but
before running this programmki you accidentally
(Or spices) Disable port # 1FFD. 4)??
If you all went well, then go ahead and start a program that
blocks Monitor on RST 8. Then, as if by accident
click on the Magic and taschites, monitor more
not blocked! I must say that
ANTIRST8 not save shadow businesses from full
cleaning the eighth page of RAM. Program
ANTIRST8 resident in memory and
not destroyed even the button RESET.
And now I will tell more about how
works ANTIRST8. In simple terms
my program perehvatyvatyvaet Magic or
RST # 08, corrects the variable display
at # C063, (in this variable is 0 if the monitor is not locked
or any other value, if it is blocked) and made a return to the
monitor. That's it listing.
-----------------------------------------
ORG 25000
RESID EQU # C008
DI
LD SP, # 7FFF
LD DE, # 1210
CALL BANKS
; Connect the ROM monitor, and shady mouth; establishes eight
pages of memory ;-----------------
LD HL, PROGA
LD DE, RESID
LD BC, 7
LDIR
; Toss resident in eight pages
; The memory location specified in the label RESID
;-----------------
LD IX, # 0000
LD BC, # 4000
LOOP_1 LD A, # ED
CP (IX +0)
JR NZ, LOOP_2
CP (IX +4)
JR NZ, LOOP_2
LD A, # 73
CP (IX +1)
JR NZ, LOOP_2
CP (IX +5)
JR NZ, LOOP_2
LD A, # 31
CP (IX +8)
JR NZ, LOOP_2
LD A, # 4B
CP (IX +12)
JR Z, INSTALL
LOOP_2 INC IX
DEC BC
LD A, B
OR C
JR NZ, LOOP_1
; This podprogrammka looking into the ROM monitor
; About this piece of code:
; LD (# NNNN), SP
; LD (# MMMM), SP
; LD SP, # YYYY
; LD BC, (# XXXX)
; LD A, C
; OR B
; JR NZ, # LLLL
; CALL .....
, It is necessary to know the address,
, Which is located in cell # XXXX, and
, Which becomes shadow businesses, if not equal, equal to 0.
Incidentally, the address is # LLLL ; About this routine:
; PUSH BC
; DEC BC
; LD A, B
; OR C
; JR NZ, $ -3
; RET
, Hence we see that the stack is placed hell res taken from
cell # XXXX, then closed and ourselves to cycle until the BC is
not zero and you, move to the address on the stack
;----------------- INC A
OUT (# FE), A
JR EXIT
; Error, the piece could not be found
;----------------- INSTALL LD IY, RESID
PUSH IX
POP HL
LD BC, 19
ADD HL, BC
LD (IY + # 05), L
LD (IY + # 06), H
PUSH IY
POP BC
LD L, (IX +13)
LD H, (IX +14)
LD (HL), C
INC HL
LD (HL), B
; Installation of a resident and set hell transition res by
clicking on the Magic to hell republic, where there will be a
resident ;----------------- EXIT LD DE, # 0010
CALL BANKS
LD IY, # 5C3A
LD HL, # 2758
EXX
LD SP, 65000
LD HL, 0
PUSH HL
JP # 3D2F
, Published in TR DOS
;----------------- BANKS LD BC, # 1FFD
OUT (C), D
LD B, # 7F
OUT (C), E
RET
; RAMDRIVE
;----------------- PROGA XOR A
LD (# C063), A
JP 0
, Resident who runs after clicking, Tia on the Magic, instead
of address 0 installer ; Buried a return address in the monitor
;----------------------------------------
Here I am in a nutshell, and explained the principle of
Work ANTIRST8. Only add that you can get the ROM monitor such
applets. ;-----------------
DI
LD A, 2
OUT (# FD), A
LD HL, 0
LD DE, # 8000
LD BC, # 4000
LDIR
XOR A
OUT (# FD), A
EI
RET
, At # 8000 will be ROM model; nitora
;----------------------------------------
If you want more information
by Scorpio, write, ask. As
I will be glad to accept from you any information.
My address: 650056 Kemerovo Lenina
d.117B, kv.37 Latyshev Denis Ivanovich.
Please put a clean envelope.
END ...