MOTOROLA Order this document SEMICONDUCTOR APPLICATION NOTE as AN492/D AN4921D A video display board for CD-i development Cohn MacDonald, CD-i and Multimedia Group. Motorola Ltd., East Kilbride, Scotland. INTRODUCTION Compact Disc-Interactive (CD-i) is one of the latest developments in CD technology. Aimed primarily at the consumer market, CD-I allows users to interact with a high quality audio-visual presentation. The presentation or title can be designed for entertainment or education or business. CD-i’s worldwide standard, known as the Green Book, defines the system hardware, software and data encoding methods to a degree that ensures worldwide compatibility without specifying a particular architectural implementation. Presently, there are two video standards used in the field of CD-i: the Green Book-specified “Base Case” standard; and the Motion Pictures Experts Group (MPEG) ISO-i 1172 standard. The term “Base Case”, as used in CD-i, defines the minimum functionality required of a player. This application note describes the design of a CD-i Base Case Video board, hereafter BCV, which forms part of Motorola’s CD-i Development System (MCDS). The MODS, running either “extended OS-9” or “extended CD-RTOS”, allows users to develop CD-i hardware and software solutions based on Motorola’s chipset. Evaluation of key CD-i components is facilitated through their implementation in the system. Also, further hardware development can be achieved via the addition of boards or by use of the prototype areas on existing MCDS boards. The high performance MCDS is suitable for both resident and cross software development and can be used for CD-RTOS file manager/driver evaluation. The MCDS is a multi-board, dual-bus system based on the VME double-extended Eurocard hardware specification. The P1 backplane is used for the VME, while P2 carries the MCDS “System Bus”. This dual backplane approach allows the use of industry standard VME cards via P1, while P2 provides a highly-optimised interface between key components for performance evaluation. While general interboard connectivity is provided via P2, additional connectors are used for specific signals required by a subset of system boards. In the case of the BCV, the 32-bit Base Case Video Bus (‘LBUS) is driven on connector P9 for use by MPEG-V boards. DESIGN FEATURES • Motorola CD-i Development System Compatible • Based on the highly integrated MCD21O. • Double extended Eurocard board with 0—70 0C operation • High speed system bus interface • Multiple memory configurations using 256Kx4,lMx4 or 256Kx16 DRAMs • PAL / NTSC / NTSC MONITOR compatible • PAL Channel 36 or NTSC Channel 34 RF modulated output • CENELEC peritelevision / SCART interface • PAL and NTSC RS-343A compatible singly-terminated RGB outputs with separate sync • SUPER-VIDEO output • 32-bit digital bus for off-board drive of Base Case video and control signals • Support for Motorola’s CD-i Development System MPEG board MOTOROLA C~ MOTOROLA LTD. 1994 AlE trademarks are recognised 0. (I, C E0 E LLV .9- ~, (I, C 4 Video Input & Test Signals Figure 1. Block diagram of the Base Case Video (BCV) Board DESIGN DESCRIPTION TOP LEVEL BLOCK #1 The BCV design consists of six functional blocks, four digital and two mixed signal blocks. The SYSTEM INTERFACE block provides backplane bus buffering and termination in addition to bus conversion and memory map decodeThe INTERRUPT module supports interrupt multiplexing and can generate interrupt requests to the system processor on 6 backplane levels. The DIGITAL VIDEO module, the heart of the BCV design, contains DRAM controller and video controller/decoder functions. The DRAM block provides system and video RAM with three possible implementations. Video and control outputs are driven both to a connector for off-board use and to the ANALOGUE VIDEO block that converts the BCV’s digital video into industry-standard analogue formats. SYSTEM INTERFACE The SYSTEM INTERFACE block is a high-performance, flexible module providing address, data and control bus buffering, VDSC and control register decode, control bus conversion, address strobe and data strobe delay circuitry and manual reset. In detail, IC’s 24 and 25 provide data bus buffering under the control of 1038, while three 74F244s (ICs 19, 20 and 26) provide simple address buffering with minimal propagation delays. Address bus lines are assigned to buffer inputs so that the low-order (usually higher frequency) signals are distributed evenly across the three buffers—thus reducing the opportunity for ground bounce. The CD-i development system’s P2 backplane features two sets of control buses, based on the MC68000 and MC6834x processors. The BCV can operate with either or both of these buses. MC6834x-style control signals are translated (by 1038) into the BCV board’s M68000-style bus. On-board address and data validation can be delayed by one to three clock periods through IC’s 37 and 42. Jumpers 21 through 23 set the address validation delay period, and jumpers 24, 25 and 17 set the data validation delay. These delays can be used to allow the board to work with higher speed processor cards or with noisy backplanes. In addition to decoding the BCV’s address space, 1027 also provides chip selects for the PROTOTYPE and INTERRUPT modules. MOTOROLA ANAS2ID 2 DIGITAL VIDEO The functionality of the DIGITAL VIDEO module, and the BCV, is largely determined by one component, the MCD21O. The MCD21O Video Decoder and System Controller (VDSC) is a highly integrated circuit designed specifically for CD-i. This device (1029) incorporates DRAM control, video image decode, video timing generation and system interface functions. As video timing is derived from the VDSC clock, the oscillator OSCi is socketed to allow the production of PAL, NTSC or NTSC monitor video formats. Jumper J7 can be configured so that a prototype area device supplies the VDSC clock. Three 74F373 devices (IC’s 31, 33, 30) are used to latch the 24-bit RGB output of the VDSC for driving to the MPEG-V board. Most video control signals are buffered by a PAL (1021), thus providing some degree of flexibility in a crucial area. Series termination resistors (RN 6, 7, 10, 11, 15—i 8) located close to the driving chips, counteract transmission line reflections and improve signal integrity. Resistor networks (RN 12—14, 19, 25—27)) are similarly used for VDSC signals going to on-board destinations. In this case the resistors are placed as close as possible to 1C29. Series termination resistors are again used with the DRAM address bus. In fact, the VDSC’s memory address bus IMA(9:0)I is translated into two buses (MAl (9:0) and MA2(9:0)J via these resistors (RN 3-5, 8, 9). This dual bus arrangement is designed to improve the effectiveness of series termination with distributed loads such as the DRAM array. A 74F244 (1022) buffers DRAM control signals, while 1046 drives RUN and STOP LEDs, both of which reflect the status of the BCV, not the system. The green “RUN” LED, D2, is illuminated on DRAM accesses whereas the red “STOP” LED, Dl is illuminated when the VDSC’s RSTOUT pin is low. Jumpers 1 and 2 are used to validate the VDSC’s DRAM banks. DRAM In a CD-i player, MCD21O controlled DRAM is used for both system and video functions. As system RAM, it holds code or data and can provides buffer area for MPEG data in extended CD-i systems. As video RAM, it holds image and image control data. All accesses to the DRAM go through and are controlled by the VDSC. The VOSO is designed to support 256Kx4, 1Mx4 and 256Kx1 6 fast page-mode DRAMs. These can be arranged in six configurations (listed in the VDSC specification), ranging in size from 0.5 to 4 Mbyte.The BCV board is compatible with all VDSC-supported DRAM types and configurations. IC’s 4—7, 13—16, nominally MCM54400AZ devices (1 Mx4), are in fact zig-zag sockets.These may also be populated with MCM514256AZ, 256Kx4 DRAMs. If 256Kx16 devices (IC’s 11,12) are used, IC’s 4—7, 13—16 should not be inserted. The BCV DRAM array is designed to minimise transmission line ringing. Address bus lines have series termination, whilst control lines have dais~chained wiring and Thevenin terminations (RN1 ,RN2). INTERRUPT The BOy interrupt module has two functions. When the BCV is used in an 10P2’ “Host Bus” based system, the interrupt module can be used to “multiplex” up to three interrupts onto one 10P2 interrupt line. When the BCV is used in the CD-i development system, “multiplexing” of interrupts is unnecessary and only the jumper circuitry is used to map the BCV’s IRO to a chosen backplane line. Operation in both these environments is described below. 1. The 10P2 CPU board is described in Motorola application note AN451 “An MC68340-based lnput/ Output Processor Design”. ANAS2ID MOTOROLA 10P2-BASED OPERATION As the 10P2 system bus contains only one interrupt line, IROs from other boards are forced to occupy one level. This means that the processor is unable to selectively mask off-board interrupts, reducing the flexibility and performance of the system.The BCV can be used to solve this problem, by performing the interrupt masking function for the processor board. In multiplexing mode, (SYSJROE/FN) throughthe BCV can jumpers J9 route and J8two and10P2 Host into 1C8 as Bus backplane and IRO_MUXi_N interrupts on P2 26B IRO_MUX2_N and 27B2 respectively. These, along with the on-board VDSC interrupt (VCJRO....N), are prioritised in 1C8 according to a code held in the BCV’s “Interrupt Priority Level Register”, IPLREG (IC’s 2, 9). [Thisprioritisation code reflects the absolute level of each interrupt source that, again, is held in the IPLREG]. Then the output of 1C8 corresponding to the highest priority active interrupt (Pins 17—19) is asserted, generating two events in ICi. Firstly, the level of the highest priority IRO is output on IPL(2:0) and compared (in 1C18) to a copy of the CPU’s interrupt mask held in the “Duplicate Status Register”, DUPL_SR (IClO). Secondly, if the comparison indicates (through an assertion of A_GLBO) that the priority level is higher than the masking level, then ICi asserts BCV_IRO_N. Following BCVjR&N’s assertion, the 10P2 drives P2 25B (SYSJROD N) low, indicating an lACK cycle. With jumper J5 set, this signal forms a chip select for the interrupt vector register, IOPIVR (1C3). This register provides an interrupt vector based on the contents of the IPL_REG and on the generating IRO. In order to prevent interrupts being asserted before the appropriate registers are initialised, IRO generation is disabled until the memory-mapped “Interrupt Enable” line, IRQENA SEL N, is asserted. Also, to prevent the interrupt vector from being corrupted, interrupt prioritisation is frozen by the IOPIVR_SELN line during lACK cycles. INTERRUPT REGISTERS The BCV design includes four registers that are used to control or monitor interrupt logic for 10P2-based operation. These registers are described below. INTERRUPT PRIORITY LEVEL REGISTER RESET U U~U UfU U U U U U U U U U U U Table 1. Interrupt Priority Level Register The interrupt priority level register is a 1 6-bit wide, write-only register. It controls the absolute and relative priorities of interrupt sources and provides the most significant bits of the interrupt vector. BIV(3:0) — Base Case Interrupt Vector This field provides the most significant 5 bits of the BCV’s interrupt vector. IV(3: 1) map directly to bits 7—5 of the vector whereas IV(O) maps to bits 4 and 3. 2. The MCDS System Bus is based on the 10P2 Host Bus, but is modified to suit CD-i development. In particular, lines P2 25B, 26B, 27B have changed function. All labels referenced here reflect MCDS usage. MOTOROLA AN482/D 4 RIP(2:0) Relative Interrupt Priority — This field determines the relative priority of interrupt sources. It is used to decide if an active interrupt is propagated or blocked. This field should reflect the absolute priority assigned to an interrupt source. It should be programmed according to the following table. RELATIVE PRIORITY OF INTERRUPTSOURCES RIP(20) IRO_MUX2_N>IRO_MUXi_N>VC_IRO_N 000 IRO_MUX2 N>VC_IRO_N>IRQ_MUXi_N 001 RESERVED 010 VCJRQ_N>IRQ_MUX2_N>IRQ_MUXi_N 011 IRO_MUXi_N>IRO_MUX2 N>VC_IRO_N 100 RESERVED 101 IRO_MUXi_N>VC IRO_N>IRQ....MUX2N 110 VC_IRO_N>IRQ_MUXi_N>IRO_MUX2_N 111 Table 2. RIP Encodings L2A2:0) — Level of MUX2 Interrupt This is the priority level assigned to IRO_MUX2_N. It will be used to compare with the interrupt mask level held in the duplicate status register. L1j2:O) Level of MUXi Interrupt — This is the priority level assigned to IRO_MUXi_N. It will be used to compare with the interrupt mask level held in the duplicate status register. LV(2:0) Level of VDSC Interrupt — This is the interrupt level assigned to VC_IRO_N. It will be used to compare with the interrupt mask level held in the duplicate status register. DUPLICATE STATUS REGISTER The duplicate status register is an eight-bit write-only register that sits on the upper half of the data bus. It is used to control the propagation of interrupts to BOy_TGATE N and BCV_IRO_N. RESET U U U U U U U U Table 3. Duplicate Status Register AN4SZ/D MOTOROLA DC(4:0) — Don’t Care Any values can be written to these bits without effect. IPM(2:0) — Interrupt Priority Mask These bits should reflect the processor’s current interrupt mask level. The value held in this field determines if an active interrupt is sent to the processor. Only if the interrupt level of the highest Priofity active interrupt is greater than 1(2:0) will the interrupt be sent. INTERRUPT STATUS REGISTER j7 6! ~I 4j3 1211101 M2OS MiOS VCOS AIOS 0 10L2 lOLl IOLO RESET ____P_Li 1 1 Ji ft____ Table 4. Interrupt Status Register jo 0 The interrupt status register is an 8-bit read only register mainly intended for debug purposes. It reflects the unlatched condition ‘of the BOy’s interrupt multiplexing circuitry outputs and can therefore change at any time. M205 — MUX2 Output Status 0— IRO_MUX2_N is the highest priority asserted IRO source 1 — IRO_MUX2_N is not the highest priority asserted IRO source Ml OS MUXi Output Status — 0— IRO_MUXi_N is the highest priority asserted IRO source 1 — IRO_MUX2_N is not the highest priority asserted IRO source VCOS VDSC Interrupt OutputStatus — 0 IRO_MUXi_N is the highest priority asserted IRO source — 1 — IRO_MUX2_N is not the highest priority asserted IRO source AIOS Any Interrupt Output Status — 0 The highest priority asserted interrupt has a lower level than the DUPL_SR mask — 1—The highest priority asserted interrupt has a higher level than the DUPL_SR mask MOTOROLA Af’J4921D IOL(2:0) — Interrupt Output Level This field reflects the level of the highest priority asserted IRQ source INTERRUPT VECTOR REGISTER The Interrupt Vector Register is an 8-bit, non-memory-mapped register. It is used to drive an interrupt vector number onto the data bus in response to an lACK cycle. The interrupt vector reflects the values of the IPLREG BIV field and interrupt output status lines latched on the falling edge of lACK. 7161514131211101 LBIV4 LBIV3 LBIV2 LBIV1 LBIVO LMOS2 LMOS1 LVOS RESET U U U U U 0 0 0 Table 5. Interrupt Svector Register LBIV(4:0) Latched Base Case Interrupt Vector — LBIV(4:2) reflects the latched value IPLREG BIV(3:1) LBIV(1 :0) reflects the latched value of IPLREG BIV(0) LMOS2, LMOS1 and LVOS reflect the latched values of IRQ_MUX2....OUT, IRO_MUXi_OUT and IRO_VC_OUT respectively. CD-i DEVELOPMENT SYSTEM The CD-i Processor board (CDIP) and MCDS System Bus were both designed to support seven interrupt lines. The BOy board can map MCD21 0 generated interrupts to any of SYS_IRGA_N through SYS_IROF_N using jumpers J3, JS-J1 1. As the MCD21O doesn’t support vectored interrupts, the IRO assigned to the BCV has to be autovectored. ANALOGUE VIDEO The Motorola CD-i Development System is intended to be a flexible platform and the design of this module clearly reflects this. Taking in 24-bit digital RGB signals, the ANALOGUE VIDEO block outputs PAL, NTSC or NTSC MONITOR formats on a variety of industry-standard connectors such as BNC, PERITEL and S-VIDEO. In order to produce a high quality video signal, the BCV is manufactured as a multi-layer, split-plane PCB. Only components shown with an analogue ground connection are placed over the analogue plane, with digital devices and tracks restricted to the digital plane. The planes connect through 2.2i.,l-I inductors (L3, L4) and through the MC44200 (1C44). so these are placed together to minimise current loops. The MC44200 Triple 8-bit Video DAC, with segregated analogue and digital signals, is designed for use on split-plane PCBs. The digital signals consist of Red, Green and Blue buses, pixel clock and digital power. Inductors and capacitors Cl 28, C143 provide transient suppression and decoupling on the digital power inputs. Although each analogue video output (R, G or B) on the MC44200 has its own power supply pin, these are all tied to the analogue 5V rail and decoupled with a range of capacitors (C126. 132. 135, 145, 149). These ROB outputs are configured for high current mode via resistor R58, giving a full scale voltage AN482/D MOTOROLA 7 swing of 1.5V into 75 ohms. Resistor sockets R14, R16 and R23 are only populated during board test, leaving RiS, R17 and R24 to provide the correct operational loading. The MC44200’s RGB outputs drive MC14576A video amplifiers directly (1C40,41), but are AC-coupled into the MCi 3077 (1C39). The MC14576A Dual Video Amplifiers (1C35, 40, 41, 45) provide a non-inverting voltage gain of 6db with 150 ohm loads and, provided input signal levels are less than 1 .5V, will work from a single 5V supply. Since the Red, Green, Blue, Composite Video and CENELEC Composite Sync signals do not exceed 1 .5V, IC’s 40, 41 and 45 all use the analogue 5V rail. However, in order to generate a BNC Sync signal to industry standard levels (approximately 3V), it is necessary to provide a higher supply voltage for 1035. A steady +8Volt level is supplied using an LM317 (1C34) in the arrangement shown. This higher supply voltage also allows 1035 to drive the CENELEC Fast Blanking signal to 2V, the middle of its specified positive range. The actual output levels of CENELEC Fast Blanking, BNC Sync and CENELEC Sync are set by potentiometers R4, R5andR22. The MCi 3077 Advanced PALINTSC Encoder produces both composite video and Y/C outputs. The encoder can work in a variety of modes, but here it is configured for RGB inputs and an unlocked 4x subcarrier. The RGB inputs are AC-coupled (C7-9) and the subcarrier frequency is determined by the crystal (Y..WSTD) and tuning capacitor (C6) values. In this particular mode, the colour difference inputs R-Y and B-Y require clamp storage capacitors (Cl 18,123), whereas the LumaClmp input uses a storage capacitor (Cl 16) in all circumstances. The MCi 3077 input Syncln....Sep connects to jumper Ji 6, which can select one of two sources for this signal: the VDSC or BNC test connectors. The composite sync output of the VDSC is buffered (1C36) and is put through a 4k7 series resistor (R62) before input to the encoder. Reducing the signal current transients minimises cross coupling onto sensitive analogue signals. For board test, a composite sync voltage is developed across R3 and then AC-coupled (C84) into the encoder. Switching between PAL and NTSC formats is performed by setting J14 appropriately. When switching formats, the subcarrier crystal (YJ’&STD) and chroma bandpass filter (TOKO-BPF) also have to be changed, but the same luma delay line (LumaDLY) can be used for both TV standards. The MC13077’s composite video output (COMP V) connects to both of 1C45’s non-inverting inputs. This means that both of the MCi 4576A’s amplifiers output composite video. One amplifier drives to CENELEC /RS-343 levels, while the other provides an input to an RF-modulator (1C46). As the UM1233 RF-modulator requires a 0.64V peak-to-peak input around a 2.83V black level, the associated amplifier output signal requires some level conversion. Resistors R27, 28 reduce the peak-to-peak voltage and a 4701±Fcapacitor (ClO) provides AC-coupling. The LM317LZ regulator (1C43) and associated circuitry provides a DC-bias for the AC-coupled signal. Video outputs on the MCi 3077 and MCi 4576A have all been designed to drive 150 ohm loads. With 75 ohm series resistors added (R 8, 9, 10-13, 18—20, 25, 27), reflections from line discontinuities are largely absorbed. The BCV has also been designed for high quality video. All video signals have short 75 ohm impedance tracks in shielded planes. PROTOTYPE AREA The prototype area is designed to facilitate minor customisation of the BCV. It consists of a 0.1” pitch array of plated-through holes located near the junction of digital and analogue planes. Key digital and analogue signals are brought to connectors that abut the area, allowing mixed-mode prototyping. The P16 connector provides forty-two digital signals.With seventeen address lines, upper and lower data strobes, read/write control and a full 16-bit data bus, users may add extra or new types of memory, such as NVRAM. A chip select with programmable timing reduces the need for address decode and an interrupt line allows devices such as RTCs to be added. (The interrupt line connects to post which is located near the BOy’s general interrupt jumpers). Two other signals, PROTO4 and PROTOS could be used, via 1C2, to control the selection of the VDSC clock source. MOTOROLA AN482/D 8 The P17 connector contains thirteen analogue signals and positive/negative 12 Volt supply rails. Pins 1 to 10 provide signals that may be used in the development of genlock circuitry. In order that support for the prototype area does not compromise the standard configuration video quality, Red, Green and Blue connectors are default to open-circuit. Jumpers 18-20 can be added to connect these to the RGB outputs of 1C44. TOP LEVEL BLOCK #2 The Motorola CD-i Development System (MCDS) P2 backplane is physically but not electrically compatible with the VME P2 backplane. This means it can use VME P2 hardware to provide connections to other CD-I Development System boards. However, under no circumstances should a VME card be connected to the development system’s P2 backplane. The MCDS system bus provides most of the signals necessary for the construction of a modular CD-i player. However, many inter-board signals that are implementation-specific, or are only used by two boards, are carried on separate connectors. The BOy provides termination for all appropriate signals, independent of their use on the BCV. Two design features allow the termination to be easily optimised. Firstly, all termination resistors (R21-24, 28-37. 40-43) are socketed. Secondly, signals are assigned to specific resistor packs, based on their electrical characteristics. This means that active low control lines such as DS can have a different termination from clock signals such as SYS....CPUCLK. Providing resistor sockets is also necessary, as the BOy is designed for use with the MPEG-V board. In this instance, the BCV sits between the MPEG-V and the CDIP boards. As only the furthest board from the ODIP should contain terminators, the BCV’s termination resistors should be removed. TOP LEVEL BLOCK #3 The BCV has fifteen off-board connectors, thirteen of which (P2-7, P9-Pi5). all shown on this sheet, are responsible for transmitting video information. As previously mentioned, the BCV is designed to support the MCDS MPEG-V board. The BCV provides 24 bits of ROB data plus control signals through P9, allowing the MPEG board to output a combined video signal. Via a 64-way IDC, P9 signals are alternated with ground lines to minimise cross-talk. The other connectors are as follows: PS. 7, 11. 13-15 are 75 ohm, 900 BNCs; P3 is CENELEC (PERITEL); P4, 6, 10, 12 are 75 ohm,1 BOO BNCs; P2 is S-VIDEO. Please note: P4. 6, 10, 12 are only provided on debug or test boards. TOP LEVEL BLOCK #4 Although the BOy has no VME interface, it can be considered VME P1 compatible, since the only VME signals it connects to are 5V and 1 2V supplies. This means that the BCV can connect to the same P1 backplane as the CDIP board. TOP LEVEL BLOCK #5 Apart from the specific decoupling used for components in the ANALOGUE VIDEO module, a variety of capacitors have been employed to reduce transients throughout the BOy. The TOP LEVEL BLOCK Sheet 5 shows these capacitors but does not indicate how they are distributed. All FAST logic and PLA devices have 0.1 and 0.01 pF decoupling capacitors across their supply pins. The VDSC uses 0.2~F caps across each supply pin, but DRAMs and termination resistor packs use only 0.1~F. Lastly, six 47~F “reservoir” capacitors are distributed across the BOy, alleviating the effects of large current surges. AN4S2ID MOTOROLA 9 MEMORY MAP OF BCV BOARD Figure 2 shows the memory map of the BOy within the MCDS. Due to partial decoding, development boards and other system resources do not have unique locations in memory. It should also be noted that the Duplicate Status Register, Interrupt Enable line, Interrupt Priority Level Register and Interrupt Status Registerare all specifically intended for use with 10P2-based systems and may not be implemented on all boards. In that case, accesses to the region OxC80000 to OxCFFEOO will complete without bus errors, but will be invalid. The area assigned to Base Case Video and System DRAM reflects a 1 Mx4 DRAM BCV implementation. For a different DRAM implementation, please consult the MCD21 0 Users’ Manual to see how the memory map is affected. 0000 0000 2000 0000 ±0400000 p.O50 0000 p.060 0000 p.070 0000 p.080 0000 p.ODO 0000 p.0D8 0000 p. = (0..7 inclusive) Figure 2. Memory map of the BCV within the MCDS MOTOROLA AN482/D 10 USAGE and ADDITIONAL DESIGN NOTES VDSC OSCILLATOR The frequency of the VDSC oscillator is determined by NTSC or PAL line frequency and associated VDSC timing. With art NTSC colour TV line period of 63.556 p5 (CCIR 601) and 120x16 MCD21O clocks per line, the MCD21 0 requires a 30.2097 MHz oscillator module to produce correct timing. Similarly, for PAL operation, a 30.0 MHz crystal is required. The oscillator circuitry allows for a number of different clock drive implementations. The VDSC’s XTAL input can be driven directly from OSCi through J6 and J7 using a CMOS or TTL module. If a TTL module is used, resistor Ri and R2 should be chosen so that CMOS input logic levels are achieved. If a CMOS module is chosen, Ri and R2 are not required, other than to shape the waveform. The VDSC’s XTAL input may also be driven by 1C28 pin 16 and although BUFCTL4 simply routes pin 7 through to pin 16, this PLA can be easily modified to use CLK.YCO from the prototype area. GENLOCK The VDSC can operate in MASTER or SLAVE TV mode. The BCV, as described, is configured for MASTER mode operation the MCD21 0’s MSn pin is pulled high by BUFCTL4 (1C28). In this mode, the VDSC drives — HSYNC and VSYNC. However, by reprogramming 1C28, the MSn line can be driven low and SLAVE TV mode entered. In this mode, the VSYNC becomes an input to the VDSC.This is useful if the BOy’s output is to be synchronised to another video source, or “genlocked”. The BCV has been designed to facilitate the addition of genlock circuitry to the board, primarily through the routing of useful signals to the prototype area. Connector P7. for example, allows a composite video signal to be driven to prototype connector P17. By feeding this signal through a phase splitter implemented on — the prototype area HSYNC and VSYNC signals can be generated. While VSYNC can be used to supply the — VDSC, HSYNC, along with the VDSC’s HSYNC output, can be used as the control inputs of a PLL, whose output is used as the VDSC clock, thus providing feedback. By using a PLA (1C28) to route or condition many of the control signals involved, additional flexibility is provided to the genlock circuit designer. A fully specified CENELEC TV allows rapid switching of video source between its tuner output and SCART RGB 3 inputs. The BCV is designed to support this “mixing”,thus allowing TV broadcasts to be overlaid with BCV video. This overlaying requires the BCV to be put into slave mode, as described above. Then, by using the CENELEC VIDEO INPUT line (connector P3 pin 20) to provide a composite video signal to the prototype area and by implementing genlock as outlined above, the BCV video can be synchronised to the TV tuner output. The selection of video source for display is controlled by the CENELEC “BLANKING” line, which can be driven by the MCD21Os VSAn line In this case. TV tuner output will be visible whenever VSAn is ~ low. DUAL DRAM BUS and LOADING The VDSC to DRAM interface is very much a “worst case design. It uses additional circuitry and layout techniques that may not always be required (or desired), especially in the design of a production system. In particular, the BCV uses series termination resistors (RN 3-5. 8, 9) on memory address lines, and Thevenin termination (RN 1. 2) on DRAM control lines. Both of these are used to reduce ringing, something that should only occur if the distance between the VDSC and DRAM is large. ~ See CENELEC PERITELEVISION section ~ See CENELEC PERITELEVISION section AN4S2ID MOTOROLA 11 An 74F244 (1C22) provides buffering for all DRAM control signals and is used to doubly buffer the DRAM strobes. This buffering ensures that there is adequate capacitive drive capability, even with all DRAM sites socketed and all DRAM configurations supported. However, in socketless, single configuration designs this should not be necessary, as the MCD21O was designed to drive DRAM directly. As mentioned above, layout techniques were also used to improve the DRAM signal integrity. As series termination works more effectively with lumped capacitive loads, each line on the VDSC memory address bus (MA(9:0)) connects to two series resistors. This effectively creates two duplicate address buses (MAl (9:0) and MA2(9:0)), halving the number of DRAMs per address bus, thus allowing closer grouping of the loads. Again, by placing the VDSC and DRAM close together, this technique should not be necessary. Finally, please note that the VDSC is designed to work with 512. not 1024. cycle refresh DRAMs such as the 514270. RF-MODULATOR OUTPUT The UM1233 RF video modulator (1C46), requires the input levels shown in the following table Item Description Name Mm Typ Max Unit 1 Video Input Level Sync Tip Vs 2.54 2.6 2.66 V 2 Video Input Level Peak White Vwh 3.18 3.24 3.3 V 3 Video Input Level Black Vbk 2.83 V 4 Sync Level Ratio (Vbk-Vs)/ 0.3 0.35. 0.4 (Vwh-Vs) Table 6. ASTEC UM1233 Specification for Composite Video Signal Potentiometer R28 makes one half of a potential divider, and so controls the peak-to-peak voltage of the composite video waveform. R29 determines the output voltage of regulator circuit and so can be used to level shift the input. Experimentally, a good quality video output has been achieved by adjusting the R28/ R29 as follows: i) Adjust R29 until the black level is 2.83V ii) Adjust R28 until the SYNC tip to peak is 52mV CENELEC PERITELEVISION The CENELEC or European “SCART” interface can be used to deliver composite or RGB video to a full specification CENELEC TV. The interface uses two control lines to select the video source. Line 16, BLANKING, selects either the SCART’s RGB lines or the TV’s amplifier output for display. Line 8, FUNCTION SWITCHING, selects either the TV’s antenna input or SCART composite video input to go to the TV’s amplifier input. See Figure 3. MOTOROLA AN482/D 12 Figure 3. CENELEC TV Switching The BOy supports three CENELEC configurations which are listed below in Table 7. Configuration C-i produces a composite video output, useful for either general display or for monitoring the TV encoder output. Configuration C-2 gives a better quality output via the RGB lines. Lastly, C-3 can be used to overlay a BCV image onto a TV broadcast, as discussed earlier. The jumper settings needed for all these configurations are shown in Appendix C, Table 11. Configuration Description SCART P19 Blanking Function Switching C-i Camp Video Camp Video Asserted Negated C-2 RGB Camp Sync Negated Asserted C-3 RGB Overlay Camp Sync Negated Negated Table 7. CENELEC Configuration Options JUMPERS Appendix C describes how to configure jumpers for a particular operating mode. Note: pin one of three pin jumpers is denoted by a white dot on the silk screen, as shown in Figure 4. I N Pin3 Pini White dot Figure 4. The position of pin one AN4S2ID MOTOROLA Connectors Below isa summary of connectors on the Base Case Video Board. Figure 5 shows the approximate position of off-board connectors. Connector Description Function P1 96-way Eurocard DIN4l 612 Connects to CD-i System Backplane Bus (VME P2) P2 5-pin shielded S-VHS socket S-VHS (YIC) video output P3 21-pin CENELEC video socket RGB/composite video output P4 1800 75 ohm bayonet BNC Video sync input (for test) PS 900 75 ohm bayonet BNC Composite sync output P6 1800 75 ohm bayonet BNC Blue video input (for prototyping/test) P7 900 75 ohm bayonet BNC Composite video input (for prototyping) P8 96-way Eurocard D1N41 612 Connects to VME P1 backplane (power only) P9 64-way DC socket BCV to MPEGV cable connector PlO 1800 75 ohm bayonet BNC Green video input (for prototyping/test) P11 900 75 ohm bayonet BNC Blue video output P12 1800 75 ohm bayonet BNC Red video input (for prototyping/test) P13 900 75 ohm bayonet BNC Green video output P14 90075 ohm bayonet BNC Red video output 9Q0 75 ohm bayonet BNC Composite video output P15 P16 42x 0.1” plated through holes Digital connector to prototype area P17 1 5x 0.1” plated through holes Analogue connector to prototype area. Table 8. Connector Summary MOTOROLA ANAS2ID 14 Figure 5, Layout of BOy connectors AN492/D MOTOROLA 1; APPENDIX A—PAL EQUATIONS FOR THE BCV BOARDS Appendix A.1 — 1C21, PALl 6L8-7nS, BCVCTL2.PDS Appendix A~2 — 1C28, PALl6L8-7nS, BUFCTL4.PDS Appendix A.3 — 1C32, PAL22V1O-lOnS. CLKCTL9.PDS Appendix A.4 1C27.PAL2OL8-7nS, DECODE7.PDS — Appendix A.5 —1C8, PAL22Vl 0-iOnS, IRQENC3.PDS Appendix A.6 ICi, PAL22Vl 0-1 OnS, IRQPRI4.PDS — Appendix A.7 1C38. PAL2OL8-7nS, STBCNV8.PDS — MOTOROLA AN4821D 16 Appendix A.1 - 1C21. PAL16L8-7nS, BCVCTL2.PDS TITLE BCVCTL PATI’ERN BASE-CASE VIDEO OUTPtT~ CONTROL PAL REVISION 0.2 AtTrHOR COLIN MAC DONALD COMPANY PZ)’IOROLA. EAS’r KILBRIDE DATE 25/05/92 CHIP 1C21 PAL16L8 ;PINS 1 2 3 4 S xT2 /HSYNCJ4 /VSYNC...N /CSYNCN /VSDJ4 ;PINS 6 7 8 9 10 /VSA..N /BLANKN ‘rrLH1 ‘rrLJ42 GND PINS 11 12 13 14 15 ‘rl’LH3 /BBLANKJ4 /5V5A24 /BX’r2J4 /evSDy PINS 16 17 18 19 20 /DCSYNC..N /BVSYNCJ4 /EHSYNCJ~ /BXr2 VCC E~tIATIONS This PAL operates as a buffer but gives the flexibility to change control line signals if required. BX’r2 - XT2 BX’1’2....N = /XT2 BHSYNC...N = HSYNC.Y BVSYNCJ4 = VSYNC...N BCSYNCJ4 = CSYNCJ4 BELANKJJ = BLANKJ4 BVSD...N = VSDJ4 BVSAN = VSAJ~ Appendix A.2 1C28, PALl 6L8-7nS, BUFCTL4.PDS — TITLE BtJFCTLA PATI’ERN EASE-CASE VIDEO CLOCK CONTROL PAL REVISION 0.4 AUTHOR COLIN MAC DC8IALD COMPANY WYIOROLA. EAST KILERIDE DATE 28/01/93 CHIP 1C28 PAL16LB * * ;PINS 1 2 3 4 S OSCSK1 VC_XT2_N PROTO4 VCXT4 /VSAN ;PINS 6 7 8 9 10 /VSD.N OSC_CK2 VCOSLK MAST~ GND PINS 11 12 13 14 15 /0E24 PRO’I~S /O1TI’EUFN XT2A XT2...E PINS 16 17 18 19 20 CLK..OUT XT2...OUT /VC DEN VCNS VCC ~W~TIONS AN482/D MOTOROLA 17 HIS’IORY REV 0.1~ Original REV 0.2: Vt_XT2 changed to VC...XT2.y in scheatics. changed PAL equations accordingly. REV 0.3: For enabled outputs, Vt 0tH should be high REV 0.4: Data buffers should be enabled on the high phase of XT2 not XT234. To meet worst case timing we need to delay assertion and negation of OUTBUF...N. VDSC MASTER/SLAVE SELECT The yOSt is configured for MASTER operation if the JUMPER attached to P9 is pulled high vc.ys = MASTER VDSC Ot.TrPU’r ENABLE The yOSt OE pin is usually driven by VSD. hsever as the BCV board buffers the ROB outputs prior to multiplexing, the OE is permanently pulled low. VCOEJJ = OND • =*=======**=******=*===*=**=**==*==*==========*==*=====*==** = =*=*= * * t*JTRfl’ BUFFER ENABLE The ROB outputs are only driven during the high phase of XT2N to give sufficient tristate time. The outputs are not driven when VSD.N is low Clocks XT2...A and XT2...B are delayed Versions of XT2...OUT used to generate correct timing. XT2...OUT is the buffered inverted VC...XT2.Y. - ====*========*==*====t*== == XflOUT = /VC...X’I2...N XT2.A = X72S0T XT2.3 = XTt.A OU’ISUF...N * XT2...A* IVSDJ4 + OUTBUtNX?2B CUQ.OUT For double speed clock module, bufctl is 16r4 and cllc.out is divide by two, using osc.slkl. For single speed bufctl.pds is 16L8 ************************fl* = * CLICOUT = /CL&~JT Appendix A.3 - 1C32, PAL22V1O-lOnS, CLKCTLS.PDS TITLE CLKCTL1O PATI’ERN BASE-CASE VIDEO CLOCK CONTROL PAL REVISION 1.0 AUTHOR COLIN MACDONALD I JOHN TRAILL COMPANY NO’IOROLA, EAST KILBRIDE DATE 13/01/93 CHIP IC32 PAL22V10 ==*************==*==*=*** * * ==*=** = ;PINS 1 2 3 4 5 SYS CLX XT2 SYSRW INVAS /CPU...RSTJJ ;PINS 6 7 8 9 10 /DTACKJ4 /BERRJ’I PB..RSTX PB..RST2 /IVR...N MOTOROLA AN4S2ID 18 PINS 11 12 13 14 15 ASDELAY GND JUMPER RW 2 S~I7C PINS 16 17 18 19 20 /SYSD’lX.Y LTCH_OrK RST2IERN /WRjIERMJ’i /RESETJ’~ PINS 21 22 23 24 25 /SYS..BERRJZ 0C2 DELAY_CLK VCC Vl0.SET ~UATIONS * *4* * *4*4*4 HISIORY: REV 0.1: Original REV 0.2: ACS changed to AS Added 2SMDTK term for 25MHz CPU operation REV 0.3: Changed PAL to 22V10 to allow more clocked and unclocked terms. Added DEACK delay for READ cycles REV 0.4: Added RESET term to OTACK control terms REV 0.5: Fixed D’1I( equations REV 0.6: Include push-button RESET, and control register termination for write cycles. REV 0.7: Assert dtack for lACK cycles. Change some pin positions. REV 0.8: Modify OTACK and BERR tristate control REV 0.9: PCB I.kifctr put Reset switch back-to-front -> swap PL.RST1 and PBRST2 to correct. REV 1.0: Modified DSACK generation for only 16MHz host processor operation. • ******* ** 4***** • ****.***** * DELAY CLOCK The address/data strobe and chip select delaying clock can either be the system CPU clock (SYS..CLK) or the VDSC XT2 clock. DELAY..CLK = SYSSLK DELAYSLK. TRST * VCC READ/WRITE CO~ROL Base Case Video RW is simply a buffered version of SYS.yW. ** RW = SYS..yW RW.TRST = VCC SYSID~ DTACK System DSACK1 is a buffered version of D’IICK terminated on AS rise. Assertion is held until 25MD’fl( is asserted Assertion during READ cycles is delayed until LTCILDlK is asserted. ** ** *** 4 INV...AS SYS..D’1K...N = DTACKJ4 /~ETN SYS.DTEN. TRST = D’I~CKj~ / RESET_N 25MH1 DEACK This term stops VDSC dtack terminating the next cycle. Asserts when DTACK is negated and AS is asserted. Since this term negates SYSDTACKJ4, and 1st line negates with DTACKJZ need to sustain till end of cycle *4* 2SMDTE * /DTACKJ4INV.AS/RESET.Y 25MD1X1NVA5 /RESET...N . 2SMYrK.TRST = VCC AN492/D MOTOROLA 19 LATCHED OTACK This term is used to delay the VDSC dtack on READ CYCLEs to ensure the microprocessor dtack asserted to data valid time is met. Used alone this term cannot guarantee adding a significant delay to an asynchronous input. It should therefore be used with sysclk. - *=* LTCH DIR : = UI~ACKN/RESETN • 1VRJ4 /RESE’rJr LTCH..DTK.TRST = VCC SYSTEM BUS ERROR System Bus Error not used in prototype - tn-state - *==*== * SYS...BERRJ4 = BERRJI SYS.$ERRJJ.TRST = OND CONTROL REGISTER WRITE TERMINATION On writes to D(JPLSR..REG and IPL...REG. the strobe should negate with dtack to ensure valid data is latched into the registers. A raw OTACK should be sufficient to accomplish this, but using a discrete PAL output gives added flexibility. • =**=== = WR.TERN...N = DTACK.J4 WRJERN_N.TRST = VCC * ==**=** BASE CASE VIDEO RESET RESET is driven either after assertion of SYS_RESET_H or after switch 51 is depressed. • **=*==** =***=***==*********== RESET.y PB...RS’I’l *RST...TERN = CPtL.RST...N + RESETJ4 . TEST = VCC RESET TERN RSTJERN is used to form a debounced, push-button reset =*==* =***= = RSTJERN * / PtYST2 + RESETJI RST.JIflN.TRST = VCC = V1Q MACRO CELL RESET System Bus Error is a buffered version of BERRJ4 ==********=***==****=* ***=* * V1OSET.SETF = OND VlO,,,SET. RSTF RESETJ~ Appendix A.4 1C27,PAL2OL8-7nS, DECODE7.PDS - TITLE DECODE6 PAT1’ERN BASE-CASE VIDEO DECODE PAL REVISION 0.6 AUTHOR COLIN MACDONALD / JOHN TRAILL COMPANY ~CIOROLA, EAST ICILERIDE DATE 22/08/92 CHIP 1C27 PAL2DLB MOTOROLA ANAS2/D 20 .444*4*4*444* *44444444 4444*44***4***4*44**44*444 44*444.**4444*44*4444**44**4 44*4444*4*4*44*444.44. *44*4*4**4.44444 :PINS 1 2 3 4 /SYS.Y5TJ4 /CSROHJJ RW /SYS...ASS ;PINS 5 6 7 8 IOP~~,A28 IOP...A29 IOP....A30 A17 PINS 9 10 11 12 MB A19 A20 PINS 13 14 15 16 Ml A22 /IRQSTEJ4 /WRJIERMLN ;PINS 17 18 19 20 /IRQ...ENJ4 /DUPLSRJJ /PROJ4 /RESET.J4 ;PINS 21 22 23 24 IPLREG VC...ADD A23 VCC EQUATIONS 44*444*4* 44 44*****44****4*44444444*4*4**4*4**44*******.. HIS’IDRY: REV 0.1: Original REV 0.2~ A26-A30 denoted as IOP....A26-IOP...A30 • : IRQMSIC..SELJI removed, RW added • : Moved RW and VCJDD REV 0.3: &lsure output buffers are enabled • : Added RESETJ4 output equation REV 0.4: Terminate control register writes on WR...TERM.N Change polarity of control register strobes. REV 0 . 5: Changed sel address lines from low order to high order, added proto area chip select. REV 0.6: Condition chip selects with AS for 25W operation. • * *44*4 444*4*4 *4*444*44444 4*4444 *4*4*44 VDSC ADDRESS DECODE If a system bus chip select is not used in STBCNV to generate the VDSC chip select, then this pal will provide a suitable address. Address lines A27-230 are only available from the 10P2 processor board, not the COIP. Their use is therefore optional. For the COIP based system the Base Case Video board is located at $0080 0000 - $OOCF FEET • **4**4444444*4*44 4*44*4.444*4**** *4 44*4*44444444 4/A224/A214/A204/SYS.YST.y VC..ADD =+ A23 A234/A224/A214A204/SYS...RSTN + A234/A224A214/A204/SYSRSTN + A234/A224A214A204 /SY&.RST.J4 + A23A224/A2l4/A20~/SYS...RSTJ4 VCADD. TEST = VCC - 444*444 *4444*4*444*4* 4444***44**444444***4**44*44444* INTERRUPT PRIORIn’ LEVEL REGISTER Address 5CC 0000 - SCD FFFF The IPLREG is a 16-bit wide write-only register, which contains the IRQ priority level for 3 interrupt sources. This allows an 10P2 based system to use backplane counter control lines as interrupts. With a CDIP based systen this register is not required. *=*44444**.***.*4*44.4** 44* 44*44444*444***t4 4444444*4*44 IPLREG = CSRO~~NAl94Al8/Al7’ /RW/WRTEAMJJ*5Y5ASji IPLREG.TRST VCC • =4*44*4**4*4*************.*4.*.** 444*4444=4*4444444* 444*•444444*44* DUPLICATE STATUS REGISTER Address 5CR 0000 - 5C9 FEET The DUPLSR register is an 8-bit wide write-only register, which contains a copy of the processor status register. This allows an 10P2 based system to use backplane counter control lines as interrupts. With a CDIP based system this register is not required. • 4*444*44444*44444*4*44*4444 444444444*.4**4 4*4 ***4*444*444444*4**44. AN4S2ID MOTOROLA 4/RW /WR ThRMJJ4SYS.AS.y /SYS..RST..N DUPLSRN * CSROM..NA19*/Al 8 /A17 DUPLSR.JJ.TRST * VCC - PRO’1~YTYPE AAEA C14IP SELEC’r Address SCO 0000 - 5C7 VFFF PROJJ allows selection of 0.5Mbyte (non-read protected) memory using VDSC CSROJCN. • PRO_N = CSRONN4/Al94SYS...ASJ~/SYS...RST...N PRO_N.TRST = VCC - INT~RUPT STATUS REGISTER Address SCE 0000 - SCF FDFF The IRQSTA register is an 8-bit wide read-only register. which contains status information on BCV board IRQs. This allows an 10P2 based system to use backplane counter control lines as interrupts. With a COIP based system this register is not required. • * * IRQSTAJ4 = CSROM....N*A19*A18*A17*/RW*SYS...A&.N*/~S.RST..N I RQSTA...N. TEST = VCC IRQ ENABLE Address SCA 0000 - SCE FFFF Asserting the IRO...EILN line Sets a term in 1C28 which enables interrupts handled by the BCV to be passed through to the system backplane. • IRO...EN...N = CSROr.LNA19 /A18*Al7* /RI.J’SYS...AS N’ /SYSRSIUN 1R0.EN.Y.TRST * VCC • 4****4**** *44*44*4* BASE CASE RESET Address suffers will normally be permanently enabled. • RESETJ4 * SYS_RST_N RESETJ4.TRST * VCC Appendix A.5 — 1C8, PAL22V1O-lOnS, IRQENC3.PDS TITLE IRQENC3 PATIERN BASE-CASE VIDEG INTERRUPT ENCODE PAL REVISION 0.3 AUTUOR COLIN MAC DONALD COMPANY 140’IOROLA, EAST KILERIDE DATE 06/08/92 CHIP 1C8 PAL22V1O • * * ;PINS 1 2 3 4 TIL...HI /DUPLSR...N /IRQVC...N /IRQB...N :PINS 5 6 7 8 /IRQC...N IPLVCO IPLVCI IPLVC2 ;PINS 9 10 11 12 IPLBO IPLEl IPLB2 OND PINS 13 14 15 16 IPLCO IPL2 IPLi IPLO :PINS 17 lB 19 20 AGTB /RESET..N /BC I RQN ECI RQTJ~ :PINS 21 22 23 24 MOTOROLA AN4921D 22 DUPLJ4R IPtCl IPLC2 VCC ;PINS 25 VlO.5E’r HISIORY: REV 0.1; Original REV 0.2: Added assertion qualifying for DUPLSR updates Changed to V10 for positive polarity output tenas Moved pins to simplify acheistics for 22V10 REV 0.3: Modified sustain terms of IPL(2:0) Fixed RESET polarity in pin list EQiATIONS INTERRUPT PRIORITY LINE lERO IPLO is generated if one of the IRQs with level corresponding to IPLO set is active and DUPL..WR is negated. IPLO is sustained if one of the IRQs with level corresponding to IPLO is active. IPLO = IRQVCJ4*IPLVCO* /IRQBj~*/IRQcjg./ryjp~Jq*/R~~_N + IRQBJ4* I PLBO /1 RQICJ4* /IRvCj4~ IDUPLSRJ4* /RESETJ4 + IRQCJJ 1PLc0*/IR@rCJJ* /IRQB N*/DUPLSRJr ,‘RESETJ4 + IpLD*IRQvCJq*IpLVCO*/IRQBJq*/IRQC~/~5~Jq + IPLD*IRQBJ4*IPLBO*/IRQVC..N*/IRQQ.N=/RESETJ4 + IPL0*IRQC..N*IPLCO/IRQVC...)P/IRQB..N*/RESETJ • ******************** * =***** *=** INTERRUPT PRIORITY LINE ONE IPL1 is generated if one of the IRQs with level corresponding to IPLl set is active and DUPICYR is negated. IPLl is sustained if one of the IRQa with level corresponding to IPL1 is active. • ******==********** *****= IPLl = IRQVC....N*IPLVCl*/IRQt.N*/IRQC...r/DUPLSRN=/RESETN * IRQBJJ* I PLEl * /1 RQVCJ4 /1RQC..N* /DUPLSRJ~ /RESET.N + IRQCJ4* I PLC1 = /1 RQVCJ4* /1RQB..N /DUPLSRJ4*IRESETJ4 + IPLlflRQVCJJ*IPLVCl*/IRQB...N=/IRQC.y*/RESETN + IPLl*IRQBJPIPLBl*/IRQVC..N/IRQC..N*/RESET...N + IPLlflRQCN*IpLCl=/IRQVCN*/iRQBjq/R555~Jq INTERRUPT PRIORITY LINE 2 IPL2 is generated if one of the IRQs with level corresponding to IPL2 set is active and DUPLWR is negated. IPL2 is sustained if one of the IRQs with level corresponding to IPL2 is active. • * =***==*=*=== == IPL2 = IRQVCJIPLVC2/IRQBJJ=/IRQC/DUPLStN=/RESFI.y + IRQBJ4 t IPLB2 IIRQVCJ4= IPLC2 ** /1 /1RQC...N /DUPISRJI RQVCJ4* /1RQ&N /DUPLSR....N* IRESE’I’J4 /RESETJ4 + IRQCJI + IPL2*IRQVCJ*IPLVC2*/IRQBJ4* /IRQC...N* /RESET..N + IPL2*IRQB..N*IPLB2*/IRQVC...N*/IRQC...N*/RESETN • IPL2*IRQc...N*IPLC2*/IRQvC...N* /IRQBJ4*/RESET.N - * =* == TIMER GATE INTERRUPT This output generates a rising edge to form a processor interrupt through the Timer ‘IGATE pin. As the 7485 will output an active high signal, this output is simply a buffered version of that. • ==*== == BCIRQT...N = AGTB • ****==************ SYSTEM INTERRUPT This output generates a falling edge to form a processor interrupt through (normally) SYS...IRQAJJ. • * ==* = BCIRQJ4 * AGTB • DUPLICATE STAflJS REGISTER WRITE CONTROL • ** AN492/D MOTOROLA DUPL...WR DUPLSR•N • 4 ****4444*444*.*4** 44* V1O MACRO CELL RESET Enables outputs • * 4* VlOSET.SETE OND Vl OSET. RSTF RESETJ1 Appendix A.6 - ICi, PAL22V1D-lOnS, IRQPRI4.PDS TITLE IRQPRI4 PAITERN PRIORITISE INTERRUPTS REVISION 0.4 AU’Th40R COLIN MAC DONALD COMPANY MO’IOROLA, EAST KILERIDE DATE 10/07/92 CHIP ICl PAL22V10 • ********44 4 .4*4*4*4*44 4 *4*4*4 * ;PINS 1 2 3 4 5 XT2 /IRQBJJ /IRQC34 /IRQVCJ4 VCGTB ;PINS 6 7 8 9 10 VCGIC BGTC /RESET...N /IROENBLJ4 /IVRJ.J PINS 11 12 13 14 15 PUl GND PU2 IRQCTERM IRQB...TERM PINS 16 17 18 19 20 ENBL..TERM /IROQOJi /IRQB...Q..N / IRQVC 034 NCl ;PINS 21 22 23 24 25 NC2 NC3 NC4 VCC V10...SET EQUATIONS • * ******* *4***********4**44*4**44 *4 History: REV 0.1: Original REV 0.2: Xfl_N -> xT2 reducing loading on XT2N • PALCOUT and CLRIRQ added. REV 0.3: IRQ outputs are not enabled until D4BL..TERM is asserted. REV 0.4: Change to 22V10 for flexibility. Add IVRJ4 to block changes during lACK cycle. 4*4*44* IRQB VALIDATION TERM IRQE is latched by XT2 clock to ensure interrupt is not caused by backplane noise. The validation term is then used to produce the IRQB output. • *t***4*t4t****4************4** *44**4**.****4*44******t*44*44* IRQB...TERH :* IRQB34 IRQC VALIDATION TERM IRQC is latched by XT2 clock to ensure interrupt is not caused by backplane noise. The validation term is then used to produce the IRQC output. • **4.4********4*4***4** 4*444*44 4*44*4 IRQCTERM :* IRQCJ4 • 4*4*4*4*4 44 **4*444******444444*4****** 4*4* IRQB OtF1’PtJT An interrupt from SYS.JRQB is propagated if it has a greater priority than any active IRQ. • *44***4**** *4* **.**** * 444*4* tBGTC4ENEL TERM*/ 1VR344 /RESETJ4 I RQB..O34 *+ IRQB.JJ* IPQtTERM /VCGTE IRQEJ44IRQE...TERM4 /IRQVC.D34DDTC4D4BLTERM4/IVR...N4 /RESET34 + IRQBJJ* IRQB...TERM / IRQC.OJ4~ /VCGTE*DEELTDM*/ IVRJI4 /RESET34 + IRQt.0J44 IRQB.J44 IRQLTERM’ /1/COTS4RGTCENEL.TERM / RESEtH MOTOROLA AN482/D 24 4IRQB34~ IRQB...TERM4 /I RQVCOJ4DDTU4E?LTERN4 /RESETJ4 + + IRQB.O..N I RQB34 IRQB.TERM4 / I RQC...O.N* /VCGTR4RNB1,.TERM~ /RESETJ4 IRQB...O...N • ********4*******4****44444**4**4**444**4***4***444444*44*44*4444*44 IRQC OUTPUT An interrupt frcas SYSJRQC is propagated if it has a greater priority than any active IRQ. • *****4***4**4*4*4*****444*****4444*4*4**444*4*444**444*4**444*4*44* IRQC..034 = IRQCJ44IRQCTERM /VCGTC /WI~l’C4ENBL...TEN44 /IVR.J14 /RESET.J4 + IRQCJI4IRQC..TERM4 /1RQVC.034 /BGTCaIBI 4/ 1VR344 /RESETJJ + I RQC344 IRQC...TERM*/IRQB...0J44 /VCGTEIBL.TERM4/IVRJB4 /RESET...N 4...TERM + IRQC...O...N I RQCJ4 IRQC...TERM4/VCGTC* /~TC~RNBL..TEBM4 /RESETJ4 + IRQC...0J44 IRQC344IRQCTERM4/IRQVC.0344 /BGTC4RNBLTERM4 /RESET...N + Ii~C...OJ4 IRQC34 IRQC.TERM4 / IRQB...OJ1* /VCGIt’RNRI,.TERN IRESETJ4 IRQVC OUTPUT An interrupt ~from the VDSC is propagated if it has a greater priority than any active IRQ. IRQVC...034 * IRQVC34VCGTEVCGTENBLTERN /I1J&34*/RPSET34 + IRQVCJ4 /IRQC...O...N4VCGWENBLTERM/IVRJI4 /RESET34 + IRQVC.Y* / IRQB...O344VCG’ItENBL...TERM4/IVR.y /RESET...N * IRQVCOJ4IRQVC34*VCGTE4VCGTtENBL 4 IRQVCJ4 /1 R O34VCGTBENBL...TERM /RESET.Y 4..TERN/RESET.Y + IRQVC...0344 IRQVCJ~ /IRQB.0.Y4VCGTCE?IBL...TERM /RESETJ4 + IRQVC.Q..N RNBL.TERM The RNBL1~M is set, ~‘ writing to the IRQ0LRD3 address in VDSC CSIO address apace (thus asserting IRQRNBLJ4). This is written once after the IPLREG and DUPLSR...REG have been initialised, shortly after RESET. C~ce set, this term is asserted until RESET is driven low. This function is required to prevent interrupts being generated before the BCV interrupt vector register has been initialised giving non-valid interrupt vectors. • **********4***4** ENBLTERM := IRQ..ENBLJI4 /RESET34 + ENBL..TERM* /R5SETN • *4* *4 4 4***44**4****4*4**4******4*4* 4444*44 VIO MACRO CELL RESET System Bus Error is a buffered version of BERR34 • ****4*****4***44* *44* 4*4*44* V10...SET.SETF = GND VlO34ET. RSTF RESET34 Appendix A.7 - 1C38, PALZOL8-7nS, STBCNV8.PDS TITLE STBCNV9 PATIERN BASE-CASE VIDEO STROBE CONVERSION PAL REVISION 0.9 AUThOR COLIN MACDONALD / JOHN TRAILL COMPANY MO’XOROLA, EAST KI LBRIDE DATE 16/10/92 CHIP 1C38 PAL2OL8 • 4 ;PINS 1 2 3 4 /SYSJ~S34 /SYS...A56831 /SYSDS34 /SYS.UDS..N :PINS S 6 7 8 /SYS..LDS...N SYS...SIZO SYS..SIZl SYS...AO PINS 9 10 11 12 RN DSDELAY AS.DELAY aND PINS 13 14 15 16 VC...ADD /RESET.Y DBUETDIR /VC...CS.Y ;PINS 17 18 19 20 /LDS34 /UDSJ4 /DBUET...EN34 IN’LDS AN492JD MOTOROLA ;PINS 21 22 23 24 INV...AS ADDO NODELAY VCC • =*=*****== =* = = *** HIS’IORY: REV 0.1: Original. P2 Backplane with chip selects AO input from f244 buffer. REV 0.2: Backplane with additional IRQ’s no chip selects • . AO input from SYS. REV 0.3: Simulation problems - ensure outputs are enabled. REV 0.4: Fix INV...DS..N coissent error REV 0.5: Fix polarity of VDSC CS Fix BUFFEN..N vs BUFOIR REV 0.6: No UDS.LDS delay. selected by r4)DELAY input from )uzrper • . connected to P1N23. REV 0.7: 10P2 version - SYSUDSN = lACK, include in OBUFF eqlations. REV 0.8: CDIP version - SYSUOSM = SYSUDSN! • **=*==****** EQt~.TIONS • = = * Data Buffers F~able - 10P2 version (now saved as version 0.7) • =* ===*=***.***==**= *=***=******=***=* DBUFF...EN...N = VC...ADDSYS.AS N* /NODELAY*AS DELAY= /RESETN • VC...ADDSYS...AS N*NODELAY* /RESET...N • + SYSUDSy*SYS..AS N/NODELAY*AS DET,AY*/RESET_N + SYSUDSN=SYSJs N*NODELAY* /RESETN • + DBUFF..ElLN=SYs DS..N* /RESETJ4 Sustain with 05 • = ===*********==*==**** Data Buffers I~able Databus buffers are enabled after SYS...ASJ~ and sustained with SY&.DS..N. If NODELAY is negated then output is dependent on AS.DELAY. DBUFF.E1CN = VC...ADD*SYS..).SN* /NODELAY*AS DELAY’ /RESET N + VC...ADD*SYS...ASNNODELAY= /RESET.J~ + DBUIXENN*SYSDSN*/RESETJ.~ Sustain with OS Inverse Address Strobe If a backplane chip select IS NOT used for decode of this board, then INV.AsJ~ is EITH~ the inverse of SYS..ASJ’i or of SYS..A568N. INV..ASJ~ is used to combat backplane noise. It is used to delay the address validation signal until signals are stable. • *==*===*== *==**= INV..AS = SYS....ASJ~ /RESET.JJ Inverse of System ASN • =***********=***=**********=********* = Inverse Data Strobe INV...D5J4 is used to combat backplane noise. It is used to delay the data validation signal until signals are stable. If 68000 processor signals are to be used to access this board INV...D5J4 is programmed to be the inverse or SYS UDS N and SYS_LOS_N If 68340 processor signals are to be used to access this board IWLDS...N is programmed to be the inverse or SYSDSN. Delayed INV...DS until CS is valid to prevent potential timing violation. • = *=*= ==*=***===*=*** = INVDS SYS_OS_N*VC_C5J4’/RESET3 68340 access * SYS.LDSN’/RESETJ4 + SYSUDSJ.J*/RESETJ4 68000 access =*******************=*=** Upper Data Strobe If 68000 processor signals are to be used to access this board UDSJ4 is created from SYS_DOS_N If 68340 processor signals are to be used to access this board UDS.J4 is created from SYS..D5, 5Y5.AO, SYS..SIl0 and SYS SIll. UDSJ4 * SIZl*DS*/RESET (word aligned) + /SIl1*/AO*DS*/REsET ( even byte & long word aligned) MOTOROLA AN4S2ID 26 If NODELAY is negated. UDS assertion is delayed by D&DELAY whose timing is selectable via jumpers. If NODELAY is asserted, UDS is independent of DS...DELAY. UDS...N = SYS..SIZlSYS,.D5J4*/NODELAY*DSDELAY,RESETJ4 68340 signal access + /SYS...SIZl ‘SYS..D534’ /NODELAY*OSDELAY* /SYS..AO’ /RESETJ4 + SYS..SIZl’SYSJSJ~’NODm..AY’/REsETJI ; 68340 signal access • /SYS..SI El *SYsJ3SJ4*NOD~Y* /SY5..AO’ /RESETJ4 UDSJ4 = SYSUDS...N’ /NODELAY*DSDELAY* /RESET...N 68000 signal access + SYSJIDSN*NODELAY* /RE5ETJ~ 68000 signal access Lower Data Strobe If 68000 processor signals are to be used to access this board LOSJ~ is created from SYS..LDSJ’l If 68340 processor signals are to be used to access this board L05J4 is created from SYSDS. SYS...AO, SYS SIlO and 5Y55I11. LOSJ~ = SIZO*AO*DS*/RESET (odd byte) + /SIl0=DSIRESET (word & long word aligned) If NODELAY is negated, UDS assertion is delayed by OS...DELAY whose timing is selectable via jumpers. If NODELAY is asserted, UDS is independent of DS...DELAY. • =*=*==******====************************* LDSJ~ = SYSSIZ0’SYS..DSJ~ fNODELAY’DS.,OELAY’SYS~0’ /RESETN 68340 signal access + /SYS SIlO *5Y5.OS.Y= /NOOELAY’DS...DELAY* /RESETN + SYS_SIZO’5Y505J4’NOOELAYSYS.,A0*/RESETY 68340 signal access + /SYS....SIZ0*SYS...DS..y*NODELAY*/RESETJ~ ;LDS...N = SYS LOS N*/NODELAY*DSDELAY*/RESET_N • 68000 signal access LDS...N = SYS...LDS...N*NOOELAY*/RESET.Y , 68000 signal access • =*=**** ************= = VDSC Chip Select The VDSC CS not only allows access to the video and system DRAM. it also allows selection of control registers through the VOSCs CSIOn. The VDSC CS is derived from a decoded address signal from 1C30. The VDSC CS can use either a 68000 AS or a 68340 AS. If NODELAY is negated, VDSC CS assertion is delayed by ASDELAY whose timing is selectable via jumpers. If NODELAY is asserted, UDS is independent of AS...DELAY. • = **=*=*=**********=*===**** VCCSJ4 = VC..ADO*SYSJ,SN*/NODELAY=ASDELAY*/RESETN 68340 AS + VC....ADD’sYSJ.S..N=NODEI,AY*/RESETN 68340 AS ;VC CS N = VCADD*SYS..AS68N*/NOOELAY*ASDELAY,p~ET~J 68000 AS + VC....ADDSYS....A568 N*/NOOELAY* /RESET_N 68000 AS • ==*===**==** =*=* ===** *** Data Buffer Direction Control Data bus dir asserts (active high) during write cycles. DBUFF...ENN must therefore be disabled except during • ***= =*=* *** DBUFF...DIR = /RW’/RFSET...N • ==*=* *=*=** *===*== * ADDRESS LINE ZERO Data bus buffers can be enabled for all writes but only on board decode for reads. • = ADDO = SYS..AO AN492/D MOTOROLA ‘7 Appendix B—Schematic Diagrams of the BCV Board Appendix B.1 TOP LEVEL BLOCK-i, Top level block diagram Appendix B.2 DIGITAL VIDEO, Digital video module including MCD21 0 Appendix B.3 DRAM, DRAM module Appendix B.4 INTERFACE, System interface Appendix B.5 INTERRUPT, Interrupt control circuitry Appendix B.6 ANALOGUE VIDEO, Analogue circuitry for video input/output Appendix B.7 PROTOTYPE, Mixed signal prototype Appendix B.8 TOP LEVEL BLOCK-2, System bus connector Appendix B.9 TOP LEVEL BLOCK-3, Video connectors including MPEG Appendix B. 10 TOP LEVEL BLOCK- 4, VME P1 connector Appendix B.1 1 TOP LEVEL BLOCK- 5, Decoupling capacitors MOTOROLA AN492/D 28 -C C -• C CCC C C ~ -~ C z 0Th 0Th Appendix B.1 TOP LEVEL BLOCK-i, Top level block diagram AN4S2ID MOTOROLA ~)0 A fl*00* 0 -.-.0,0 — 2* - ‘I ~ = p =1 10 00 ~I~~;• ~ = * 0 21*1 2, I 1411ifr4t4’ ‘I-i GEE Lj C rn- 0 flu— tie 5I I~i Ste Appendix B.2 DIGITAL VIDEO, Digital video module including MCD21 0 MOTOROLA 30 AN4S2ID 9 Appendix B.3 DRAM, DRAM module AN492/D MOTOROLA ~ist C z -~ ~ a ~..-zb CO Li ‘ci lII~I~ ~ 0 n — 4. 5. :0 Li 0 zi~ 5 z ~wo ~I ~ 1TTti~~ *3 0 = o a I— U, I 0 0 0 “F -• OZ a - Li C: 0. U) I 0.0. (0 U) U) 0*3 0 Appendix B.4 INTERFACE, System interface MOTOROLA AN4921D 32 z ~ 2 D ~ 0 a: eziEg a U, 0 Gte Ca 2 U, 2 z z 0 s o o a a — 2 2 2 0: C.) U, U, U, U, :- :- — — U, 0Th U, U, 21 TT z ~ 0>~> o U, C. _ a 2 — 2 C-, a — .4 2 — 2 U, Appendix B.5 INTERRUPT, Interrupt control circuitry AN482/D MOTOROLA LU. L) ~a H-H’ 0 - 695 — 0 a: z 0 j 10~ 95 10 — L) 0 0~ K - 2 SI = = • N • U: N H 0 2 4 U: 0 1- - 44 U: - U:> 4-4 0 —~ f~•• — U: - - -- 00-4 4= ‘C) L~ i-i 0: LU 0. C u S .0 ii- r 0 L 0 100 -. 0 !~t2 P1 00 0 9~iLLU 10 01 4 -£ 0 L 5. 000 U,~ 5 C L H OC I--, H-i a 5 LU a LU -o a C LU 0 00 j 0 L 2 9 -‘ a .0 I~J~J ~0 z 000 0 P j 0 — 10 .0 ~ C., 5 Ut z 0 0 Appendix B.6 ANALOGUE VIDEO, Analogue circuitry for video input/output MOTOROLA AN4921D 34 a: a: 0•) flu a: a: z :1 a: a: C) a: a: C-Z00ZZZZZ U.]» o c\J I’-. izzzz(,-~z)a:~a: IT Du.] a: ~ ~ > L.1 a:L~Z a: a: (2 U-: z z C) a: 1 a:—r~m~n~.- w zza:I- I a:——~~--a:c~ a:u-: ~a:—~u-:cnr—a:c — z uj r a:a: a: a: a: a: a: a: a: a: a: a: a: a:a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: ~ a: a: ~ a: o a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a:o o o a:a: a: a: a: m (0 ru ~JC.n — a: a:C) a: a: _ = a: z a: C) 0.- Appendix B.7 PROTOTYPE, Mixed signal prototype AN492/D MOTOROLA I)’: a: a: a: U,, a: U, -J a: Cr) I-- lxi a: C) a: U, U, U- z zzz z i- II) Iza:~z a:a:a: ZUJ (oj ~UJ I—~(2(0 a:—flum~’U-: LUC)Z Z~(2~ a:—r\Jm~’U,(0r.-a:o-: — a:a:a: —a:a:oa: a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a: a:a:a: U-I—I-—C)— Ill (U-: U, U.) U, U, U, U, U) U-: In U) U-: U-: U, U, U-: a: (2 u-: U-: U, a: (2 U-:U, U-:U, U, U, (2 a: (2 >- >- U- >- >- >- >- )- U- >- U- U- U- U- U- U- Z (2>- U- U- Z (2 U- U- U- U- U- U- C) Z (2 U, U, U, U, U, U, u-: U) U) U, U-: U-: u-: U, U, U, (0> U, U, U, (0> U, U, U, U, U-: U,> (0> zz liz Z~—I z zZ ZZZZZ a:a:zzI~~— a: II liii F Ia:—t)(2w ZZZ— -a: a:(2a:LUJua: a: (2U,NJNa:a:U, I h- ...Ja: ca:a:c~a:~ ~ —a:a:a:—--U,U,uJ U,U,zO.. a:w a:a:a:a:a:j -J a:a:D.JU,(r~a:a: a:a:a:a: ~ (2 (2 (2a: U, U, U, U, U, U.V U, U, a: ~ if) U, InIna: (2 (IYJ) a:U, U, U,U, U, U, a:~ a: (2 (2Z U- U-U-U-U- U-U- U- U- Z C) U—)- >-~--Z (2 U->- Z>- U- U->- U->- Z>- Z(2 >(0 U,U,U,U,U,U,JU,U, (0> U,U,U,U,(0> U,U,(0U,U, U,U,U,U, (0U, (0> a: a: U, U~U a: U, --- U, U, 5~N5 U, 100 0 z zzz I (I a: z z z z a: a: a: z I I— I— — — I (T) a: a:a: ~ a: a: u~ a: (U - a: — cu () ~ (0 r~ a: 0) a: — flU1’) (2>- (2~ U.]C) Z (0 U, a:—i-IJm~U,(nfl-a:m r~jcjruru-a:a:~a:a:a:U, a: U~~~’U~I’ a: a: a: a: a: a: a: a: a: a: a:a: a: a: a: a: a: a: a:a: a: a: a: a: a: a: — — a:a: a: a: I U, I I I I I I I I I I I II I I ( I I I I I I ( ( I I I I I I I U, U, U, U, U, U, U, U, U, U U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U- - U->- U- U- U-U-U-U-U-U-U-U-U-U-U-U->->- U-U-U-U-U-U-U-U-U-U-U-U->->- U,j U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, Appendix B.8 TOP LEVEL BLOCK-2, System bus connector MOTOROLA ANdS2ID 36 U— U- Lu U.] 0) a:a: a: (a:IIa: I U-a: I— (~—~ )~ U- — ~ Zz a: U-a: a:za:o~z— Lu a: 0~ LULuOZ 0(0 zz a:Z 0—0C)Lu—a:za:cuO—fr-C)— a:a:0—U- F F —(0 a:(0 I I I (a: 10U, I I (a: FiIILu (2(2 I I F I —a: -a: ~a: oa:a:a: (a: I Fza:za:a:a:o~o~oa:a: ZZ » » a:Z a:Z OZ UJ(2LuU-UJU- U- IZU.JZLUJLU I U-U- Q.~ 0D. 0(0 0(2 0(0 a:a:a:a:a:oa:zUJa:uJa:0a:0a:0~00~ U,U, ~E ~z F F I F I I a:a:a:a:a:a:a:0Ui0w.J—J——0 a: 0-: a: a: a: a: z z z z a: (0 (0 (0 (0 z I F F a: U- U- U- I- a: ~ a: U, C) a: a: a: a: a: a:a: a:a: a: a: a: a: a: a: a: a: a: a:a: a:a: a: a: a: a: a: a: a:a: a: a: a: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzZz a: a: a: a: a: a: a:a: a: a: a: a: a: a: a: a: a: a: a: a: a:a: a: a: a: a: a: a:a: a: a: a: N N N— N a: a: a: a:a: a: a: a: oa: a: a: a: a: a: a: a: a:a: a: a: a: a: a: a: a: a: a:a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: a: (0(0(0(0(0(0(0(0(2(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0 I F F I I I I I I F I I F I I I F F I I F I I I F I) I I I F » > » »» » » > > > > » » > »» »»» (2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2(2C)(2(2(2(2(2(2(2(2(2(2(2 a: a: a: a: a:a: a:CC 00)0) a: a: a: a: a: a: a:a: a: a: a: a: a: a: a: a: a:a: a: a: a: a: NP) NN(flifP100000000000( U:U:U:IUUOO m I F I I I I I I I I I I I I I I I F HF U- U, Lu U- C) zzz z a: a:—ruc)~Lfl(Or.-- I I I zzZZzZZZa:—c\Jm~In(or.- C)C)C)Z Z~ 0)—(UU,(0WUJLuLuLuU.]LuWLuUJUJLU zzz (z Iz a: a: a: a: a: 00 a: ~ w Lu w u Lu Lu Lu a: a: a: a: a: a: a:a: (U U- U- U- a: (Ua: a: Lu Lu CCCCCCa:0a:CCa:WJ ..J J .] J ...J J U-U, U, U, U, U-U, ~ a: a: a: a: a:a: a: a: (0(0(0(0(0(0(0(00) a: a: a:a: a: a: 0)>( > C)> >~> a: 00 U- U- II F F F I F F F F I F ((liii)))))) II III IF z z a: a: »» » > > > » »» » » > > > > »> »»» (0(000 C)(2(2(2(2(2C)C)(2(2(2(2(2(2(2C) C) (2(2(2(2(2(2(2(2(2(2 C) (2(2(2(2 I I F a: a: a: a:a: a: a: a: a: a: a: a: a: a: a: a:a: a:a: a:a: a: a: a: a: a: a: a:a: a: a: a: U-C) U-C) ELU a: a: (U a: -J (0 C) a: (2 U- C) C) a: a: C) a: Appendix B.9 TOP LEVEL BLOCK-3, Video connectors including MPEG AN482/D MOTOROLA = — 2r C’Y= C’ C’ 10 1) 10 10 LU U) LU 0.) 1N1(U1001U:JC’jNjC’1—1N*1WU:C’P) C’ 0.’. 0.0.0.0.0.’. 0.0.0.0.0.0.0. -J NC’)aU) a D—U~LOr-0O) — a: a: a: a: a: a: o a:>>> Lu a a a a a a a a a a a a a a a a Z Z Z Z Z Z 2 Z U, U, U, C) ,.. , + + a a aa a a a a a aa a a a a a a coo Do a: a: o a: eeoc a: 00 .4 LI) 0.] I)) Lu Lu LI) UJ LI) LI) LI) Lu Lu Lu Lu 2222222222222222 — nj m a U, (0 r- rumaU,(or-oa:o—nj — ~) U, (0 fl 0 a: (“a DL DL DL DL 0000000 aaaaaaaaaaaaaaaaaaaaaaa Ut Ut Ut Ut Ut Ut Ut ~I)t.4Lu:4:4:4Lu:4:4(2:4Lu:4:4:4Lu:4:4:4:4:4:4:4:4:4 Lu 222222222222222222222222222222 5. 5.>>> 5.>>>>> >5. 5. >5.5. 5.> 5. 5. >5. 5. 5. 5. 5. >5.5. 2:2:02:01 U)FC’IC’FC’FC’FC’FC’IC’FC’IISFC’IC’F*,FC’IC’IFC’IC’IIILUbhIdImILUIuILUI FIFIFFIFIIFF IF IF FIIIIIFFIL II 0 — * * * * * *~ Lu....] C’ * * S ZO * 55 ~ U,.—. DoDD ZZZZ—0*~Lua:*..J*Lua* *5 * *0000 C’ ~ o — CU) C-) a U, 0 — C’,) (1) 0 — DL C-) * 0— 0 — filLm C) C) U, a —. 0(2 U, .4 U, U, Ut 2 2 2 E 2 2 Ut Ut Ut Ut (0(0 ID (0 U, U, U, (0(0(0 co a a 0) U- Ut 2 a U- C) U- U-Lu a a a a a a 0)0)000)00)0) a a: 00000 ——00 2 -) — U, 0) U, U, 0) Appendix BlO TOP LEVEL BLOCK- 4, VME P1 connector MOTOROLA ANdS2ID (SI LOU U: IL ::,, :000’.UO,JUU IIICU SO. (LU:” U, 2U It:., 50’ 0 U U~ .~ 1U — + + — + CS :U’•LU•1.•’V4 - U2U — + — + — + 01,’ :1.1(1 + — + — + (18 111 LOS ,*‘f 0:.-?*1 :1.’ U, ,10LU.U.l ‘00 0:20, + — + — + (N (19 :000’ 0,201 — + — + + + (08 LIDS (IS U nfl 000’ 0:.?U UU’~ 0~JL0 LU U:2U1 CCC’ 00281 + + — 4- + (:5: 5800 LI: 0,207 00:’ c~o: 002(0 — :z: (‘207 0*00 0(2*1 + — + + + (SO (CU (II (III (:0 *0*1 DUJUU UC”~ :0200 ‘1 UU2U1 I**0F.5*:201 :0*00 LU201 — + — + — + — + + (II :1: 1.: U., :15 0:01 SCUll LU’’ bo.-lUZ” N IU*8f .200 002 :(2U1 + — + — + :05 (U: :1, ((0 UOLUU,.,U: — 1:’:],IUZ LU:01 U02U ((LU ::2:U ‘ + — + + + + (SO (US 60 01 Lb (II L*’~ U,.-l:U 100.’ LCI0 U!’’ 10’’•. ((~1 U’.CUUI(ULU U.2(U — + — + — + — + IlL 1-•:U. <1 IOU.’ SCUll LOG .LO’• 112C IoU.”’ —(‘JUl+ . — + + — + — + (2: IlL (00 Us’ (C’ DCI .~ U’ -- C0 (‘(LI C” U:.CU: — + — + + + + :11 (03 los :ULU 0.211 ‘‘~0 :U~:10 *000 *0 0 C” 0, 001 — + — + + + 4 (21 JS (SI (Si 0L9’ 0*20’ %C) IU’..1U0” :.JL, ,‘ 0100 ‘201 0:01 LO (LI + — + — + — + + + I LI) (U, — . .. - . -- 000’ C-JUl 500.’ .1’302 LU :‘21 U~ >21’ + + + + OCCr 0’..OLZ 0’:’ 0’..:00 I 0:200 9’ + + — 4 — + .1:1 (‘DO 0 (‘2:0 :1 1121. Appendix 9.11 TOP LEVEL BLOCK-S. Decoupling capacitors AN492/D MOTOROLA APPENDIX C—Tables of jumper settings for the BCV board Function J6 J4 J7 Ji J2 J23J22J21J27J17J25J24J28 Directosc.drive 2-3 - 5-6 - - - - - - - - - - Devidet2 osc drive 1-2 - 3-4 - - - - - - - - - - Protooscdr,ve - - 1-2 - - - - - - - - - - Validate banki DRAM - - - 1-2 - - - - - - - - - In-validate banki DRAM - - - 2-3 - - - - - - - - - Validate bank2 DRAM - - - - 1-2 - — - - - - - - —— In-validate bank2 DRAM - - - - 2-3 - - - - - - - - NoASIDSdelay - - - - - ‘4 x x 1-2 ‘4 x x - DelayASbyl clock(max) - - - - - ‘4 x x 2-3 - - - - DelayASbyl-2clocks - - - - - x ‘4 x 2-3 - - - - Delay AS by 2-3 clocks - - - - - x x ‘4 2-3 - - - - Delay DS by 1 clock (max) - - - - - - - - 2-3 ‘4 x x - DelayDSbyl-2clocks - - - - - - - - 2-3 x ‘4 x - DelayDSby2-3clocks - - - - - - - - 2-3 x x ‘4 - CD-i System Bus based - - - - - - - - - — - - 2-3 — NB: “x-y” means connect pins x & y of jumper. “!x-y” means don’t connect pins x & y of jumper means .“‘4” connect. “x” means do not connect. means don’t care. “!y” means don’t connect pin y of jumper. - Table 9. General Configuration Function J3 J12 Jil J1O J9 J8 J5 J28 IRO output on IROA 2-3 x 1-2 x x x x 2-3 IRO output on IROB 2-3 x 2-3 x x x x 2-3 IRO output on IROC 2-3 x x 1-2 x x x 2-3 IRO output on IROD 2-3 x x 2-3 x x x 2-3 IRO output on IRGE 2-3 x x x 1-2 x x 2-3 IRO output on IROF 2-3 x x x x 1-2 x 2-3 Table 10. Interrupt Configuration MOTOROLA AN4S2ID Function J3 J12 Jil J1O J9 JS J5 J28 IRO input on ROE (lOP only) 1-2 - x !3 2-3 !1 - 13 IRO input on IROF (lOP only) 1-2 - x !3 li 2-3 - IRO output on IROC (lOP only) 1-2 x x 1-2 !1 !1 - 1-2 lROoutputonTGATE(lOPonly) 1-2 ‘1 x x Ii ‘1 x x lACKsupport(lOPonly) 1-2 x 1-2 - !1 !1 4 1-2 NB: C’x-y0( means Connect pins x & y of jumper. ‘1x-y means don’t connect pins x & y of jumper ~“4”means connect. “x” means do not connect. means don’t care. “Iv” means don’t connect pin y of jumper. -“ Table 10. Interrupt Configuration FUNCTION J13 J14 J15 J16 J18 J19 J20 J29 BCVPAL Video - x - - x x x - BCVNTSC Video - 4 - x x x x - Test Video 2-3 - - 4 4 4 4 - SCART P19 = Composite video (C-2) 2-3 - 1-2 - - - - 1-2 SCART P19 = Sync, RGB video (C-i) 1-2 - 2-3 - - - - 1-2 SCART P19 =Sync, RGB overlay (C-3) 1-2 - 2-3 - - - - 2-3 NB: “x-y” means connect pins x & y of jumper. “!x-y” means don’t connect pins x & y of jumper .“4” means connect. “x” means do not connect. means don’t care. “!y” “-“ means don’t connect pin y of jumper. Table 11. Video Configuration AN4921D MOTOROLA APPENDIX D Layout of Base Case Video Board — MOTOROLA AN482/D d9 APPENDIX E Simulation of IRQ Circuitry — The following simulation shows the operation of the BCV’s IRO circuitry working in an 10P2 environment. The simulation conditions are as follows: 25MHz 10P2 operation, zero AS/OS delay on BCV board and worst case PAL and VDSC timing. The simulation shows an interrupt on SYS_IROLN occurring during an access to DRAM. The next cycle is a write of $24FF to the duplicate status register at address $C80000, setting the interrupt mask level to 4. Cycle three is a write of $DB7C to the interrupt priority level register. BCV interrupts are enabled in the next cycle, by accessing location $CAOOQO, which causes IRQENA_SEt_N to be asserted. During this forth bus cycle BCV_IRQ_N is asserted, causing the processor to run an interrupt acknowledge (lACK) cycle in the next bus slot. This lACK cycle causes IOPIVR_N to be asserted, which negated the BCV interrupt output and uses the IOPIVA to provide an interrupt vector ($DD). The final slot is another access to DRAM. AN4921D MOTOROLA MOTOROLA AN4S2ID APPENDIX F Base Case DRAM Test Program — The following assembly language program (RT1 .A) can be used to test BCV DRAM in an MCDS running OS-9. As written, it tests a 0.5 MByte area of memory between locations $AOOOOO-A7FFFF, but by editing header definitions, any range can be chosen.The program can also be easily modified to perform more tests using different data test values. The program, which is fairly simple and has many comments, can also be used as a learning vehicle for someone wishing to start programming in OS-9 assembly language. RT1 MAK is a simple example command file that can be used to assemble the program, by issuing the following command at the OS-9 prompt: make -uf=rtl mak * * RT1MAX (RANO’ES’rl Makefile) * OS-9 Nakefile for assembly language programs Author : Cohn Mac Donald * Date , 9th-Nov-1992 * Revision : 0.1 * Outline : Takes source files (rtl.s) fran /dd/USR/CM = : Places relocatables (rtl.r( in /dd/CMDS/CM = : Generates and places stbe in /dd/CMDS/CM,S’rB * I User needs to create dusmy file v4.lst and place * : in source directory * RC =r68 Lc =168 CC =cc SDIR ODIR * /dd/cmds/cm ROIR = /dd/cmds/cm SLIB = /dd/lib DOIR = /dd/def s RFLAGS = -g -s -m=0 LIES = -l=S(SLIBI/usr.l LFLAGS 01 -g -s RFILES = S(RDIRI/rtl.r AFILES = S(SDIR)/r£l.a DF’ILES = S(DDIR)/oskdefs.d MAKER 01 ash rtl , S(RDIRI/rtl.r S(SDIRI IS (MAKER) @echo ‘Found linker dependencies 8echo ‘Processing explicit co!rmands . . . - S(LC) —g -s S(LIBS) S(RFILES) -o=S(ODIR)/S -m >+S(SDIRI/S.lst 8echo ‘Linking complete, augmented listing @echo S(RDIRI/rtl.r I S(AFILESI S(DFILESI S(SDIRI/S(MAJ~RI Qecho •Found assembly dependencies Qecho ?,Deleting old assembling listing copy ~‘4.hstS.lst -r del $(SDIR)/$*.hst 8echo *Processing explicit caisnands S(RC( S(RFLAGS) rtl.a ..o=SIRDIR)/S= r -l >S(SDIRI/S*.lst 8echo ‘Assembly complete, new listing generated Becho * 0 RANTESTi * = File Name : RT1.A (RamTestl.A( * Author : Cohn Mac Donald * Description : Memory Test program for the Motorola CD-i Development System (CDSI Base Case = : Video Board = Revision : 0.1 * Date : 92/11/10 = History : 0.1 Prerelease * : RT1.A copied from V6.A. will include write addres * Description : This program is written to throughly test a • memory area defined in its header. The program • demonstrates how os9 alarms and variable sections • may be used• Add sore tests by editting MAINi area of AN4921D MOTOROLA * : Program CMcD 93/01/10 = — nam rtl.a ttl CDS DCV RAJ4 test program use /dd/defs/oekdefs. d Edition equ 1 TypLng equ (Prgrs~c.c8)+objct AttRev equ (Re~t«8)+4 peect ramtest , TypLng. AttRev, Edition, 1024 ,mainl Stdln equ 0 St~ut equ 1 StdErr equ 2 rainsta equ SAOOOOO ramstp equ SA7FFFE alimaig equ 260 interval equ 4 pass equ 0 = 05-9 Variable Section * The following section is used for storage of variables, that can both = be defined at assembly time via dc.x corssands and can accessed for = reading/writing during program execution via register A6 * vsect alarm...flag: dc.w 0 fail...c: dc.w 0 = The following 8’s represent backspace chars for VTlOO gstrt: dc.b 8,8,8,8,8,8,8.8 dc.b ‘INIThDDR’ gend: gsiz equ =~gstrt ends * * The following data is only ever read and so can be kept in the psect * messO: dc.b ‘Starting RAI4 test ........ ..........‘,CSCR.CSLF maizO equ -messo mesal: dc.b ‘Writing 0000 to address . . ..00000000’ msizl equ -messl meas2: &.b ‘Writing FFFF to address ....00000000’ msiz2 equ -mess2 mess3: dc.b ‘Writing ASAS to address ....00000000’ msiz3 equ *.meas3 mess4: dc.b ‘Writing 5A5A to address ... .00000000’ msiz4 equ -mess4 mesaS, dc.b ‘Writing 1234 to address • - - .00000000’ msiz5 equ -mess5 mess6: dc.b ‘Writing adds to address . . - .00000000 msiz6 equ ~mesa6 meas7: dc.b Fail occured at address ... .FAILADDR’ msiz7 equ *.meas7 pjness: dc.b 8,8,8.8,8,8.8,8 dc.b ‘..PASSED’ p...size equ =-p.jness f...mess: dc.b 8,8,8,8,8,8,8,8 dc.b ‘FAILED’ f....size equ -fjnesa Crjsess: dc.b CSCR,CSLF cr_size equ *~crJsess read.jnesa: dc.b SlB,$5B, ‘230’. ‘fin’ dc.b SlB,S5B. ‘15D’, ‘Reading’ dc.b SlB,$5B, ‘29C’ read...size equ -read..mess = START..ICPT - Start Intercept Sub Routine = Subroutine Name : START...ICP’r * Purpose : Install the intercept routine that will = : handle the cyclic alarm generated signals 01 MOTOROLA AN4S2ID Inputs : iroot :0 label of intercept routine * * Ouputs : Signals Bent to this process will cause iroot to * , be called * = Register Usage : AO = Address of intercept routine * : A6 * Address of RTls data ares * start..icpt: inove.l aO,- (ap) stack aO lea iroot(pc),aO place routine add in sO oe9 FSIcpt call intercept mit move.l (sp~+,a0 unstack sO rts and return * * START..ALRN - Start Alarm Sub Routine * Subroutine Name : sTARTJ,LRN = Purpose : Starts a cyclic alarm via an os-9 service request * : ~ 05-9 timekeeping functions need to be running * = Inputs : alrmsig * signal no identifying this alarm = : interval* time between signals (ticks/256secs) * = Ouputs : Recurring periodic signal sent every INTERVAL = : with signal number ALRMSIG = = Register Usage : DO * Reserved param for 059 call * : Dl * ASCycle param for 0s9 call * : D2 :0 signal code for 059 call = : D3 time interval for 0s9 call = start...alrsa: movem.l dO-d3,- (sp) stack used registers moveq •0,dO cyclic alarm must be 0 move.w •A$Cycle,dl standard Iu~emonic move.l talrmsig,d2 defined in header to be 260 move.l *interval,d3 fast update oe9 FSAlarm os9 call has error...exit exit on error, check clock movem.l (sp)+,dO-d3 unstack used registers rts = * MESSAGE - Message Sub Routine * Subroutine Name MESSAGE = Purpose : Prints a message to standard ouput (VTlOO) :0 * Inputs : dO * path number * : dl = number of bytes to write * : sO * address of message ares :0 * Ouputs : Message sent to standard output :0 message: movem.l dO-dl/aO,- (apI stack used registers moveg •StdOut,dO load output path into dO os9 ISWrite call ISWrite no EOL has error..exit carry :0= error movem.l (sp)+,dO-dl/aO unstack used registers rts return * * OUTPUT..VAL - Output Value Sub Routine * Subroutine Name : OUTPUT VAL * Purpose Converts a address su~lied in address register * : A4 to eight ACSII characters. These characters * : are stored at a label offset (gstrt) from A6 * : in a VSECT. :0 = Inputs : A4 = Address to be converted AN482/D MOTOROLA 47 * Outputs : ASCII representation of A4 -> standard out IVTlOO) * * Register Usage : DO * not used 2 1 Dl = message size for I$Write * : 02 = address store for masking D3 * mask for address nibbles * : D4 01 counter for nibble loop * ‘ 05 = ASCII output location offset = D6 01 address store * AC 01 offset to converted address * output..val: movem.l aO/dl-d6, - Isp) save registers move.l a4,d2 address for cony -> d2 smove.l a4,d6 save address in d6 moveq.l *$OF,d3 setup mask la 4 bits moveq.l •$7,d4 setup loop count - 8 times move.l •gend,d5 offset (from A6 vsect) -> d5 out..loop: and. 1 d3,d2 D4 (3:0) -> ascii aspi . b • $9, d2 check d2 gt 9? ble add..$30 if not, skip adding extra? addi .1 t$7, d2 numbers).9 add $37 ad&S30: addi.l •S30,d2 number <9 add S30 subq •$1, d5 working backwards move. b d2, (a6.dSI move to out area lsr .1 •S4,d6 next ls nibble move. 1 d6,d2 next nibble in d2 dbf d4,out loop process next nibble lea gstrt(a6) .aO load mess address in aC move.l •gsiz,dl mess siz -> dl jar message (pc) output message movem. 1 (sp)+,aO/dl-d6 restore registers rts return * * FLT.SR - Alarm Flag Sub Routine * Subroutine Name : FLTSR * Purpose : Checks to see if the cyclic alarm has set a flag indicating time to output address value. If set = : a routine to output address to VTlOO is called. * * Inputs : alrmsig 01 signal value of cyclic alarm = : alansflag * address (offset) of cyclic flag * = Outputs : current address held in A4 if flag set * * Register Usage : D6 01 flag signal value holding req * : 07 = alarm signal value comp req * : A6 * offset to converted address * fl t...sr: movm.l d6-d7/a6,-)sp) stack used registers move.l •alrmsig,d7 raintest signal value -> d7 move.w alarmjlag)a6) ,d6 flg locn signal value -> d6 aap.w d6,d7 compare alrmsig with received tw~e.s noalrm if = alrmsig, then ignore clr.w alarmjlagIa6) clear flag jar output...val)pc) if 01 alrmsig, then output address noalrm: movem.l )sp).,d6-d7/a6 unstack registers rts * * RAJtTFST Ram Test Sub Routine = Subroutine Name I RAN TEST = Purpose/Function Tests a block of RAN up to 16MBytes in size * : with zeros,ones,a’s and 5’s. * MOTOROLA AN4S2ID 48 = Inputs : RAN start address declared as ramata = : RAid stop address declared as rainstp Dl 01 1st message size AD 01 1st message location * Outputs 01 Register Usage , DO 01 Write value • Dl 01 low-order count safe * : D2 = b-order counter = : D3 01 Read value = D4 01 hi-order count safe = : D5 01 hi-order counter = : D6 01 test type identifier * AO 01 message location • Al = pass value (01 = : A4 01 memory pointer • AS 01 end location A6 01 os9 data pointer rasLtest: inovem.l dl-d7/aO-a6,-)sp) move.l •ramsta,a4 start test address move.l •ramstp,a5 end test address inove.w •pass,al hold pass val in al for compare move.l aS.dl load end address into dl sub.l a4.dl subtract start address lsr.l •$l,dl divide by two -> words move . 1 dl,d4 dl -> hi cnt safe lsr.l •S8,d4 shift hi-order to 0-15 lsr. 1 •$8,d4 shift hi-order to 0-15 move. 1 d4 , dS initialise hi counter andi .1 •$OOOOFFFF, dl ensure 31-16 of d2 -> 0 move. 1 dl.d2 initialise lo counter aspi .w •$0.dl is lo cnt zero beg zentry zero entry pos sub. 1 •Sl.dl take account of -l dhac move - 1 dl,d2 mod lo cntr write loop: jsr write.jsein(pcI jump to mem write sr jsr flt...srlpc) check the alarm flag dbf d2 . write..loop loop back zentry: move .w •$FFFF. d2 after initial value dbf dS , writejoop loop beck jsr output.yal (Pc) complete write output move.1 dl,d2 reset lo counter move. 1 d4,dS reset hi counter readjnit: move. 1 dl.-)sp) save dl lea readjness)pc) .aO omg mess to ‘Reading move. 1 •rea&size, dl message length jsr message Ipc) output message move. 1 (sp)+.dl restore dl read...loop: jsr read...comp I Pc) jump to read/compare routine aspa . w fail.c(a61 ,al check for any fails hie skip.jipdate if any, no update (overwrite) jar flt.sr (pcI check the alarm flag skip.update: dbf d2 . rea&.boop loop if lo cnt -l move. 1 •SFFFF, d2 fill in 10 cnt dbf dS. read...loop loop if hi cnt > -l aspa .w fail..c(a61 .al check for any fails no...passJness if any, no pass message lea pjness(pc) .aO move. •psize.dl jsr message )pc no...passjness I inovem. 1 Isp) +.dl-d7/aO-a6 read fin stack.cc not affect rts AN4S2ID MOTOROLA 49 = WRITEJIFJ( - Memory Write Sub Routine * Subroutine Name : WRI’IEJOI * Purpose/Function I Writes a word value to a memory location I Only A4 is changed, as wished -> no stacking = = Inputs I DO 01 write data for non-incremental test * : D6 = test type (incr/non-incr) A4 01 pointer to current sem locn * Outputs DO -> (a4) or a4->(a4) = writejnem: aspi.w •$0.d6 if d6=l then incremental write beg nonjncr.yrite if not goto standard routine inove.w a4.1a4). write address to address rts return - no stacking required non...incr write I move.w dO.(a4)+ write dO to pointer address rts return - no stacking required * READ...COMP - Memory Read/Compare Sub Routine * Subroutine Name : WRIIEJEEM = Purpose/Function : Writes a word value to a memory location * : Only A4 is changed, as wished -> no stacking * = Inputs : DO 01 write data for non-incremental test D6 01 test type (incr/non-incr) = : A4 * pointer to current ma locn A6 01 os9 data pointer = * Outputs : fail..c)a6) -> fail...c(a6)-,.l = : error message -> vtlOO = = Register Usage D3 01 read data * reatcomp: inove.w -)a4),d3 read from pointer location aspi.w •$0,d6 if d6*l then incremental read beg non...incrsead if not goto standard routine asp. w a4, d3 compare data with locn address toe error.Jump if not equal - do not return yet rts return - no stacking required nonjncr..xead: asp.w d3,dO compare with written value hoe error2uzw, if not equal - do not return yet rts return - no stacking required error..junp: addq.w •Sl,fail...c)a6) increment fail count jar errorjsess(Pc) print out fail locn rts return - no stacking required 01 ERRORJESS - Error Message Sub Routine = Subroutine Name : ERROR MESS Purpose/Function : Outputs ‘FAILED’ message to standard output if the first fail in group. For first and subs * -sequent failures, a fail address is output * = Inputs : failc locn (offset) fail count flag 01 * : fjness *locn of ‘FAILED’ message I f_size 01 size in bytes of ‘FAILED’ message 0 : cr...iness = locn of CR, IF message I cr.aize * size in bytes of CR,LF message = : mess? * locn of fail address message = : msiz7 u size of fail address message 01 = Outputs : ‘FAILED’ message to standard out on 1st fail = : ‘Fail occured at address... .(A4)’ message 01 * Reqister Usage : AO * location of message data Dl = size of message MOTOROLA ANdS2/D 50 * - errorjmeas: movesi.l aO/dl.-(ap) aspi.w •$l.fails(a6) bgt skipjmess lea fJTtesa(pcka0 move.l tLsize,dl jar message(pc) skip.jmeaa: lea cr...jness(pcLao move.l •cr.size,dl jar measage(pc) lea iness7(pckao move.l •maiz7,dl jar message(pc) jar output.val(pc) movem.l (sp)*,aO/dl rta * * CRLF.SR - Carridge Ret, Line Feed Sub Routine * Subroutine Name CRLFSR * Purpose/Function Prints out ASCII carridge return/ linefeed chars * which for some reason, have to be sent seperacely * from related message. * * Inputs crjsess = locn of CR42 chars * crsize = cr,lf message size * * Q~tputs CR. LF to standard outp~t * * Register Usage AS = location of message data Dl = size of message * crlLsr: movem.1 dl/aO,- (ap) save dl and aC lea crjsess(pcbao CR and LF moved icr_size.dl CR and IS size jar message(pc) exec CR,LF movem.l (sp)*.dl/aO recall dl and sO rca * * MAINi - Mainline Program * Subroutine Name MAINi * Purpose/Function Mainline of RAIflESTl program * • Mainline is written for clarity - not for • compact code. Tests can be easily added or * . subtracted as there are not loop counts to * be affected. There are two possible endings * continous loop or single-shot. The ending is • . choosen at assembly time * maini: move.l ialrmsig.d3 put alarm signal no into 03 jar start_icpt(pc) set up intercept routine jar startalrm(pc) set up alarms lea messo(pc).aO Initial message location move.l imsiz0,dl Initial message size jar stessage(pc) print initial message moveq iS0,d6 setup for non-incremental testing clr.w fail_c(a6) clear fail count move.w StOOOO.dO test data = 0000 lea messl(pc).aO address of 0000 mess move.l imaizl.dl size of 0000 message jar message(pc) print test message jar ramsest (pc) run ram test for 0000 jar crlLar(pc) print CR.LF clr.w faiLc(a6) clear fail flag move.w •SPVFF,dO test data = FFFF lea mess2(pchao address of FFFF mess stove.l •msiz2.dl size of FFFF message ANAS2/D MOTOROLA ‘Ri jsr message(pc) print teat mesaage jar rama...test (pc) run ram test for FFFF jsr crlLsr(pc) print CR,L.P clr.w fail..c(a6) clear fail flag move.w tSA5AS.dO test data * ASAS lea mess3 (pc) ,aO address of ASAS mesa move.l •msiz3,dl size of ASAS message jar message(pc) print teat message jar rasLtest (pc) run ram test for ASAS jar crlLsr(pc) print CR,LF clr.w faiL.c(a6) clear fail flag move.w tS5A5A,dO test data * 5A5A lea mess4 (pc) . aO address of SASA mess move.l *maiz4.dl size of SASA message jar meaaage(pc) print test message jsr rahlt.test (po) run ram teat for SASA jar crlLsr (pc) print CR,LF clr.w faiLc(a6) clear fail flag move.w tS1234,dO teat data * 1234 lea mess5(pcLao address of 1234 mess move.l •msiz5.dl size of 1234 message jar message(pc) print teat message jar ramtest(pc) run ram test for SASA jar crlf..ar(pc) print CR,LF clr.w faiL.c(a6) clear fail flag moveq ISOl, d6 incremental test lea mess6(pcLao address of incr mess move.1 •msiz6.dl size of inor message jar message(pc) print test message jar raaLtest(pc) run ram test for incr jar crlf...sr(pc) print CR.L.F * Continuous Loop Ending end: bra.w mainl * * Single Shot Ending * end: moveq *0,dl * os9 PSExit * error.exit: os9 FSExit * * Subroutine Name IROOT * Purpose/Function Sets a flag in the RAMIESTl data area if a * signal with signal no ALRMSIG is received * If a signal != ALRMSIG is received the program • is exited * * Inputs : alnasig = desired signal number for flag set * : alarmflag = locn (offset) of flag * * Outputs alarm.flag in RANTEST vsect is set * * Register Usage A6 os9 data pointer * Dl = received signal number * iroot: anpi.l •alrmsig.dl bne error exit move.w dl,alarm...flag(a6) o9 FSRTE ends MOTOROLA AN482/D 52 APPENDIX G—VDSC Display Program The following OS-9 ‘C’ program, “FADE.C”, is a simple example of how to initialise and control the VDSC and ICAIDCA areas in order to generate and manipulate a video image. This can be accomplished by compiling FADE.C using the Microware ‘C’ compiler. However, as this program sets up the VDSC for PAL mode, the BCV must also be configured for PAL mode to obtain the correct video output. In this program, both VDSC planes A and B are configured for 7-bit CLUT mode. The plane images consist of four identical horizontal bars of 100% saturation: red, green, blue and white. The only difference between the plane A and B images is the order of the colours. The program starts with one plane at full weight and the other at zero weight. The planes constantly fade from one to another in a see-saw fashion, creating a range of colours in the bars. As the weights of each plane are changed, their value is output to the standard output device. AN4OZ/D MOTOROLA *==*****== *= * / /~ FADE.C /* MCDS Base Case Video Test Program 2/ / *****=***************2***= *2**222** * / /2 Program Name : FADE.C /* Author I Cohn Mac Donald / Date : 3rd March 1993 2/ / Purpose : Test Demo of VDSC Board 2/ / Description : This program sets up the MCD2l0 for PAL ‘I 1= 1 timing. It then displays 4 parallel coloured 1 bars on-screen (red.green.blue.white) it then 2/ /2 1 uses the dual VDSC planes and mixing control / /2 1 to fade to these bars in a different position 2/ *2 * / •include / **==**=2*= = = / /2 General Definitions * === 01=22===2=*===2====*=*****= *2/ •define VDSC OxOOSOOCOC tdefine P1ODD 0x00040000 P 840000 - 870000 •define P2..ODD 0x00240000 / A40000 - A70000 •def inc 21_DT~ OxOOCO 1* 1st quarter screen 2/ •definc Pl...DTl OxO101 1* 2nd quarter screen 2/ Idefine Pl...DT2 0x0202 /2 3rd quarter screen 01/ •definc P1_DT3 0x0303 / 4th quarter screen 2/ •define P2~r0 OxOlOl /2 1st quarter screen •define P2...DTl 0x0202 1* 2nd quarter screen •define P2..DT2 0x0303 /2 3rd quarter screen •define P2..DT3 OxOCOD / 4th quarter screen •define P1...ICA OxOOOlOOOO /2810000 - 810,ocx 2/ •def in. P2..JCA 0x0021 0000 /2AlOOCO - Al0~ocx 2/ •define P1...DCA 0x0002 0000 P 820000 - 830000 2/ •define P2...DCA 0x00220000 P A20000 - A30000 2/ •define DODATA 0x10000000 /2 ?-*3P •define DCSIZ 280 /2 240 01 NTSC / 280 01 PAL •define SCSIlE 53760 /2 (384 x 2801 /2 01 53760 / ****2*2* 22222 / /2 ICA/DCA Instruction Register Stems 2/ /2*222* *2*2*2* / •define CLO 0x80000000 / CLtIT Address 0 2/ •def inc CLl 0x81000000 P CLOT Address 1 2/ •def me CL2 0x82000000 / CLOT Address 2 2/ • define CL3 0x83000000 /2 CLOT Address 3 2/ •define ICR OxCOOOOOOO / Image Control Register 2/ •define ‘ICR OxClOOOOOO 1* Transparency Control 2/ •define FOR OxC2 000000 /2 Plane Order Register 2/ •define CER OxC3000000 /2 CLOT Bank Register 2/ •def inc ‘ItA OxC4000000 /~ Transparent Color A 2/ •define ‘ICE OxC6000000 / Transparent Color B 2/ •definc NCA OxC7000000 /2 Mask Color A 2/ *def me MCB OxC9000000 /2 Mask Color B •def inc DSA OxCAOOOOOO P DYUV Start A 2/ •def inc DSB OxCBOOOOOO /2 DYtIV Start B •define CPR OxCDOOOOOO /2 Cursor Position Register 2/ •def in. CCR OxCEOOOOOO / Cursor Control Register 2/ /2 Cursor Pattern Register •define CPT OxCFOOOOOO •definc /2 Backdrop Color Register 2CR OxD8000000 2/ idef inc 244A OxD9000000 /2 Mosaic Hold A 2/ •def inc /2 mosaic Hold B ~B OxDAOOOOOO 2/ •def in. WFA OxDBOOOOOO /2 Weight Factor Plane A 01/ •definc WFB OxDCOOOOOO /2 Weight Factor Plabe B 2/ =01=2=2 2*2*=*=22====*22****=2=**=**0122=22***=*2**22 / /2 VDSC Memory Mapped Register Values / *2222*22222**2********2** / •defin. CSR1R OxOO4FFFFl / Status Req 1 (read) 2/ •define CSR1W OxOO4FF’FFO /2 Control Req 1 (write) 2/ •definc DORl OxOO4FFFF2 /2 Display Command Reg 1 •define VSR1 OxOO4FFFF4 / Video Start Regl 2/ •def in. DDR1 OxOO4FFFF8 / Display Decode Regl 2/ MOTOROLA AN482/D 54 Idef in. 2CPl OxOO4FFFFA /2 DCA Pointer 1 U, •define CSR2R OxOO4FFFEl /~ Status Reg2 (read) *1 Idefine CSR2W OxOO4FFFEO / Control Reg2 (write) 2/ idefine DCR2 OxOO4FFFE2 /* Display Ccumaand Reg2 2/ •define VSR2 OxOO4FF’FE4 /2 Video Start Req2 2/ Idefine DOR2 OxOO4FFFE8 /2 Display Decode Reg2 *1 Idefine DCP2 OxOO4FFF’EA /2 2CA Pointer 2 2/ / *22****2**************2****2 =2=22* *******2**2*22* / 1* ICA/DCA Instructions *1 /2*2*22 22**22222*2222222=S2 *2*2222 *22222222*2**22222222 222=2,=2*222 2, •def in. ICRS 0x00000303 /* —ext vid, =chl •ch2 CLUT? *1 Idefin. ‘IVR....V OxOODOOSOB / .mix, “no tranap •defin. FORV OxOOOOOOOO /2 •plane A 1st 2/ Idef in. CBOY OxOOOOOOOO /2 +CLUT bankO */ •def in. CB2S 0x00000002 /2 +CLEJT bank2 U! •define ‘IVX....V OxOOOOOOOO /2 Transparent Col A/B 2/ *define MCXV OxOODOQOCO /2 +mask color zs 2/ Idefine CPR...V 0x00200200 /2 .no corner poan 2/ Idefine CCR..V OxOODBOOOC /2 +c,,-on/cinp.+red 2/ •define CLOY OxOOFCFCFC / CLOT 0 is White 2/ *define CLlV OxOOFCOOOO /~ CLOT 1 is Red 100% 2/ Idefine CL2V OxOOOOFCOO /2 CLOT 2 is Green 100% 2/ •defin. CL3.y OxOOOOOOFC /2 CLOT 3 is Blue 100% Idef in. DCRV OxOOOOOOOO /2 black bacdrop U! Idef in. P~X.Y OxOOCOODOl /~ no mosaic hold 2/ idef in. WFAV OxOO3F / Weight Factor P1 A = 3F 2/ •def in. WFB.Y OxCOOC /* Weight Factor P1 B 01 0 / **********2*2**2*22*22* 2=2*22=22*22= / /2 ICA/DCA Instruction Register Values 2/ 2 ****2**2*22* 2* / •define CSR1W_V 0x8000 /2 -IRQ,Dtkl2,256k DRAN 2/ *def in. CSR2WV OxSOOO /2 & -ST. -BE Odefine DCR1V1 0x4000 /2 -DE,+30M, -il.VSA01O,-CM 2/ •def in. DCR1_V2 OxCOOC /2 +DE,+30M, -il,VSAO,-CM 2/ *define DCR1V3 OxC200 /2 DCRl2/2.+ICl 2/ Idefine 2CR2..V3 OxC200 /2 DCRl2/2.~XC2 2/ *define ~Rl..y4 DxC300 /2 DCRlY3,+DCl 2/ Idefine 2CR2V4 OxC300 /* DCR2..Y3.-.-DCl 01/ Idefine DDR1V OxOOOO /2 •~012.FT01BtM.DCAl..hi=0 2/ Idefine DDR2V OxOODO /* ,?~=2,F’r=BtM,DCA2..hi=0 2/ Idefine ICAI.yI’R 0x00000400 /2 ICA Planel(A( Even Field Ptr 2/ •define 1CA2..P’IR 0x00200400 /2 ICA Plane2(B( Even Field Ptr 2/ /2*2222*222*2222*222*2 / /2 ICA/DCA Instruction Register Stems 2/ *2*2*22222 / Idefine ICA..STP OxOOOOOOOO / ICA Stop Instruction 2/ *define ICAJ4OP OxlOOOOOOO / ICA NOP Instruction 2/ •define ICARLV 0x40000000 /2 ICA Reload ‘/SR Inst */ •define ICARVS OxSOOOOOOO /2 ICA Reload VSR & Stop / Idefine ICA..RDC 0x20000000 /2 Reload the DCP req 2/ idefine ICAIRO 0x60000000 /2 Generate Interrupt 2/ Idefine DCA..$TP OxOOOOOOOO /2 DCA Stop Instruction 2/ Odefin. 2CAJ~OP OxlDOOOOOO /2 DCA NOP Instruction 2/ idefine XAgDS 0x30000000 /2 DCA Reload EX~P & STOP 2/ tdefine DCAIRQ 0x60000000 /2 Generate Interrupt 2/ Idefine DA..)ISK 0x80 idefine IRQJ4SK 0x06 I /2 Program Start and Initialise Values 2/ /2*22 / mt main() char CSR1R..V*OxOO; short DA...SET, IRQ...SET. arise =0; mt i, ICA, DCA; mt plaw * WFAV; mt plbw * WFBV; AN4S2ID MOTOROLA 2csrlreg. csrzreg; char *r5~har, wrreg. rdreg. dcrlreg, unsigned short dcr2reg, *image; unsigned long (icaptr.+). 2)dcaptr-e-~.); ******= /* Initialise Pointers to Frequently Accessed Variables 2/ *2 **********2* / dcrlreg 01 (unsigned shortl(VDSc + DCRl); dcr2reg * (unsigned short)IVDSC -* csrlreg 01 (char*)(VDSC • CSRlR); csrlreg 01 )char( (VDSC • CSR2R); /2*01 *2*2 /2 Create Planel Screen Data 2/ / *2*222* fl*222**** 222222*• image 01 (unsigned short) (VDSC • Pl..ODD); puts( Filling in Planel data ): for ( i=0; i < (SCSIZE/4); i’-+) )image,’+) * PLDTO; for ( i=0; i < (SCSIlE/41 ; )image++I 01 Pl...D’I’l; for ( i=0; i < (SCSIZE/4) ; liinage.==) 01 PlDT2; for I i=0; i < )SCSIZE/4); i-.) 01 Pl.DT3; / **2*****22 *22*2*22 *=*=*2*22222*=222*****2**222**2****22*/ / Create Plane2 Screen Data 2/ / ***2*2**2222*2****2 222*2==222=222***2** **222*222*222*22*2******222/ puts) Filling in Plane2 data ); image 01 (unsigned short2) (VDSC + P2..00D); for I i*0; i < (SCSIZE/4) ; i+~) 2)image++) 01 P2...DTO; for I i*0; i < (SCSIZE/4( ; i++) 2(image++) = for I i0; i < (SCSIZE/4) ; )iinage+-=) 01 P2..DT2; for I i=0; i < ISCSIZE/4) ; i-,.-,-) I liinage-=+I 01 P2OT3; 22* 222*2*2 *2*22*222222****’*****22****/ /* Create Planel DCA Area 2/ / ****2*2******222*******2=**2*22**2**2****22*2***2222**2*2*22***2*222/ putsl Filling in Planel DCA ‘I; dcaptr 01 Iunsigned*I (VDSC + P1...DCA); (dcaptr..) * DCAJ4OP; (dcaptr-”-*) 2 rsAJdOP; (dcaptr-i-..) 01 DCAJ4OP; (dcaptr+-e.) 01 (DC&RDS + Pl.DCA): for I i=0; i < (DCSIZ—5); i+’-I 2ldcaptr-*+I 01 DCA..NOP; 2(dcaptr-,.-,.I 01 (DCA...RDS + PlDCA); / ****************2 * / Create Plane2 DCA Area 2/ /*•*•***•*****• *22***22*22*2***~U** dcaptr = (unsigned’))VDSC P2DCAI; puts( Initialising Plan.2 DCA (; 2ldcaptr-,.+) 01 DCAJ~OP; ldcaptr,+I 2 DCAJ~OP; ldcaptr+-=I 01 2CA..NOP; 2Idcaptr.~-*I 01 (DCA...RDS * P2DCA); for I i=0; i < )DCSIZ-SI; i,-~-( ldcaptr..) * DC~TA; * Idcaptr+-*) * IDC&RDS • P2D~A); * * **=**22 ** / /* Initialise Planel Odd/Even Pointers to ICA Ares /22*22* **2**2***2**22** *2*****222.*==2=** / puts( Setting Planel ICA ptrs for odd/even fields ); MOTOROLA AN4S2ID icaptr * (unsigned long) )VDSC + ICAI..Y’1’R); *(icaptr+,) * (ICA....RLV • PlICA); (icaptr+) = (IC&RLV + P1..ICA); = = = 2/ /Create Planel ICA Area 2/ / ***2*=*•********2****** * *2*2 / puts(’ Filling in Plane I ICA data •); icaptr * (unsigned long) (VDSC + Pl..ICA); (icaptr,+) * (WFA + WF&V); *(icaptr++) * (ICR • ICRJ); (icaptre+) * (‘I’CR + TCRY); (icaptr+.*) = (FOR + POR2/); (icaptr++) = (NCA + MC&V); (icaptr.e-i’) * (CPR + CPRV); (icaptr++) = (CCR + CCR.Y); 2(icaptr,+) * (lENA • MWLV); *(icaptr+*) = (BCR • BCR...V); (icaptr++) * (CER + CBO...V); (icaptr++) * (CLO + CLOV); (icaptr+-,’) 01 (CLl + CLl....V); =(icaptr++) 01 (CL2 + CL2Y); (icaptr++) = (CL3 • CL3...V); (icaptr++) 01 (ICA...RDC + PlDCAI; (icaptr++I 01 (ICA...RVS + PLODDI; / / / Create Plane2 ICA Area / ***2 **************= = / puts( Setting Plane2 ICA ptrs for odd/even fields ); icaptr = (unsigned long) IVDSC + ICA2...P’TR); (icaptr++) 01 (ICA....RLV + P2..JCA); (icaptr++) * (ICk..RLV + PLI~A); / ***2*****2=*********** 2 / / Create Plane2 Screen Data / *** ********* * = / icaptr = (unsigned long2) IVDSC + P2...ICA); *(icaptr++) = (WFB • WFE.Y(; (icaptr++) 2(icaptr++I = 01 (MHB + (NCE MCX.Y); + MHILV); 2(icaptr++) 01 (ICAJ4OP); *(icaptr,+) * (CER • CB22J); (icaptr++) * (CLO • CLO...V); (icaptr++) 01 )CLl + CLLY); 2(icaptr++) * (CL2 + CL2..Y); (icaptr++) (CL3 + CL3...V); (icaptr.+) 01 (ICA...RDC + P2..DCA(; (icaptr++) 01 (ICAJ-JOP(; *(icaptr++I 01 (ICA..RVS • P2.ODDI; ******2*2**2*2 / /2 Initialise the VDSC *********2*********22* * / puts( Configuring VDSC registers); puts( Configuring CSRlWI; wrreg 01 (unsigned short*) IVDSC CSRlW); *wrreg 01 CSRlWJ; while (CSR1R...V) CSR1R..V * (short)2csrlreg; CSR1RY &= DAJESK; /2 Wait DA-rise 2/ while (~CSRlR.y) CSR1R.Y = (short)csrlreg; cSRlR.y &= DAJISK; *dcrlreg, * OCRl.Yl; puts( Initialised DCRl); while (CSR1R.Y) /puts( Wait DA—falP); / cSR1RV * (short)csrlreg; CSR1RV &= DAJ4SK; ANASZID MOTOROLA dcrlreg = 2CR1.V2; putsr Set the DEbit in DcRm; while ((CSR1RJ) /* puts) Wait DA-rise); */ CSR1R..V 01 Iahort)*csrlreg; CSR1LV &= DA.J45K; dcrlreg 01 2CRlJV3; dcr2reg = DCR2.Y3; putsl DCRlIICl)->l. DCR2)1C2)->V) while )CSR1R...V) /2 puts). Wait DA-’falV); 2/ CSR1LV 01 (short)*csrlreg; CSR1LV &= DAJ45K; dcrlreg 01 2dcr2reg 2CR1V4; 01 DCRLV4; putsU DCRl(DCIP>I. DCR2(DC2)->l’); /2 2= 2 =22 01*2* *22*22*2*2*2*0122*2222= ==*2***22*01*01==2=201201012201222**===2= / /~ Plane weight timing and control /*22222**2*2222*22*2*222 2 22222*222222*22..2.**22...2** / while (1) for ( i’,0; i < 5; i++) CSR1R_V 01 0; while (!CSR1RV) C5R1RV 01 Ishortl*csrlreg; CSR1R~V & DAJISK; while (CSR1t.V) CSR1RJV 01 (short(csrlreg; CSR1tV 5= DAJ4SK; while )!CSRlRV) CSR1RJ 01 (short)*csrlreg; CSR1R_V &= DAJ4SK; icaptr 01 (unsigned long*I IVDSC + Pl..ICA); flcaptr 01 )WFA + plaw); icaptr 01 (unsigned long I (VDSC + Pt..ICA); Hcaptr 01 (WFB + plbw); printfl Plane A weight %X Plane B weight %x.\n% plaw, plbw); if (arise) plaw 01 plaw+l; plbw 01 plbw-l; else plaw 01 plaw-l; pl6i 01 plbw+l: if (plaw > Ox3E( arise 01 0; if (plaw < OxOl) arise 01 1; MOTOROLA ANAS2ID 58 References CENELEC EN5O 049, November 1983 — Domestic or Similar Electronic Equipment Interconnection Requirements: Peritelevision Connector. CCIR Report 624-3. 1986. Motorola Application Note AN451: An MC68340-based Input/Output Processor Motorola Semiconductor Technical Data, Dynamic RAMs and Memory Modules, DL1 55/D Motorola Semiconductor Technical Data, Product Preview MC13077 Advanced PAL/NTSC Encoder — Motorola Semiconductor Technical Data MCD21O/D — MCD21O Video Decoder and System Controller Motorola Semiconductor Technical Data, Product Preview MC44200 Triple 8-bit Video DAC — AN4S2ID MOTOROLA All products are sold on Motorola’s Terms & Condrtions of Supply. In ordering a product covered by this document the customer agrees to be bound by those Terms & conditions and nothing contained in this document constitutes or forms part of a contract (with the exception of the contents of this Notice). A copy of Motorola’s Terms &Conditions of Supply is available on request. Motorola reservesthe right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or arcuit, and specifically disclaims any and all liability. induding without mutation consequential or incidental damages. “Typucal parameters can and do vary in different applications. All operating parameters, including “Typicals. must be validated br each customer application by customer’s technical experts. Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain lile, or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall inden’inify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all daims, costs, damages, and expenses, and reasonable attorney fees arising out of. directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such daim alleges that Motorola was negligent regarding the design or manufacture of the part. Motorola and (~) are registered trademarks of Motorola, Inc. Motorola. Inc. is an Equal Opportunity/Affirmatrve Action Employer. The Customer should ensure that it has the most up to date version of the document by contacting its local Motorola office. This document supersedes any earlier documentation relating to the products referred to herein. The information contained in this document is current at the date of publication. it may subsequently be updated, revised or withdrawn. Literature Distribution Centres: EUROP~:Motorola Ltd., European Literature Centre, 88Tanners Drrve, Biakelands, Milton Keynes. MK14 SBP, England. ASIA PACIFIC:Motorola Semiconductors (H.K.) Ltd.. Silicon Harbour Center, No. 2. Dal King Street. Tai P0 Industrial Estate, Tai Po, NT., Hong Kong. JAPAN:Nippon Motorola Ltd., 4-32.1, Nishi-Gotanda, Shinagawa-lcu. Tolryo 141. Japan. USA: Motorola Literature Distribution, P.O. Box 20912, Phoenix, Arizona 85036. ® MOTOROLA AN4921D liiIII~ 1111111111111111111 ff11 IN NW III liii