ZX Ferrum #01
07 февраля 2004 |
|
Iron - Iron multicolor scheme - Hardware Multicolor.
Demon / DPC (c) 2003 WARNING! The article was written using material from newspaper X-RAY and my personal experience! Hardware Multicolor Oh, these stripes;) Now, I'll tell you how I did this shtukentsiyu. For those who are in the tank (no offense;)), explains: Hardware Multicolor - Hardware implementation of multicolor (no, not one that the Border) or speaking in a normal (heh, heh ->) language, graphics mode 192x256 pix 16 colors in 1x8 pix, shorter than the byte pixel bytes attributes razbitovka attribute (wrapped in;)) is the same as in standard screen. The location of pixels with the address # 4000 both in standard screen attributes # 6000 addressing the same, ie: # 6000; the first line, it correspond to the pixels on the # 4000 # 6100 and the second # 6200 ... For example: LD HL, # 4000, 8-O LD B, 7, seven lines PP LD (HL), # FF; line SET 5, H; set the fifth bit # 40 + # 20 = # 60 ; Very convenient and fast LD (HL), B; stavin attribute RES 5, H; vertaem address pixels INC H DJNZ LP RET We get seven lines in the upper left corner of the screen painted different colors! Gap between regions is formed in two kilobytes to as just get the system variables and buffer mp-dos. By the way all of the above applies to the second screen, there are attributes, respectively, from the address # E000, using its save over 12 kilobytes. Despite the fact that the volume of the screen has almost doubled process it is quite possible. Many will say: "Why should it to us!". And that's why the scheme is simple to the disgrace, and provides an action possibilities more than the standard screen. Of course this does not solve all problems, but toys will be more colorful (and, moreover, in this mode UnrealSpectrum'e is, ay, sirs emulyatorschiki!). There is a demonstration toys (Heroes - is given in the appendix), which shows the possibility of this regime (krasochno!), and so it is not supported so far (ay, Gentlemen coders!) or in toys or in a graph utility (apparently due to lack of utilities, no toys). Okay, it's all words, it's time to move on to the case. The scheme presented in X-RAY # (2 or 3, can not remember) for the Pentagon: vyv.8/D15 (D28)> +5 V>> vyv.1/D14 (D32) vyv.9/D15 (D28)> * (pre-tear) total ()> *> A (Pre-tear) > Vyv.11/D17 (D34) (Pre-tear) (In parentheses the numbering scheme for the company "Cervus Elaphus") Scheme 1 Very simple! Legend: -> Join, cutting off the old signal A signal - it's the scheme: B18 D8 B13 D51 1 C29 o 1o Scheme 2 C29 signal suitable for mikruhe D8, for Solonovskogo Pentagon this leg 3, and for the usual 6. This signal is responsible for the selection of address bytes Graphics / byte attribute is selected at logic 0 bytes of graphics (addressing the nonlinear scheme), ie, when applied to his log. 0 is a constant, and graphics and attributes will be selected by the same scheme. Incidentally, I have to work, only if done a different way: vyv.8/D15> +5 V>> vyv.1/D14 vyv.10/D51 * (pre-tear) vyv.8/D12> vyv.5/D17 common> (pre-tear) > Vyv.11/D17 (Pre-tear) Scheme 3 Theoretically, the scheme 1 and 3 are the same, but I have to practice, attributes are read not to address # 6000. For those wishing to put a multiplexer and can include a mode of Port # EFF7 bit 0. Now the scheme for multicolor PROFI (given unchanged and I did not tested): Refinement of the computer "PROFI" for PCB version 3.X vyv.9/U26> * total ()> *> vyv.10/U41 (pre-tear) > Vyv.1/U33 (pre-tear) > Vyv.11/U15 (pre-tear) Scheme 4 Note: The numbering of the chip is given for the lower fees, according to the scheme firm "KRAMIS" (now "Condor") for version 3.2 Refinement of the computer "PROFI PLUS" for versions 5.X boards vyv.5/DD14> * total ()> *> vyv.13/DD26 (pre-tear) vyv.11/DD10> vyv.5/DD33 (pre-tear) > Vyv.6/DD59 (pre-tear) Scheme 5 Note: The numbering of the chip is given for the lower fees, according to the scheme Company Condor "for version 5.0
Other articles:
Entry - fun to watch sometimes for users of PCs ... |
Wheel - a letter: Chuunin Roman Kalina, Vyacheslav, Trident, KYV. |
Iron - Iron multicolor scheme - Hardware Multicolor. |
Project - ZX PAD ("Russian handheld"). |
Authors - Addresses the publisher. |
Similar articles:
В этот день... 21 November