Sinclair MrX Manual

Sound board for the zx81

Advertisement

Quick Links

MrX Sound Board
for the ZX81 from Sinclair
"Manual for users and programmers"
www.eightbits.de
Version: v005
1
Date: 22.05.2012

Advertisement

Table of Contents
loading

Summary of Contents for Sinclair MrX

  • Page 1 MrX Sound Board for the ZX81 from Sinclair “Manual for users and programmers” www.eightbits.de Version: v005 Date: 22.05.2012...
  • Page 2: Table Of Contents

    CONTENT 1. System Requirements ..4 2. MrX Sound Card ..5 3. MrX Expansion Bus K3 ..6 4. Optional 3,5mm jacks and ZX96 bus diodes ..7 5. Connection ..8 6. Software ..11 7. Six Channel Sound (Turbo-Sound/Turbo-AY) …..12...
  • Page 3 Disclaimer This book is presented solely for educational and entertainment purposes. The author and publisher are not offering it as legal, accounting, or other professional services advice. While best efforts have been used in preparing this book, the author and publisher make no representations or warranties of any kind and assume no liabilities of any kind with respect to the accuracy or completeness of the contents and specifically disclaim any implied warranties of merchantability or fitness of use for a particular purpose.
  • Page 4: System Requirements

    System Requirements Computer: ZX81 Manufacturer: Sinclair, UK Amplifier: active amplifier (PC-amplifier) with 3,5mm jack Recommended: 16k Ram Version: v005 Date: 22.05.2012...
  • Page 5: Mrx Sound Card

    MrX Sound Card A) 3,5mm jack. Connect the amplifier here. B) Port connector. C) 30 pin expansion bus K3 (see next chapter) D) Through port connector. Version: v005 Date: 22.05.2012...
  • Page 6: Mrx Expansion Bus K3

    MrX Expansion Bus K3 The MrX Interface is supplied with a built in expansion bus (K3) which allows direct access to the signals provided by the YM2149 sound chip, should you wish to develop an add-on daughterboard. Pinout K3: 1) IOB7...
  • Page 7: Optional 3,5Mm Jacks And Zx96 Bus Diodes

    Optional 3,5mm jacks and ZX96 bus diodes If needed additional 3,5mm jacks can be soldered on the MrX sound card on J1 and J2. For the ZX96 bus (http://www.fischerkai.de/zxteam/treib_e.htm ) a diode DX1 for the /BUSCS signal has to be soldered and the port connector has to be exchanged by a VG64 connector. The VG64 connector uses all pins of K2.
  • Page 8: Connection

    The ZX81 computer is connected to the sound card via the ZX expansion port on the back of • the computer. Make sure that the pins of the ZX81 PCB are exactly aligned with the connector of the MrX • sound card.
  • Page 9 The PC speaker (with integrated amplifier) has to be connected with the 3,5mm stereo jack. • Version: v005 Date: 22.05.2012...
  • Page 10 If needed, connect further equipment. NOTE: Make sure that the pins of the MrX PCB are • exactly aligned with the connector of the equipment. Otherwise severe damage may occur to the computer, the equipment and the sound card. Version: v005...
  • Page 11: Software

    Software This manual and the software for the MrX sound card is provided at http://www.eightbits.de/ in the download section. manual.pdf → This manual AY-Demo → Sound-Demo Basic-Demo → Original Basic Demos from the ZON-X Manual Demon-Demo → Dancing Demon Demo Games →...
  • Page 12: Six Channel Sound (Turbo-Sound/Turbo-Ay)

    In case of failures severe damage may occur to the computer and the sound card. Instructions: Put the MrX sound card in front of you. On the top right hand corner you can see the GAL • chip, marked here with a red rectangle Use a screwdriver or similar to lift the GAL chip out of its socket.
  • Page 13 Pull out the GAL Chip. You can see the empty socket. • Take the MrX Turbo-Sound chip, stick it into the socket carefully. Pay attention that every • pin of the GAL chip is aligned exactly with the socket. Watch the pit of the GAL it must be exactly placed like shown on the picture.
  • Page 14 Now the MrX card is ready for the 6 channel stereo sound. Connect the MrX according to chapter “5. Connection”. The following combinations are tested and working. Modified MrX + ZXpand + Zxpand-AY + ZX81 Modified MrX + Original MrX + ZX81 Connect two PC-speakers with the two sound cards or use an appropriate mixer.
  • Page 15: Programming

    Programming The MrX is compatible with the original ZON-X sound card. Addresses: The MrX Interface responds to data placed in the following addresses: Latch Data Comment 0xDF 0x0F modified ZON-X 0xCF 0x1F original ZON-X 0xCF 0x0F from ZON-X user manual...
  • Page 16 Output on port A: DTAX: equ $0F DTAX: equ $1F LATCH: equ $CF LATCH: equ $DF xxx: LD A,7 out (LATCH),A LD A,$C0 ;---> set port A and B as output out (DTAX),A looop: LD A,14 out (LATCH),A LD A,$00 out (DTAX),A ;...
  • Page 17 Reading from port A: DTAX: equ $0F DTAX: equ $1F LATCH: equ $CF LATCH: equ $DF xxx: LD A,7 out (LATCH),A LD A,$00 ;--> set port A & B to Input out (DTAX),A looop: LD A,14 out (LATCH),A in a,(LATCH) ;Port A (register No.
  • Page 18: The Yamaha Ym2149

    The Yamaha YM2149 This is a copy from “http://www.atari-forum.com/wiki/ “. Software-Controlled Sound Generator (SSG) ----------------------------------------- Overview The SSG (Software-Controlled Sound Generator) is an NMOS-LSI device designed to be capable of music generation. It only requires the microprocessor or microcomputer (CPU) to initialize its register array, thus reducing the load on the CPU.
  • Page 19 Block diagram A9 A8 BDIR BC2 BC1 DA7~DA0 --- Bus Control ---o Bidirectional -----o I/O Port A <=> IOA7~IOA0 Decoder o--- buffer Register Addr --o Address --o Register o-------| Latch Decoder Array -----o I/O Port B <=> IOB7~IOB0 -------------------------------------- Noise Music Envelope Level...
  • Page 20 6. BDIR,BC1 and BC2 Controls the external bus (DA7 ~ DA0) and internal bus of the SSG. The following four modes can be set by the bus control decoder. The bus control is redundant, control is possible even when BC5 is connected to +5V. BDIR BC2 BC1 Mode Inactive...
  • Page 21 Description of funtions All functions of the SSG are controlled by the 16 internal registers. The CPU need only write data to the internal registers of the SSG. The SSG itself generates the sound. Sound is generated by the following blocks: Music generator: Square waves having a different frequency are generated for each channel (A,B and C)
  • Page 22 (1) Setting of music frequency (controlled by registers R0 ~ R5) The frequencies of the square wave generated by the music generators for the three channels (A,B and C) are controlled by registers R0 through R5. R0 and R1 control channel A, R2 and R3 are used for channel B, and R4 and R5 control channel C.
  • Page 23 (4) Level control (controlled by R8 ~ RA) The audio level output from the D/A convertors for the three channels (A,B and C) is adjusted by registers R8, R9 and RA. Level setting registers Channel B7 B6 B5 B4 B3 B2 B1 B0 \------/| Not used| L3 L2 L1 L0...
  • Page 24 The envelope can take the shapes shown below according to combinations of the CONT, ATT, ALT and HOLD signals. CONT ATT ALT HOLD \--------------------- / |-------------------- \ |\ |\ |\ |\ |\ |\ |\ \| \| \| \| \| \| \| \ \--------------------- \ |-------------------- /| /| /| /| /| /| /| /...

Table of Contents