Programming - Bootloader for a working floppy disk.

Deja Vu #0A
__________________________________________

(C) Kolesnikov Sergey aka SKL-KEEPER
__________________________________________

      Bootloader for a working floppy disk

   Surely each of you has a working
floppy disk on which the most necessary are recorded
for you programs that you need
carefully (you won’t keep it on different
assembler, commander and working files on disks
ly?). Here I have one too.
   For ease of use, you will most likely
renamed commander to boot, and, if
you need to load the assembler, move the cursor
to the desired file and press ENTER (natural
really)...
   But you can make it so that at startup
disk, if no key is pressed,
the commander will load, and if at the moment
loading, hold down "spacebar",will
assembler is loaded. Very convenient,
believe!
   Here is an elementary simple program for
BASIC, by typing which, work with disk
it will become a little more convenient:

 1 BORDER 0: PAPER 0: INC 7: CLS
 5 IF INKEY$ =" "THEN GO TO 20
 10 PRINT "LOADING ZX-ASM!": RANDOMIZE
USR 15619: REM : RUN "ZASM3.10"
 11 PRINT "ZX-ASM NOT FOUND!!"
 20 PRINT "LOADING COMMANDER!": RANDOMIZE
USR 15619: REM : RUN "RC_1.9f"
 25 PRINT "COMMANDER NOT FOUND!!!"
 30 PAUSE 50: RANDOMIZE USR 15616

   As usual, a brief explanation: in the first place
This line specifies the screen attributes
This checks to see if the spacebar is pressed. EU-
If pressed, the inscription "LOADING ZX- is printed
-ASM!", and the assembler is loaded, if not
what was not pressed is loaded REAL COMMAN-
DER (or another one you like better -
Xia). If there are no such files on the disk, the program
Ramma will report this and exit to TR-DOS.
   You can add a survey by clicking
some other key to load yetanything.
   Well, has it become more convenient?
------------------------------------------

Share your thoughts about the article