Micro #06
31 июля 1998
  TR-DOS  

Adapting programs to TR-DOS

<b>Adapting programs to TR-DOS</b>
  ************************************


  ADAPTATION PROGRAMMES OF SYSTEM TR-DOS.


  ************************************


   Hello to all readers of "MICRO".
With the 6-th number in this edition will
new section. As you may have guessed, we'll discuss the 
adaptation of programs cassettes to CDs.


   Basis for this section was taken
Brochure Rodionova, which was released in
Light Company "Peter". Just this section will contains 
directions newspaper "MICRO", as the team Gloom Demons also

has some experience in adapting programs
discs.



         -*-*- FROM THE AUTHOR -*-*

   This booklet is written for owners of computer Sinclair ZX 
Spectrum with a disk Beta-Disk interface and operating system 
TR-DOS. Hopefully, it will be useful both novice programmers 
and those who already have a negative or a positive experience 
in programming. 

   All the examples given in the brochure
invented along the way, so do not try to look for programs that 
served as models. 

   It remains to express the hope that reading will help in 
your daring and you will become yet another supporter of the 
normal disc versions. 


                            N. Rodionov.



           -*-*- INTRODUCTION -*-*

   Someone asks: "Why fret, moving the program from the tape 
format disk, if the interface is equipped with a Beta-Disk

excellent button Magic Button (magic button, Eng.) allowing the 
adaptation of the program with one finger? It does not matter 
that after such an adaptation has to run the program using the 
GO TO. Not entering into a long debate, simply describe the 
horrors to co-create with the program, this is truly magic 
button. 

   Under external welfare programs
"Adapted" Magic Button can
hiding a lot of nasty things.
Agree, it is unpleasant when the program
begins to fail in the most interesting place,
and you, after several hours of playing, finally,
almost getting to the cherished goal, suddenly
get absolute value!

   And that's what happens. Once your
hand touches the button:

 * In the native stack computer records
large amount of data (stored values ​​of all processor 
registers, etc.), and This is enough to spoil

part of the program;

 * Subroutine serves button unceremoniously spoils a few cells 
of systemic variables BASIC interpreter, the whole

Apparently, the authors of the operating system TRDOS forgotten 
that the commercial game programs often use these cells for

quite other purposes;

 * The most outrageous ocheidnoe -
deteriorate saver programs.


   Programs, which button does not spoil,
quite a bit, you can find them, mostly among the oldest. Among 
the programs in recent years, which is written by

powerful computer programs, where each account
bits, where everything is calibrated so that the mosquito
nose will not undermine - find one that
not spoil the button is quite difficult.

   Think and decide for yourself which is better:
have after some effort good product or a deformity that runs
operator GO TO?


          To be continued ...



            -*-*-*-*-*-*-*-*-*


   In the next issue of "MICRO" will be published chapter 1 
"How to Fight from BASIC. 


  29.07.98 Gloom Demons' Computer Eye.


                Special for "MICRO 6.







Other articles:

Adapting programs to TR-DOS

Jokes

about different - On the game Magic Blocks. About text editors. Opinion: Game with reference to the drive ~ A ~


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:
Tape and Disk - Adapting programs to the system TR-DOS (Part 4).
Assembler for the user - fill the screen "*".

В этот день...   3 May