OS - A few words about the OS for the Spectrum.

ZX Time #12
Несколько слов об ОС ---------------------- Demon/DPC И вновь возвращаюсь к теме ОС, подня- той в ZXT#11... Bce конечно хорошо IDE, CD-ROM, и прочие радости. Но при установке новой операционной системы на Спектрум возник- нет проблема наполнения ee программным обеспечением. Естественно, никто и не подумает вдруг перелетать на голую ось и тем более писать софт под нее. Решением данной проблемы мне видится эмуляцияTRDOS disk in upper memory, but for this will require at least 1 megabyte, or 512kb with restrictions. Data from the zom made in KAKH produced by our unforgettableNEMO. The idea, as I believe, excellent. Email the disk has already been implemented in pro- versions of trdos versions 5.12, 5.13F, 5.1ЗFm, maybe in some others. But not this the main thing. It will look like this: load- press the OS, copy the special. TRD utility or SCL file by email. disk and start from it. Cheap and cheerful. You just need to pre- view the electrical connection. disk for any battle drive (A,B,C,D - for trdos, for OS there may be a different designation), since hang it only on some specific ny drive is impractical: let's put it on And - let's cut off the real drive,on the other goy - we'll lose the ability to load the program frames rigidly tied to drive A. So interception should also be carried out by VG ports, this is all really feasible, corresponding flashing of the ROM. I hear dissatisfied cries: "...Y I have no prog- rammator", etc. It doesn't take long to assemble (I’ll send the diagram to anyone who needs it), or you can find where to write it down - these are all the little things, so Moreover, if you install a new OS, then in any way I need to flash it into the ROM of the 128th Basik, no one uses it anyway. Now we need to focus on the following question. Is it worth flashing the OS instead 128 Basika? The answer is definitely positive ny. OS won't take up space at the bottom memory that when bChkb available memory very convenient. And then the system collapses impossible. Of course, you don’t need everything hard to flash into ROM - only the console, main drivers and calling table standard routines. At the same time, it is necessary so that you can replace the standard drivers for newer ones, etc. For example, we have flashed the driver for the upper her memory under the 128th Spectrum. And here we are take and expand the memory to1mb! Entries- go to autoexec.bat (or whatever it is calling it children, it doesn’t change the essence of the matter) memory driver installation command 1mb - and you're done. And one more plus axis in ROM. A lot already it was said about the implementation of multitasking - ness, at least pseudo. About real a lot it’s not worth mentioning that there’s a problem, because: firstly, although the Speckrum is a strong machine, but real multitasking for real (sorry for the tautology) the tasks are not enough no. There are experiments that carry out displacement understanding multitasking, but the system itself theme controlling processes devours main computer time and, in fact, speaking, the processes themselves do not have enough resources cypcob. Okay, I digress. In favor of ROM go- It also says the following. Y I have a nara- bots performing pseudo-multitasking - ness. The system is located in #47 page memory port #7FFD and is called by MAGIC. Everything works great (who wants to test it - I can send it to The computer requirements are: trdos versions 5.12, 5.13 and 512 or more kilobytes per mint), but there is one glitch (well caught in ZX-Amp'e, when music is playing without a player era), the program is destroyed, due to the fact that returning to the program comes from the system from the zero page - this memory. ROM allows you to determine the desired page and log out system without crashing the program. There are also developments in the field OS. The code is being studied NeOS, I decided desire to continue the project NeOS v2.0 even without source codes, author's document found - tion on NeOS, I will say that it is very, very not a bad idea, and it’s already real working. Only there are no drivers for msdos, isdos, hdd, cdrom, but that's a question time. If someone hassomething about NeOS - send. If anyone needs available information on NeOS, then please contact to me. High-quality sub- maintaining the project on the Internet. That's it for now everything. To be continued... P.S. My e-mail: demon_zx@fromru.som - - - Comments on Demon's article: ----------------------------- Denis Tokarczuk First, I want to express my great thanks to Dima for his article. Vo- Secondly, I want to note that set out in its concepts largely repeat the end- OS option we are working on (Kille- din and I). However, there are some places in material from Dima, with whom you can nocno- rit. For example, regarding TR-DOS. It is allows you to practically emulate the work TR-DOS commands.Why? After all, TR-DOS no matter what - we're flashing the OS onto place Basic128. Therefore, I suggest do so. Before startingtr-dos-pro- grams, the system "throws" all its variables in the upper memory pages, produces passivization of active and phono- output tasks (all their variables and themselves are dachas are also located in the upper countries memory in the current state), pre- warns the user thatTR- A DOS programmay corrupt data in top pages of memory and, setting all variables and data BASIC48, "gives control for him" (one might say, form- runs in BASIC'e a kind of boot). A when work with TR-DOS program is completed Shena, the user presses the usual RESET. Control is again transferred to the OS, which in turn checks the condition of the upper memory pages and "restores" everything processes. In my opinion, this is the optimal way out of the situation. If you act on the proposal Demon's - emulation will only call hecobme- ctumoctb. Now about multitasking. I agree with the fact that preemptive multitasking (hereinafter referred to as VM) is an impossible dream. Ky- Yes, it’s easier to organize a cooperative multi- state task (hereinafter CM), which allows lit "switch" from process to pro- cess. However, there are interruptions in which you can post quick by the speed of the procedure. And this maybe to some extent even komnehcu- to indicate the absence of VM. I have repeatedly thought about the reality sion"clipboard" (clipboard, ka- rmana), allowing you to transfer the same type transferred data from one program to another. This will require a pretty decent a piece of memory (actually a buffer). Yes There are many ways to get around this “corner”. On- example, in case of buffer shortage, leaving place a “bookmark” pointer in one of the pages belt OS, and when this data (let it won't sound on Windows :)) they will "inserted" into another application, not using cunning manipulations to transfer these data data "in portions" through the buffer itself. A Let the buffer size be determined by setup' om(that is, user settings). - - -

Share your thoughts about the article