Startup Programs
Now let's talk about this possibility,
as auto-loading programs from disk, and downloading programs,
"throw" on the disc as file (s) of the image memory or, as it
is called, the alternative Magic-copy memory.
The latest version of the Shadow Service Monitor download
copies of the memory can not entering the monitor directly from
BASIC-program. Makes a new restart 08bh. Here's a little
program in assembly language:
LD BC, 0
LD A, (# 5CF6)
RST 8
DEFB # 8B
DEFM "namename"
DEFB 0
where instead of "namename" can be any
name corresponding to name the first file dump. For example,
you can download the program from the hard drive, which at
stage boot from the drive to actively use the turbo-loader.
For those who do not know assembler, you can
offer to write a program from the following items:
10 CLEAR 28900
20 LET n $ = "namename"
30 LET a = 29E3
40 LET c = 9: GO SUB 120
50 FOR i = 1 TO LEN (n $)
60 POKE a, CODE n $ (i)
70 LET a = a +1
1980 NEXT i
90 LET c = 3: GO SUB 120
100 RANDOMIZE USR 29E3
110 STOP
120 FOR i = 0 TO c
130 READ d
140 POKE a, d
150 LET a = a +1
160 NEXT i
170 RETURN
180 DATA 217,229,1,0,0,58,246,92,207,139,
0,225,217,201
On line 20, you can specify any file name, the length of the
name can be any but not more than eight characters.
Now on startup. If the submenu
"Disk utility" item "Autostart" is
able to "ON", then for any starting
computer will be automatically run the operating system stored
on the device specified in paragraph "From drive" the same
submenu. Do not forget to record the current state of
nonvolatile memory. For the system
TR-DOS, this means that the program will attempt to "boot.B",
if any, on a diskette or psevdodiskete there. In fact, as it is
pressing the ENTER key in menus 128 BASIC.