ZX Time #04
17 ноября 2001

Discussion - "Multitask. ... The realities and myths"

<b>Discussion</b> -
Discussion. Multitask. Realities and myths ...


                                KilleRam


                 - - -


  Editor's Note: I know what an uproar would cause the 
following material. However, we thus observe a

principles of our newspaper - I mean, consider and publish any, 
even the totally polar, and sometimes conflicting somewhere in 
some way incorrect, opinions ... To maintain a balance ... AND 
it does not mean that I or anyone else others to agree with the 
author of the material ... 


                 - - -


  Fuck, I'm sitting right now for his glyukavoy
Claudia and has been in some time trying to write an article 
about multitasking in response Articles DWT.



  Female, some e! # $ $ D virus zahaval
my floppy disk, paper and source code (well,
I pulled them RDM'om, and then
ALASM'ovsky (ALASM Rulezz forever)
find'er not really looking for them).


  So multi-tasking. Many people think
that this device can not be implemented on SPECCY due to the 
fact that its resources and the rate percent is not enough 
developed. Females, n e !@#$!$ to your PyTsy and Dr.#$%' e 
multitasking LINUX'A. 


  In short, enough mats to bend, to the point. I want to say 
that the algorithm is multi-tasking fully implemented on 
ALASM'e, but not optimized. However, it shows a fairly high 
rate of speed of execution of prog, suspended on the it (3 
tasks). The coefficient Brakes on average somewhere

1.1-1.17, but I know how to reduce it.


  All right, proceed to the description algorima
multitasking. Its essence is in
"Vlazhivanii" interrupt each other.
Something like this:


  1. Being implemented on the main bend
EI (with this problem, but about them later);


  2. Came to interrupt - we climb to the prog
processing; she retains full situation before the interrupt 
vector changes - and to another task.



  3. Fulfill the second task.


  4. Come and break all the same
Step 2. So until the last task after
which - on the main processor, and from
it into the main prog.


  Restrictions on the use of this algorithm is as follows:


  1. Memory is not below 512K (where else
keep the problem);


  2. Stable bus, and it will turn out
vector table that will hold
more than a problem.


  3. Style of programming will also be
special. In particular, the program must be
performed from any address;


  And here's what I want to realize - as
it is the Task Manager, which will be
distribute tasks by priority
(Very cleverly: the length and time of execution of the INT), 
split into blocks of memory (Likely to 2KB) and follow the 
boundaries of tasks and the process of information exchange 
between tasks, and much more to the smallest detail. Most 
likely it was he would be a major challenge. That's all that I 
I want to say about multi-tasking and its relizatsii on SPECCY 
... 


                 *





Other articles:

From the Editor - the fourth issue of the paper, the authors of the issue.

Mail - a letter reading rooms: Nuts, DJ Hooligan, Igor Butyrlev.

Coder - "The Saga of the curb is going on!" (Programming effects on the curb).

zhelezyaki - the usual scheme of expanding graphs to Spectrum mode hardware multikolora 1bayt = 1tsvet.

News and age - Adventurer in 1913, Deja Vu # 0B, ZX Chart # 3, "Black Crow 7" on the approach, the project "Guess the melody" moves, Power of Sound vs X Team war continues between these groups, a new Spectrum emulator, etc.

Review novya - Don News 15, Lamergy 1, ZX Rulem, New Puzzle, Trouble v0.2, ASM to PT, Real Audio Player, Mini Games Collection.

Discussion - "LZB on the demoscene and of all ..."

Discussion - "multitasking OS and on the Spectrum.

Discussion - "Multitask. ... The realities and myths"

Opinion - "On the Speccy-press": Body, Target, Optron, IzhNews, Scream, Za Rulem, Don News, ZX Pilot, KrNews.

PC and Spectrum - an overview of internet resources on the Spectrum.

PC and Spectrum - a review and rating Emulators ZX Spectrum.

about everything about everything - "In Search of Nessie."

and laughter, and a sin - anecdotes.

Advertising - advertising and announcements.


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

Similar articles:
BBS - list of stations BBS ZXNet.
Archive - On programs for existing PC "ZX-SPECTRUM": AMAUROTE, ATIC ATAC, ALIEN HIGHWAY, ACE 2088, RESCATE ATLANTIDA part 1 & 2.
Interview - Opening the Spectrum: Dmitry Lomov / LD, Vitaly Vidmirov / Dark, Arzoumanian, Felix / Felix, Andrei Litvinov / LAV, Ivan Makarchenko / Ivan Mak.

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