Ultrasound Lowlevel Toolkit Revision 2.22 21 December 94
Total Page:16
File Type:pdf, Size:1020Kb
UltraSound Lowlevel ToolKit Revision 2.22 21 December 94 Advanced Gravis 101-3750 North Fraser Way Burnaby, British Columbia V5J 5E9 FAX (604) 451-9358 Part No. 901-0031-02 Printed In Canada Table of Contents 1. Chapter 1 - General Information.................................................................................................................................1 1.1. Introduction..............................................................................................................................................................1 1.2. Features of the UltraSound.......................................................................................................................................1 1.3. Benefits of supporting the UltraSound.....................................................................................................................2 1.4. The GF1 - 32 Voice Sound Synthesizer...................................................................................................................2 1.5. MIDI Interface ........................................................................................................................................................5 1.6. Joystick Interface.....................................................................................................................................................6 2. Chapter 2 - Hardware Information..............................................................................................................................7 2.1. I/O Port Map............................................................................................................................................................7 2.2. MIDI Control Port - 3X0.........................................................................................................................................9 2.3. MIDI Status Port - 3X0............................................................................................................................................9 2.4. MIDI Data Port - 3X1............................................................................................................................................10 2.5. Page Register - 3X2...............................................................................................................................................11 2.6. Select Register - 3X3.............................................................................................................................................11 2.6.1. Global Registers..................................................................................................................................................11 2.6.1.1. DRAM DMA Control Register - (41)..............................................................................................................12 2.6.1.2. DMA Start Address - (42)................................................................................................................................12 2.6.1.3. DRAM I/O Address (43,44)............................................................................................................................13 2.6.1.4. Timer Control - (45).........................................................................................................................................14 2.6.1.5. Timer 1 and Timer 2 Count - (46,47)..............................................................................................................14 2.6.1.6. Sampling Frequency - (48)...............................................................................................................................14 2.6.1.7. Sampling Control Register - (49).....................................................................................................................14 2.6.1.8. Joystick Trim DAC - (4B)................................................................................................................................15 2.6.1.9. Reset Register - (4C)........................................................................................................................................16 2.6.2. Voice-specific Registers......................................................................................................................................16 2.6.2.1. Voice Control Register - (0,80)........................................................................................................................18 2.6.2.2. Frequency Control Register - (1,81)................................................................................................................18 2.6.2.3. Starting location HIGH - (2,82).......................................................................................................................19 2.6.2.4. Starting location LOW - (3,83)........................................................................................................................20 2.6.2.5. End Address HIGH - (4,84).............................................................................................................................20 2.6.2.6. End Address LOW - (5,85)..............................................................................................................................20 2.6.2.7. Volume Ramp Rate - (6,86).............................................................................................................................20 2.6.2.8. Volume Ramp Start - (7,87).............................................................................................................................20 2.6.2.9. Volume Ramp End - (8,88)..............................................................................................................................21 2.6.2.10. Current Volume - (9,89).................................................................................................................................22 2.6.2.11. Current Location HIGH - (A,8A)...................................................................................................................22 2.6.2.12. Current Location LOW - (B,8B)....................................................................................................................22 2.6.2.13. Pan Position - (C,8C).....................................................................................................................................22 2.6.2.14. Volume Ramp Control Register - (D,8D)......................................................................................................23 2.6.2.15. Active Voices - (E,8E)...................................................................................................................................23 2.6.2.16. IRQ Source Register - (F,8F).........................................................................................................................24 2.7. Global Data Low - 3X4..........................................................................................................................................24 2.8. Global Data High - 3X5.........................................................................................................................................25 This register is used to do either an 8 bit transfer for one of the GF1 8 bit registers or to do the high part of a 16 bit wide register..................................................................................................................................................................25 2.9. IRQ Status - 2X6....................................................................................................................................................26 2.10. Timer Control Register - 2X8..............................................................................................................................26 2.11. Timer Data Register - 2X9...................................................................................................................................26 2.12. DRAM I/O - 3X7.................................................................................................................................................27 2.13. Mix Control Register - 2X0.................................................................................................................................28 2.14. IRQ Control Register - 2XB................................................................................................................................28 2.15. DMA Control Register - 2XB..............................................................................................................................30 2.16. Register Control - 2XF.........................................................................................................................................31 2.17. Mixer Control 7X6...............................................................................................................................................31 2.18. Mixer Data - 3X6.................................................................................................................................................31 2.19. Revision Level - 7X6...........................................................................................................................................31 2.20. Codec Registers....................................................................................................................................................32 2.21. UltraMax