MAGIC file format
ZXNet echo conference «zxnet.soft»
From Stanislav Yudin → To All 15 November 2006
Hello, All
There was a need to find out the exact format of the MAGIC file for 48K and 128K.
However, I couldn’t find it right away. Can you help?
P.S. So far I only have the following information from Yu. Pomortsev’s book “TR-DOS for
professionals and amateurs", but it is not enough:
┌─- code ───
RECORDING FOR HELP "M A G I C K E Y"
Using the MAGIC button, almost any program can
be written to a floppy disk at any time, and then run
from the same place. It doesn't matter how it was originally loaded - from
magnetic tape or disk drive. Everything is written to the disk
RAM, as well as the contents of processor registers. It is natural that
Disk space is not consumed in the most economical way.
at once, although for many toys with complex loaders or code
blocks longer than 41 KB, using MAGIC is quite op-
right (especially since there are programs for bringing
MAGIC files to normal form).
The MAGIC procedure is based on a non-maskable interrupt,
which basically the ROM is not used due to a bug. In control-
re BETA pressing the MAGIC button switches the ROM to DOS and produces
There is a non-maskable interrupt pulse. Having received the NMI signal, the process
rubbish immediately postpones all other tasks and puts it on the stack
address of the next command (to return) and jumps to the address#0066, and then to the processing subroutine (see ROM addresses).
To save the value of registers (AF, BC, DE, HL, IX, IY,
Sun
From Stanislav Yudin → To All 16 November 2006
Hello spensor
No! I don't need deep information, I just need to know what byte is in the file
what he is responsible for. That's all! That is, sufficient information is needed to
to create a standard MAGIC file from scratch using YOUR OWN means.
Doesn't anyone really have it? At one time I had this information, but where did I get it from?
I took it and I can’t remember.