Insanity #08
19 января 2001 |
|
Hard - Profi - Connecting to Profi various peripherals.
... Connecting to various peripherals Profi ... $% Stingrey One of the oldest domestic clones Spectrum-compatible computers is Profi. Despite its prevalence (Some Profi is the second largest among serially produced "large" Spectrum'ov) and quality technical performance (many of the ideas and development company CONDOR subsequently copied by other manufacturers) to number of reasons, was deprived of attention in the Spectrum media. At the same time, as practice shows, it is far sufficiently large number of Profi is operational state (unlike some other clones), and enjoys deserved popularity among real spektrumistov. There are quite a few users who have purchased Profi away with, and without what or documentation, and for this reason, experiencing certain difficulties not only in full use this computer, but when you connect any peripherals. Therefore, This article is primarily intended for them. My Profi 7 years (I have it from November 1993), and he never gave me reason to be disappointed in him. His configuration: - Profi + ver.4.15, Concurrent BIOS, 512KB RAM, 7 MHz, standart pallete, three slots ZX-BUS/NEMO-BUS, General Sound-512KB, 5'25 "/ 3'5" FDD'S, YM-2149F, PC-keyboard and so on ... (Type printer, audio, and mark your TV probably is not so interesting). As you have probably noticed, in my configuration there is such a wonderful device as - General Sound, which is in my computer since 1998. Yes, while the people of the possibility of connecting disskutiroval GS to Profi, This device is already present in the configuration of my computer. First GS was connected to the system connector simply wires and then I build and install the bus driver with slots under the scheme from the magazine "Spectrum EXPERT". What can you say about the connection of different Profi periphery in general, and GS in particular? .. Firstly, we can hardly count on the emergence of new devices used exclusively for Profi, and therefore need to focus on St. Petersburg bus standard ZX-BUS, - it rational (given the number of already issued devices, and many more ...), and optimally designed technically (after some effort, the connection of any new devices will be reduced to a simple sticking them in the slot). Now, about possible conflicts with the company's periphery Profi ... Paradoxically, but in the best position are owners of older versions of the computer (3rd, 4 th), as they have, As a rule, there is no "extra" Peripherals (COM-port, clock ...). And as for Profi very competently done decoding ports (standing applaud us CONDOR:), then (under subject to proper operation of both the computer and peripherals devices) connect General Sound, or some other device should not cause any problems. In the simplest case (if we restrict the connection, for example, only GS) all signals are taken from the system connector (Raspayku system connectors, see the end of the material) with wires (on the Profi though no buffer, but most signal launched into the system connector, pulled through resistors to +5 V), with no need to hide the icon with the signal IORGE, instead signal OUTIORQ, - and all will be work! And in the TR-DOS, and CP / M - tested on their own computer. More nuanced approach requires computers 5-x versions, due to Pile extra ports (CONDOR Throws rotten eggs, All we could do a graceful and logical). But on the fifth version conflict is only possible when working in the CP / M, since all additional ports (except the clock) are available only when combination of signals CP / M = 1 (5-th bit port # DFFD) and ROM14 = 1 (4 th bit port # 7FFD), then when you work in any Sinclair conflicts with GS should not be (in this mode, the signal CP / M for default reset to zero). But, nevertheless, possible to work with GS, and from CP / M. To do this, I think, no need to amend the computer equipment, and enough to change drivers conflicting devices. Here you have another advantage full-fledged operating system. Specific examples of drivers I yet will not lead, as it was not possible to verify their in practice (I Profi version 4). Based on the vyshenapisannogo obvious that occurred unsuccessful connection Sound'ov General, there was some failure of the GS. It is very likely, because, alas, but Products X-Trade at first was very poor quality manufacturing. Although maybe it's not their fault, at least GS now produces a different company - CPG Compex. Of course, if you later plan to connect and another periphery, then it is better to put a buffer on the scheme in SE # 2 and bring up the slots all the signals are provided by the standard ZX-BUS/NEMO-BUS, although not all of the signals used in present, but with an eye to the future ... CAUTION! Applies to all versions of Profi! If your computer is the processor type: Z-80A, Z-80B, or domestic KR1858VM1, in the case new devices, with the inclusion TURBO, in mode Sinclair, may fail and hang computer. This is due to low load the ability of the above processors. Output: either not to include in the Sinclair-TURBO mode (CP / M and program does not use ROM - glitches were observed), or put the processor type - Z84008PEC, Z840010PEC. As shown experience with the new processors on the computer Profi - This change does not affect performance programs. And non-functional in some old programs on KAY computers with similar processors, apparently, connected with the circuitry KAY'ev, not processors. Although fairness, it should be noted that the sequence B - # ED # 71, the new processors are not interpreted as an OUT (C), # 00, - OUT (C), # FF;) <...> System connector computers Profi - Numbering of contacts from top to bottom, side A with the edge of the board; - L. SOUND & R. SOUND left and right channels AY / YM (respectively: Channel - A channel, and - B, C channel is applied to GND); - Zvezdchkoy (*) are marked by signals that are separated only by Cards ver. 5.xx; [Contact Us * * Contact * signals signals] . 1B. TURBO-. 1A. . . 2B. R. SOUND. 2A. L. SOUND. . 3B. A15. 3A. A14. . 4B. A13. 4A. A12. . 5B. D7. 5A. +5 V. . 6B. . 6A. . . 7B. . 7A. . . 8B. D0. 8A. GND. . 9B. D1. 9A. GND. . 10B. D2. 10A. CLC_AY. . 11B. D6. 11A. A0. . 12B. D5. 12A. A1. . 13B. D3. 13A. A2. . 14B. D4. 14A. A3. . 15B. INT-. 15A. OUTIORQ-. . 16B. NMI-. 16A. GND. . 17B. HALT-. 17A. *- 5V. . 18B. MREQ-. 18A. . . 19B. IORQ-. 19A. . . 20B. RD-. 20A. . . 21B. WR-. 21A. BUSRQ-. . 22B. * 12MHz. 22A. RESET-. . 23B. READY-. 23A. A7. . 24B. +12 V. 24A. A6. . 25B. * TIMER. 25A. A5. . 26B. M1-. 26A. A4. . 27B. REF. 27A. ROMCS-. . 28B. A8. 28A. BUSAK-. . 29B. A10. 29A. A9. . 30B. CP / M. 30A. A11. . 31B. TR-DOS-. 31A. ROM14. . 32B. BLK-. 32A. SND_BEEP. * Full specification port on your computer PROFI (ver 3.xx), PROFI + (ver 4.xx), PROFI2 + (ver 5.xx) Main peripherals in a long (logical) addressing for Profi, Profi +, Profi2 +. - Logical addressing is applicable in all modes computers; - / W - means that the port is available by appointment only; - / R - means that the port is only available for reading; [CP / M = 0 / 1 'ROM14 = 0 / 1] watch "AS" (register number) / w. .......................# FFFF Port CMR1 (see description below) / w. ....................# DFFD IC AY-3-8910/12, YM-2149F (data )..................# BFFD IC AY-3-8910/12, YM-2149F (register number )..........# FFFD watch "DS" (details )...................................# FFEF free addresses A8-A12 ..............................***** Port CMR0 (see description below) / w. ....................# 7FFD Main periphery in the short (physical) address for Profi, Profi +, Profi2 +. (Basic addressing mode Sinclair) [CP / M = 0 'ROM14 = 0] port "FF" / r; clock "AS" / w. ............................# FF Keyboard D0-D4 (D5) / r; curb D0-D2 / w; Read IAHS. D6 / r; record IAHS. D3 / w; beeper D4 / w. .. # FE Ports AY / YM; CMR0 ....................................# xxFD free ...............................................# FB free ...............................................# F7 watch "DS ".............................................. # DF VG93 (TR-DOS = 1), VV55 (TR-DOS = 0)-rus ...................# 7F VG93 (TR-DOS = 1), VV55 (TR-DOS = 0) port C. ...............# 5F VG93 (TR-DOS = 1), VV55 (TR-DOS = 0) port B. ...............# 3F VG93 (TR-DOS = 1), VV55 (TR-DOS = 0)-port A / w; Kempst. / R.. # 1F RQ VG93 (TR-DOS = 1); see the port "FF" (TR-DOS = 0) / w. .......# FF ! With CP / M = 1 system registry RQ VG93 is available at # BF! - Assign registers VG93 see in the table below; - Assign Register RQ VG93 given in a separate table; - A description of registers AY-3-8910/12, YM-2149F, see the documentation on this IC; <................................................. .............> Expanded peripherals in a short address only Profi2 +. - All ports are selected by a long address, work and included a short address (eg ports CMR0, CMR1 can in this mode is selected and the short and long addresses); - COM1 means that the address refers to the COM-port; [CP / M = 1 'ROM14 = 1] watch "AS" - the register number / w. .........................# FF Keyboard D0-D4 (D5) / r; curb D0-D2 / w; Read IAHS. D6 / r; record IAHS. D3 / w; beeper D4 / w. .. # FE registers AY-3-8910/12, YM-2149F ......................# xxFD modem "CONDOR" (external address ).........................# FB timer VI53 / 2 (external address )..........................# F7 control register VV51 (COM1 ).........................# F3 control register VI53 / 1 (COM1 ).......................# EF Port IDE / w. ...........................................# EB Russian port VV55 ..........................................# E7 data register VG93 [# 7F ]..............................# E3 watch "AS" (non-core e) / w. .......................# DF modem "CONDOR" (external address ).........................# DB timer VI53 / 2 (external address )..........................# D7 data register VV51 (COM1 ).............................# D3 Register Channel 2 VI53 / 2 (COM1 ).........................# CF Port IDE / r. ...........................................# CB VV55 port (port C ).....................................# C7 Register sector VG93 [# 5F ].............................# C3 watch "DS ".............................................. # BF modem "CONDOR" (external address ).........................# BB timer VI53 / 2 (external address )..........................# B7 control register Interrupt Controller (see below) .. # B3 Register Channel 1 VI53 / 1 (COM1 ).........................# AF Port IDE / w. ...........................................# AB VV55 port (port B ).....................................# A7 register tracks VG93 [# 3F ].............................# A3 watch "DS" (non-essential address )...........................# 9F modem "CONDOR" (external address ).........................# 9B timer VI53 / 2 (external address )..........................# 97 similar to # B3 (COM1 )..................................# 93 VI53 Register Channel 0 / 1 (COM1 ).........................# 8F Port IDE ...............................................# 8B VV55 port (port A ).....................................# 87 instruction register VG93 [# 1F] / w; status register VG93 / r. # 83 free ...............................................# 7F free ...............................................# 7B free ...............................................# 77 free ...............................................# 6F free ...............................................# 5F System Registry VG93 [# FF ]...........................# 3F - Description of IDE ports, see below; <................................................. .............> CONTROL MEMORY REGISTERS The value of discharge port CMR1 (# DFFD - CP / M register) [D0 segA3] [D1 segA4] projected number of memory pages (string) [D2 segA5] [] The choice of windows projecting segments: [D3 SCO] 0 - window number 1 (# C000-# FFFF) [] 1 - box # 2 (# 4000 - # 7FFF) [D4 WOROM] 1 - disables lock port CMR0 on and off [] ROMs, putting in its place of RAM 00 seg [] 1 - blocks the operation of the controller of the TR-DOS ROM [D5 CP / M] and includes the ports on the access of the RAM (ROM14 = 0); [] When ROM14 = 1 - modes. access to expanded. periphery [D6 SCR] CPU memory to the place of seg 02, while bits D3 CMR0 [] Should be 1 (# 8000 - # BFFF) [D7 80DS] 0 - Spectrum raster (seg 05) [] 1 - Profi raster (seg 06 'seg 3A; seg 04' seg 38 <................................................. .............> The value of discharge port CMR0 (# 7FFD - Sinclair 128 register) [D0 segA0] [D1 segA1] Number of projected memory segment (column) [D2 segA2] [] Selection of the raster screen Spectrum: [] 0 - seg 05, 1 - seg 07 (80DS = 0) [D3 POLEK] [] The choice of screen Profi (80DS = 1): [] 0 - the screen points seg 04 seg attributes 38; [] 1 - the screen points seg 06, attributes seg 3A. [] Switch Pages ROM Spectrum (CP / M = 0): [D4 ROM14] 0 - Spectrum 128, 1 - Spectrum 48. [] [] Modifier of external devices (CP / M = 1) [D5 BLOCK] blocks the port CMR0 (WOROM = 0) [D6] [D7] System Controller drives the register (# FF when CP / M = 0 (from ROM); # BF with CP / M = 1 (from memory)) [D0] Select drive A-D / w [D1] [D2] 0 - Reset VG93 / w [D3] 1 - HRDY; 0 - emulation signal IP / w [D4 SIDE] The choice of the disc: 0 - top 1 - Lower / w [D5] [] The recording density: 0 - MFM / DD; 1 - FM / SD / w [D6] [] Reading signal DRQ / r [D7] Reading signal INTRQ / r Control register interrupt controller and komportom (# B3 with CP / M = 1 'ROM14 = 1) [INT] Interrupts: 1 - enabled; 0 - forbidden / w [D0] [RI] Reading lines RING komporta / r [D1] [D2] [D3] [D4] [D5] [D6] [D7 DCD] Reading signal komporta DCD / r Ports of the outer periphery Ports IDE controller (Available only when CP / M = 1) # 06AB - a system controller registers / w # 07EB - instruction register / w # 07CB - status register / r # 06EB - register numbers head for record # 06CB - register numbers head for reading # 05EB - Art. byte track number on record # 05CB - Art. byte track number read # 04EB - ml. byte head number on record # 04CB - ml. byte head number to read # 03EB - Register sector number to record # 03CB - register numbers head for reading # 02EB - sector counter to record # 02CB - count of sectors to read # 01EB - register start precompensation cylinder / w # 01CB - error register / r Ports General Sound (! With CP / M = 1 'ROM14 = 1 possible conflicts with komportom!) # BB - instruction register / w; status register / r # B3 - data register / w; register O / r More information about ports, GS, see the programming manual. Ports Kempston Mouse # FBDF - X-coordinate / r # FFDF - Y-coordinate / r # FADF - state of the buttons / r
Other articles:
Similar articles:
В этот день... 23 November