TR DOS
ZXNet echo conference «code.zx»
From 812/03.00 → To Trusov Ilya 22 November 1997
Hi Ilya!
TI> People, if anyone knows how to intercept in the subject
TI> process (and output) messages :
TI> disk error trk nn sec nn
TI> Retry/Abort/Ignore
TI> pls, let me know, besides these bells and whistles mine
TI> it would be interesting to know: how to intercept-
TI> tit (override to your control
TI> procedure) such interesting things as RESET
TI> and MAGIC on Scorp...
get ready for difficulties :)
interception must be done in 2 places (for
complete bummer tr dosa). the essence is this,
in variables 23803 and 23804 there is a byte
which matters (I don’t remember, but it seems
0) and if an error occurred accordingly
he is not there 0. second tr-dos to print
Byaku on the screen is used by Basik through
special address tr dos puts the address of the required procedure
on the stack, then the address where to return
and jump to the special address where it is located
ret, but since this special address is in
ram (and there tr-dos rom is cut off) then
the program turns to bass, and then safely
returns to tr-dos. here's the place
This is a ret and we need to intercept,
then process the addresses and send
necessary (procedures cls, print, etc.)
I can’t tell you the details :( book
I lost it, but I always installed turbo loadershemorrhoids are an order of magnitude smaller with them.
▌▌║▌█▐│▌▌▐▐ WiTh The BeST wIsheS fROM
▌▌║▌█▐│▌▌▐▐ *C*R*E*A*T*O*R*
▌812/03.00▐
-+- zxasm+ plus