Many people think it's good fast-acting program for An 8-bit machine can write only in codes processor. Most often this is the case is being done, but what if the program must be carried out complex calculations, because the process quarrels can only add up and subtract small integers, and access to the tracing program- lator in ROM is associated with such complex preparatory work procedures and various nuances, which can confuse even an experienced programmer In such a situation The compiler can help. Compiled execution speed bathroom program, of course inferior to the speed with which the program written works directly in machine codes , but there are no problems with computing and development features of assembler, because creating a program algorithm for high level language (BASIC) for example) is much simpler. And about that what results can be achieved says what even manybranded programs represent is a compilation from languages high level. We were quite surprised discovering that the game STACK UP by ZEPPELIN GAMES, released in 1991, was written almost completely in BASIC and compiled by primeval compiler MCODER II 1982 release. To make it clear about what we are talking about - this compiler doesn't understand half the commands BASIC (they should be avoided in program) and only works with integers from -32768 to +З2768. True, he accelerates gives a very significant result. Other compiler from CRYSTAL COMPUTING 1983 understands the commands that not available to MCODER but refuses to compile others. Further searches led us to the TOBOS FP program COMPILER and its research showed that this is exactly what we needed![]()
![]()
![]()
![]()
![]()
functions). The compiler understands ALL commands and SPECTRUM-BASIC operators and works with any numbers which are available to BASIC, including exponential pre- setting and floating point. BIORITM program in its entirety written in BASIC builds biorhythm graphs approximately 20-25 seconds, and being compiled - TOBOS does it in 1-2 seconds. Construction of a 3-dimensional vector graphics that occupied about 10 minutes (!), reduced up to 0.5 minutes. The compiler itself takes about 12K and should be in memory - without his compiled code won't work. However, this applies to all mentioned compilers. The main limitation The only difference is the impossibility processing commands to access TR-DOS, as in standard These commands were not in BASIC are provided. The TOBOS compiler is located in memory from address 5Z100. The compiled code is placed starting from the RAMTOP address, which installed with the CLEAR command NN. Launched by TOBOS command RANDOMIZE USR 53100. There are a lot of useful homemade ones programs in BASIC and TOBOS can become powerfultool bringing them to a corporate look. ___ ___(and we need
was accelerated
execution
programs,
building on
screen
3-dimensional graphics
Compilers - Many people think that a good high-speed program on an 8-bit machine can only be written in processor codes...
(and we need
was accelerated
execution
programs,
building on
screen
graphics
Share your thoughts about the article