Optron #14
03 июля 1998 |
|
Iron - Graphic Modes.
< Modes Two of them: MULTICOLOR and HIRES graphics mode. MULTICOLOR mode: 256 * 192 points, 16 colors, each byte of graphics has its own attribute. Graphic information is on the Address # 4000, and has the same structure as in normal mode. Attributes are found address # 6000 and addressed to the same schedule. You can do this by using one 555KP11 (three multicolumn on the board, which switched through a multiplexer). HIRES mode: 512 * 192 points, 2 colors (INK 7, PAPER 0). All odd-numbered columns (1, 3, 5 ...) are located at address # 4000 and addressed as the schedule as normal, even - to address # 6000 and addressed the same way. How to set this mode to computer "Pentagon", written in journal "ZX-Power 2". Installation on nezatenyaemy "Lviv" option has its own characteristics. I did not want to put one more for IR23 Read additional bytes of graphics, as is done in a scheme to "Pentagon", and acted as follows: the clock inputs IR16'h filed 14MHz, and their inputs allow a pulse, which are two times as long and come in twice as likely than those who were. That is, did so to video data read by the video controller, all the time recorded in the register, which is normally written graphics, attributes, and turned off the register set by resistors "Hard attributes" screen, filed for an address output signal from the video controller A9 frequency of 0.875 MHz and pushed the signal-BORDER half the 'normal' familiarity left. Of course, the proposed version of the implementation is not the best and the best, but encouraged by the fact that it generally works. Switch these two modes of configuration port # EFF7. Appointment bit followingManufacture: D0 - Virtual ROM (1-On, 0-Off) D1 - HIRES (1-On, 0-Off) D2 - Lock (as bit 5 in the # 7FFD) D3 - The third screen (1-On, 0-Off) D4 - MULTICOLOR (1-On, 0-Off) More or less standard is bit D1 (He proposed in a magazine ZX-Power 2), while the rest appeared as modernization computer. A few words about tretem screen. When working with the debugger STS was a very large desire to ship it to some "Distant" memory page, so that the basic 128K remained "clean" and This screen, which uses the STS, was the same. To realize this was easy, but for normal work with the STS, it was necessary to the screen switches as follows: D3 # 7FFD D3 # EFF7 Screen 0 0 first 0 1 first 1 0 second January 1 third Implemented it on one element "and" (555LI1). By the way, under the HIRES (not only) modes I have now written a text editor which will characterize such superiority, as multiple windows and mnogotekstovost, (maximum of one text 65,280 bytes, the number of texts will depend on the size of computer memory) and, possibly, multi-tasking (one The text is typed, this time the other is formatted, and the third is printed). Already written about two-thirds. Editor looks like a shell Turbo Pascal for IBM PC. Joystick As Kempston joystick'a I connect a standard joystick to Dendy. This joystick sends data in serial code. To make it possible was used as Kempston, I "built" shemku of 2 555IR16 and one 555IR23, which is inserted in place of "normal" locations IR22. In IR16'tyh shift and the formation of the data, and then in the necessary combination of information written in the IR23. Mouse Journals "Spectrofon 20" and "ZX-Format 5 "I saw two implementation schemes Kempston Mouse. For the background I have a scheme of "Spectrofon'a" (it's easier), but made some changes in it. Decryption mouse port it uses 555ID7. Since in "Lviv option" decoding scheme Kempston'a already on board "initially" then in the scheme of the mouse controller is some redundancy. In general, what I did: cut the signal decoding and from Kempston-IR22 and put it on the 4 th leg of ID7, the fifth leg thrown to ground, and the sixth gave the signal -DOSEN with the floppy drive controller. Legs 15,14,13 and 12 chips ID7 connected diodes under the "I" and the signal is allowed into the select the joystick. In the end we got a sampling scheme and mouse, and joystick. Now, actually, on the mouse. Where can to get Bus-mouse, I have no idea, so I had to "break" Serial mouse from the PC. The scheme of such revisions published (albeit with error) in the journal "ZX-Format 5", but there is one "but": get it Lviv chip 1561TL3 or at least 561TL3 been a while, and now, it's hard, so I had to put mikroshemy 155TL1, and their entry "sculpt" Amplifiers one transistor KT315 and very carefully select their gains. Also difficult to make or find a new tail for the mouse, which would have had 9 live wires and thus "presentable". An interesting situation is obtained with the appointment of the individual bits of the port of the mouse buttons (# FADF). The fact that "Spektorfone" indicates that the D0 - it's the right button, and D1 - left, and the "format" - on the contrary: D0 - left, and D1 - right. Aggravated case the fact that some program's (Format Utility, DCU 2.32, ZXZIP) supports the first standard, a different (mostly demos new programs) - the second. Who is right - hard to say. According to the author Article in the "Format" correct the second option. It seems to me logical that the second option, and I made him his name. You I recommend to do the same. In principle, it is best to write drivers with auto-configuration, and then suddenly someone from the users Lefty? Already I feel, as many began to look for pliers and soldering irons. I advise you to make sure that Do you really want to remake their computer that you have enough time nerves and patience (as well as experience - approx. ed.) to do it. If someone has any questions or suggestions, I listen to them on the phone: (03472) 5-20-65, or in the newspaper "Optron. I take this opportunity to appeal to anyone who knows how to hook up to Spectrum SIMM modules and how to "communicate" at a level signals with IDE HDD. A-y-y-y! If you know please tell me how anything or publish the data in "Optocouplers. Andy Nelson P.S. by rasp Andrew presented to the readers the results of their labors. Case readers or not to accept, or do not do. I only comment on some interresnye moments. 512K. I once also tried to make them 565RU7 - did not work. And you do not advise it. At 41,256 is much easier. Yes, and "devour" they have less time and access them all 80 ns - RU7 th turbo mode can not be pleased. Kemston mouse. Andrew, likely more did not read my article with Sergey Filimonov alteration of the mouse. So, better, easier, and correct as a Schmitt trigger to use two or three inverter 561LN2. In this case, you need to pick just one resistor (as input in a series of sufficiently high impedance CMOS, no need to put the amps on the transistors). The problem of standard mouse button care not only Andrew, but that's what I try Tell the following article. Among other things, interested in editor, who writes Andrew. And look at him you can? Of the request SIMM'ah HDD and I'll say only one thing: Andrew, contact the editors (phone page About). Sincerely, Hacker Rasp, Klimus Vladimir Editor of "Optron"
Other articles:
Similar articles:
В этот день... 21 November