GB2153115A - Sound generation and disk speed control apparatus for use with computer systems - Google Patents

Sound generation and disk speed control apparatus for use with computer systems Download PDF

Info

Publication number
GB2153115A
GB2153115A GB08429501A GB8429501A GB2153115A GB 2153115 A GB2153115 A GB 2153115A GB 08429501 A GB08429501 A GB 08429501A GB 8429501 A GB8429501 A GB 8429501A GB 2153115 A GB2153115 A GB 2153115A
Authority
GB
United Kingdom
Prior art keywords
counter
ram
data
signal
apparatus defined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB08429501A
Other versions
GB8429501D0 (en
GB2153115B (en
Inventor
Andrew J Hertzfeld
Burrell C Smith
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apple Inc
Original Assignee
Apple Computer Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apple Computer Inc filed Critical Apple Computer Inc
Publication of GB8429501D0 publication Critical patent/GB8429501D0/en
Publication of GB2153115A publication Critical patent/GB2153115A/en
Application granted granted Critical
Publication of GB2153115B publication Critical patent/GB2153115B/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/20Driving; Starting; Stopping; Control thereof
    • G11B19/24Arrangements for providing constant relative speed between record carrier and head
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/20Driving; Starting; Stopping; Control thereof
    • G11B19/28Speed controlling, regulating, or indicating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

An apparatus for generating an analog audio signal and a speed control signal for a disk drive, for use with a microprocessor having a RAM which provides a video signal for a raster scanned display. Direct addressing of the RAM is used during horizontal blanking periods (Fig. 2) to allow data to be read from the RAM and used to generate the audio and speed control signals. The data is updated during the (vertical) blanking periods. The speed control signal to the disk controller (Fig. 9) varies as a function of track (radius). <IMAGE>

Description

SPECIFICATION Sound generation and disk speed control apparatus for use with computer systems BACKGROUND OF THE INVENTION: 1. Field of the Invention.
The invention relates to a sound generation apparatus, particularly one employed with a computer system which includes a raster scanned display and a disk speed control apparatus.
2. Prior Art.
There are countless well-known techniques for generating audio signals from digital signals. These include the more straightforward approaches where digital signals are used to provide an instantaneous amplitude of the audio signal, to the more complex vocoder techniques where transfer functions representative of voice are used. As will be seen, the present invention converts a digital signal to an analog (audio) signal, although this conversion is only one aspect of the present invention.
Most often, computer systems, particularly smaller systems (e.g. personal computers) employ raster scanned displays. The computer generates the video information and stores it in a random-access memory (RAM). Counters synchronize with the horizontal and vertical synchronization signals address the memory to provide display synchronized data signals from the memory. These signals are converted to a video signal, for instance, through a shift register. In some cases, the memory is "bit mapped" and the output from the memory is directly used to generate the video signal. In other cases, the output from the memory addresses a character generation which is scanned to provide video signals.
A considerable amount of data from RAM is required to generate a video display, particu larly in a dyanmic, graphics (non-text) mode.
In the personal computer field, or small business computer field, where microprocessors are used along with dynamic RAMs, the generation of a video display consumes a relatively large amount of processor and memory time. It is thus difficult to provide an audio signal, particularly a complex audio signal in a display mode.
As will be seen, the present invention provides an apparatus for generating audio signals in conjunction with a microprocessor and RAM simultaneously with the generation of video signals. The audio signals are generated without disrupting the video display or computer operation, and importantly, with a minimum of hardware and processor time.
Typically, in floppy disk drives, some mechanism is employed to drive the floppy disk motor at a constant speed. When the floppy disk drive is manufactured, certain calibration steps are often used to assure that the floppy disk drive runs at a predetermined rate of rotation. This requires, in addition to the calibration steps, relatively costly speed control mechanisms. As will be seen, in the present invention, the computer is used to sense the rate of rotation of the disk drive and then provides a control signal to adjust the disk drive's rate of rotation. This eliminates the prior art calibration and also the prior art's speed control mechanism.
It has been suggested in the prior art that better utilization of floppy disks or other disks can be obtained if uniform flux density transitions are used. This requires that the rate of rotation of the disk be made a function of the radius of the particular track being accessed.
The present invention provides such a feature.
SUMMARY OF THE INVENTION The present invention provides an apparatus for use with a computer system which includes a microprocessor and random-access memory (RAM), particularly where a raster scanned display is used with the computer system. Addressing means are used for directly accessing predetermined locations in the RAM, especially during the horizontal blanking period. The addressing means also permits data in these same locations to be updated during the blanking periods. The data stored in these locations is converted from its digital form to an analog signal. A pulse is initiated when the data from memory is loaded into a counter. The pulse is ended when the counter reaches an overflow. The resultant pulses are integrated to provide the audio signal.
The processor generates the data signals for the RAM for a single tone by adding a predetermined number to a stored number. The most significant bits of this sum identify a location in a look-up table and the resultant (digital) data signal is then stored in RAM.
The predetermined number is repeatedly added to the stored number to provide each of the data signals for the RAM. For more complex tones, a number of predetermined numbers and stored numbers are used along with a plurality of look-up tables.
The present invention also provides an apparatus for controlling the rate of rotation of a disk. The addressing means used in conjunction with the sound generation apparatus are used as part of the disk control apparatus.
BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of the computer system and illustrates the address multiplexing used in conjunction with the present invention.
Figure 2 is a timing diagram used to describe times at which the digital signals representative of sound are accessed from the RAM and times at which they are updated in the RAM.
Figure 3 is a block diagram of a counter used to generate the audio signals.
Figure 4 illustrates waveforms generated from the counter of Fig. 3.
Figure 5 is a flow diagram used to describe the method by which data signals are produced.
Figure 6 is a block diagram and schematic of the circuit for providing the audio signal and volume control.
Figure 7 is a flow diagram illustrating the method by which data signals are provided for four tones.
Figure 8 is a flow diagram illustrating the method by which data signals are generated for a "non harmonic" audio signal.
Figure 9 is a block diagram illustrating the general interconnection between the computer of Fig. 1 and a disk drive motor.
Figure 10 is a block diagram illustrating part of the circuit used to generate the speed control signal for the disk drive.
Figure 11 is a block diagram illustrating an additional portion of the circuit used for generating the speed control signal for the disk drive.
DETAILED DESCRIPTION OF THE INVEN TION An apparatus for generating audio signals in conjunction with a computer system particu larly one which generates signals for a raster scanned display and for generating a motor speed control signal is described. In the following description numerous specific details are set forth such as specific frequencies, number of lines, commercial part numbers, etc., to provide a thorough understanding of the present invention. However, it will be obvious to one skilled in the art that the present invention may be practiced without these specific details. In other instances, wellknown circuits have been shown in block diagram form in order not to unnecessarily obscure the present invention.
DEFINITION In the following description, the term "audio or sound data signal" or "sound data" is used to identify a digital signal which is converted to an analog (audio) signal. The term motor speed control referes to the con trol of rate of rotation of a motor or disk driven by the motor.
GENERAL ARCHITECTURE The present invention is currently realized as part of a computer system (personal computer or small business computer) employing a Part No. 68000 microprocessor. The address lines and data lines for this microprocessor 10 are shown in Fig. 1. The other wellknown lines coupled to this processor are not shown in Fig. 1. The microprocessor 10 is coupled to a random-access memory (RAM) 11 comprising sixteen 64K dynamic memory "chips". The data lines 0-15 interconnect the microprocessor 10 and RAM 11 to permit data to flow from the processor into the RAM.
The data from the RAM is coupled through the RAM data buffer 13 into the processor; also data is coupled from the RAM 11 to disk motor speed controller 27, video shift register 28 and sound counters 29. The latter counters will be described in detail in conjunction with Fig. 3. Data is also received by the microprocessor 10 from the read-only memory (ROM) 17 when the ROM is enabled (RO MEN/). Similarly, data is transferred to and from the disk controller 18 when the disk controller 18 is enabled by a signal on line 35. This signal, as is the ROMEN/ signal is generated within the PALS 23. Data is likewise coupled to and from the microprocessor 10 to a serial communications controller 14 and an interface adapter 15 (Commercial Part Nos. 8530 and 6522, respectively).
Addresses from the microprocessor 10 are coupled to the ROM 17, PALS 23 and RAM address multiplexer 20. Some of the address signals, as indicated, are also coupled to the disk controller 18, serial communications controller 14 and interface adapter 15.
The RAM address multiplexer 20 permits the RAM to be addressed either by the microprocessor 10 or directly by the count stored in the video counter 22. During the time when the video signal is "painting" the screen, the multiplexer 20 selects the video counter 22, thus allowing the counter to directly address the RAM 11. (A signal from PALS 23 controls this selection). During other times, the RAM address multiplexer 20 permits the microprocessor 10 to directly access the RAM 11. The second address multiplexer 21 as is multiplexer 20 is controlled by a signal from the PALS 23. During the last portion of the horizontal blanking signal, as will be described in conjunction with Fig. 2, multiplexer 21 selects the highest order 7 bits from the counter 22 and forces the memory to this address. This requires that the sound and disk speed data be stored in dedicated and consecutive locations of the RAM and permits easier access by the microprocessor when this data is updated.
A latch, not shown, provides an additional bit input to the address lines of the multiplexer 21 to cause direct access to a second page of sound data in RAM 11.
The video counter 22 which consists of two Part Nos. 74LS393 provides a digital video count which corresponds to the beam's position on a raster scanned display and additional counts for the horizontal and vertical restore (blanking) periods. The timing signals which operate this counter along with the reset signals are generated by the PALS 23.
The PALS 23 consist of three program array logic chips. They receive the crystal controlled 16mHz oscillator signal from oscillator 31.
The PALS 23 generate from this signal the standard memory signals such as RAS/, CAS/, and the well-known timing signals used by the microprocessor. They also provide the horizontal synchronization signal (HSYNC/) and the vertical synchronization signal (VSYNC/). These signals are coupled to the display on lines 32. Other clocking signals used throughout the memory, such as the 8 MHz clocking signal used by the counters of Fig. 3 and the clocking signal used by the disk motor speed controller are generated within the PALS 23.
Two 32K x 8 ROMs 17 are employed in the presently preferred embodiment. They provide storage for diagnostics, initialization and other functions not relevant to the present invention.
The disk controller 18 provides an interface to a floppy disk drive. The controller is described in more detail in copending application Serial No. , filed , entitled and assigned to the assignee of the present invention.
The adapter communicates with the keyboard 24. A mouse 25 provides cursor input and switching information to both the controller 14 and adapter 15. A volume control knob is drawn on the graphics screen and is controlled by the mouse to provide three bits of binary data on lines 37. As will be described in conjunction with Fig. 6, these three bits are used for a static volume control for the audio signal.
VIDEO TIMING In the presently preferred embodiment, horizontal scanning occurs at a rate of 22,256.84398 Hz. Vertical scanning occurs at a rate of 60Hz. Each frame consists of 370 scan lines and there are 704 pixels, or dots, per horizontal scan. This corresponds to 44 sixteen bit words from the RAM 11. Thus, the main clock rate from oscillator 31 shown as 16mHz is more accurately 15.672mHz.
Referring to Fig. 2, on the display itself there are 512 "live" pixels in the horizontal direction and 342 lines on the screen. The 192 remaining bits during each horizontal scan is the horizontal blanking period sometimes referred to as the "flyback" time. It is during this period of time that the beam current in a cathode ray tube is lowered and the beam brought back from one side of the screen to the other. In the vertical direction, in addition to 342 lines on the display, there are 28 additional periods during which time the vertical blanking occurs, that is, the beam current is again reduced and the beam returned from the lower part of the screen to the upper part of the screen.
In Fig. 2, time is shown from left to right by, for instance, the dotted line 39. On the first scan, after 512 bits have been displayed, the time represented by line 40 is reached, and blanking occurs. During blanking, it is not necessary for the RAM 11 to furnish data for the display. Prior to the time 40, referring to Fig. 1, the count from counter 22 accesses the RAM 11 through the RAM address multiplexer 20. This occurs for each of the lines in the display. (The counter 22 maintains both a horizontal and vertical count.) The counters do not increment in the normal sense during the horizontal blanking period. Rather, four bits of the video counter are reused for counting during this period. This eliminates address gaps for the sound data.When time 40 is reached for each of the scan lines, a timing signal from the PALS 23 causes the multiplexer 20 to accept addresses from the microprocessor 10. During the next 192 counts of the 16mHz clock, except for the last count, the microprocessor is free to access the RAM and thus can perform tasks unrelated to the display. When the last count in each of the scan lines is reached, a signal from the PALS 23 causes the counter 22 through multiplexer 21 to directly access the memory 11.At this time, the sixteen bit word from the RAM 11 (time 41 of Fig. 2) is read from the memory with 8 bits going to the disk motor speed controller 27 and 8 bits to the sound counters 29 (as will be seen, only six bits are used by the disk motor speed controller 27.) During the "screen time" shown in Fig. 2, the sixteen bit words from the memory are placed in the video shift register 28 and used to provide the video signal. The PALS 23, as mentioned, on line 32 provide the horizontal and vertical synchronization signal used in conjunction with the signal from the shift register 28 to control the video display.
When the 342nd scan line is reached (shown as line 43) and at time 40 along this line, the multiplexer 20 again allows the microprocessor 10 to access the RAM 11. However, at the end of line 43 and for the remaining period of the vertical blanking, the multiplexer 21 still forces 9 bits of address into the RAM 11 at time 41 to allow the 16 bit word to be supplied to the speed controller 27 and counters 29. (The lines RA0 to RA6 are time multiplexed to provide these address signals.) During the vertical blanking, the microprocessor 10 is able to access the RAM 11, except for the last count of each line. It is during this period of time as will be described that the disk motor speed control data and sound data stored in the RAM 11 is updated.
The multiplexer 21 with its nine bit address defines contiguous locations in memory, thus allowing all the sound and motor spend data to be more easily accessed and updated by the processor 10. Note that the storage location in the RAM 11 for the sound and speed control data will be in a different location than the screen data.
As currently implemented, during "live" video the microprocessor and video display signal transfers time share the data bus in alternating cycles. During horizontal blanking (for words 32 to 42) the microprocessor alone has access to the data bus. At time 41 of Fig.
2 (43rd word) the microprocessor and sound/speed data transfer time share the data bus in alternate cycles.
It is possible for the microprocessor to update the sound data and speed control data during the live video. The data is, in fact, updated during blanking periods. As currently implemented and preferred, the vertical synchronization signal (retrace signal) initiates the sound data updating. By using this signal and by updating the locations already accessed (e.g., beginning at the location used at line 39, time 41) updating does not interefere with the reading of the sound data. The software program assures that the updating remains ahead of the reading of the sound data. If the microprocessor updates the sound data without being synchronized with the display, data could be replaced before being used. Also this arrangement frees the software from the requirement of being time synchronized with the sound for updating the data.
AUDIO SIGNAL GENERATION The eight sound data bits representing the audio signal are shifted in parallel into two four bit counters 46 and 47, shown in Fig. 3.
These are commercial counters (Part No.
161). The counters are clocked by the 8mHz clocking signal on line 48. Counting continues in these counters until overflow which is sensed on line 49. Thus, if all zeroes are placed in the counters, a longer period of time is required until overflow (approximately 32used.) whereas overflow can occur as soon as one cycle of the 8mHz clock if all ones are loaded into the counters.
The audio waveform is developed by first generating pulses the widths of which are a function of the time between the loading of the eight bits into the counters 46 and 47 and overflow. For instance, as shown by Fig.
4, the leading edge 52 of a pulse occurs upon loading of sound data into the counters.
If all zeros are loaded, then approximately 32,usec. later, overflow occurs and the pulse ends as indicated by the trailing edge 54.
One pulse is generated during each horizontal sweep since one eight bit sound data word is loaded into the counters during each sweep.
Therefore, pulses are generated at a frequency of approximately 22,000Hz, and in theory, this provides a bandwidth of approximately 11,000Hz. In Fig. 4, a second pulse 56 is shown which has a substantially reduced width. This, of course, would occur when a larger number is placed into the counters 46 and 47. The pulse 57, which is shown occurring during a third sweep, has a width which falls between the first and second pulses.
The pulses are integrated using an ordinary integrator to provide the analog signal. The integrator 60 of Fig. 6 receives a load signal and the overflow signal; the waveform 61 shown in Fig. 4 is developed within the integrator 60. Waveform 61 represents the resultant integration of the pulses shown in Fig. 4.
The three bits of information (bits 37a, 37b and 37c) from the interface adapter 55 are used to allow a user to statically control volume. The amplifiers 63, 64 and 65 are switched (on or off) to permit the output amplitude on line 68 to be controlled.
CALCULATION OF THE SOUND DATA SIG NALS Sound data from the memory which define the sound waveforms are calculated by the microprocessor 10. More specifically, they are "software" generated within the microprocessor. A higher order language, such as PAS CAL, may be used to allow a user to more easily implement the flow diagram which are discussed blow. In general, the sound data are produced quite rapidly since the process takes advantage of the rapid adding capability of the 68000 microprocessor.
Referring to Fig. 5, assume that a single "pure" tone is to be generated. First, a lookup table is stored within the system memory; in the presently preferred embodiment the look-up table is 256 X 8 bits. Thus, for each eight bit address to the table an eight bit output results. For a pure tone, the look-up table contains points corresponding to a sinewave. This is illustrated by the look-up table 70 of Fig. 5. The process of generating the address for the subsequent value table is the repeated adding of some predetermined number shown in block 74 as 00 to a number stored in register 72. Initially, the 32 bit word stored in register 72 may have any value, for instance, all zeroes. The increment, (Po is added to it. The resultant sum is restored in register 72. The most significant eight bits are stripped from the sum as shown by block 76 and used as an address for the look-up table 70.
Assume for sake of discussion that Afo is small. Each time this relatively small binary number is added to the number stored in register 72, the most significant bits will not change, but rather, numerous additions are needed for them to change. Consequently, each of the 256 locations in the look-up table 70 will be addressed several times and the eight bits of data from the look-up table which are stored within the RAM 11 will vary slowly. This, of course, will correspond to a low frequency. If, on the other hand, the increment Af0 is relatively large, the results from the look-up table will change more rapidly and thus, for instance, each of the consecutive eight bit data words from the look-up table 70 which are stored in the RAM 11 will be different. This would correspond to a high frequency.A new eight bit sound data word is obtained with each addition represented by block 74. Therefore, by varying the increment added on each cycle, the frequency of the tone is varied. All the sound data used during each frame can easily be calculated during a few scan line periods of the vertical blanking period.
To obtain envelope control or amplitude modulation, a set of tables may be used. Each table, for instance, of set 0-7, contains a sinewave with maximum peak to peak value of 2SET.NO. By allowing a predetermined number of frame intervals to pass before switching between sets, envelope control is achieved.
Referring to Fig. 7, in the presently preferred embodiment, up to four 256 x 8 lookup tables may be used within the microprocessor 10. And, the contents of each look-up table can be user programmed and each may be different. For instance, look-up table 80 of Fig. 7 is shown as containing a sinewave, table 81 as a triangular wave, table 82 as a square wave, and table 83 as a ramp. The process described in conjunction with Fig. 5 is again used. However, this time (with four simultaneous tones being generated) 24 bits, rather than 32, are used. (This is shown by block 85 in Fig. 7.) Again, an increment shown as A(P1 is added to the previous sum (block 86). The most significant bits are stripped from the sum (block 87) and used as an address for the corresponding eight bit word within the table 80.The same process is repeated for the number shown within block 87 where a different (or the same) increment A(P2 is added shown at block 88, and again the most significant bits of the sum are used to address look-up' table 81. Similarly, different stored values and increments are generated to allow look-ups in tables 82 and 83.
The resultant eight bits from each of the tables are added as shown by blocks 80, 90 and 91 and the most significant eight bits are stripped from this sum as shown by block 92 and stored within the memory 11. This process is repeated for each of the sound data words stored within the RAM 11 when four tones are generated. Once again, the fundamental frequency for each of the four tones is determined by the increment which is added, such as at blocks 86 and 88, and the harmonic content is determined by the "shape" stored within the look-up table.
Table I, attached, is a program written in 68000 assembly language for implementing the flow diagram of Fig. 7.
With the above-described sound generation apparatus, excellent tone control is achieved with up to 24 bits of "frequency control" being possible (for each tone) within the 11 khz band. This permits almost 17 million different tones to be generated within the band which is approximately equal (or better) to the best discernability of the human ear.
The above-described processes are particularly suited for providing periodic functions which are harmonic in nature and provide a tonal quality representing music, and the like.
For sounds such as voice, an "extended" look-up buffer may be used for initially storing a waveform representative of, for example, speech. This is shown as buffer 93 in Fig. 8.
The buffer in fact can be within the RAM 11 and for practical reasons must be if a long waveform is to be stored. The eight bit values are again obtained by adding some increment A(P0 shown in block 95 to a 32 bit word stored in register 96 with the most significant bits being used to address locations in the buffer 93. The results for the look-up in the extended buffer are stored and selected during the horizontal blanking period as was the case with the case of Figs. 5 and 7.
Table 2, attached, contains a program written in 68000 assembly language for implementing the flow diagram of Fig. 8.
DISK MOTOR SPEED CONTROLLER Most typically, floppy disk drives and other disk drives, include a mechanism for driving the disk at a constant, predetermined rate of rotation (speed). Upon fabrication of the disk drive, the speed control mechanism is calibrated to assure that data will be recorded and retrieved at a certain rate.
For the present invention the motor speed is controlled by a computer, and moreover, the motor speed is varied as a function of the track being accessed so tat uniform flux densities result. That is, the motor turns slower when the outer tracks (greater radius) are being used and faster when the inner tracks (smaller radius) are being used.
In Fig. 9, the computer of Fig. 1 is shown as computer 97. A disk drive such as a floppy disk drive and in particular, a disk drive motor 98, is also illustrated. Line 99 provides the computer 97 with pulses which indicate the motor speed. In the presently preferred embodiment, the standard indexing pulses from the motor are used. The floppy disk drives employed are keyed to the motor hub, and thus no slippage occurs. Consequently, the index pulses themselves represent the actual rate of rotation of the floppy disk. If slippage is possible, then markers or bit streams from the disk itself may be used to obtain an accurate indication of the disk speed. The speed control signal on line 100 controls the motor speed. A predetermined signal level is used on line 100 and the motor speed sensed on line 99. This allows the computer 97 to record the characteristics of the motor 98.
That is, the computer knows for each motor connected to it, the rate of rotation of the motor for a particular speed control signal. In this manner, the disk drive motor 98 itself need not be calibrated when being manufactured, and moreover, the speed control mechanism normally used within the disk drive is not needed since the speed control occurs from the computer 98. As is apparent from Fig. 9, closed loop operation occurs since the computer 97 senses the actual motor speed on line 99.
As currently implemented, the computer 97 examines the pulses 99 and, in effect, determines the characteristics of the motor 98 when a new disk is placed within the disk drive, before data is written or if errors occurred on reading or writing. Obviously, other arrangements may be used, for instance, the indexing pulses can be checked periodically, or for that matter, continually.
In the presently preferred embodiment, the motor operates at a speed from 350rpms for the innermost track, to 700rpms for the outer track. Obviously, the selected range of rate of rotation will be a function of the radius of the disk and will vary, depending upon the particular magnetic characteristics of the system and the size of the disk.
As previously mentioned, during each horizontal blanking period, 8 bits of data are provided to the sound counters 29 of Fig. 1, and 8 bits are provided to the speed controller 27. In the presently implementation only six of the bits on this bus are used for speed control. The bus is illustrated as bus 109 in Fig. 10 and these six lines from the bus are shown coupled to six stages of a shift register 102. The six bits from the bus 108 are loaded into the six stages of the register 102 when the sound data signals are loaded into the sound counters 2.
Fig. 10 implements a polynomial counter.
The data placed into the six stages of the shift register 102 are shifted under the control of a clocking signal. The effective shift rate is approximately 1 mHz. Because of the various waiting states involved in the shift register, the 8mHz clocking signal is actually coupled to the register. The output of the last stage of the register is coupled to one input terminal of an exclusive OR gate 104 through line 103.
The output of the first stage is coupled to the other input terminal of the gate 104 through line 105. This arrangement provides for counting in the "polynomial generator" in a manner known in the prior art. The stages of the shift register 102 are also coupled to a state detector 106. This detector determines when a predetermined binary state is reached within the shift register. When this state is reached, a signal is coupled over line 109 to stop the shifting within the shift register 102; this signal is used to generate the end of a pulse in the same manner as used for the sound signal.
Referring to Fig. 11, counting begins within the shift register 102 of Fig. 10 at the beginning of each horizontal sweep. At this time, the leading edge of a pulse is generated such as edge 115 of the pulse shown in Fig. 12.
When the state detector 106 detects the predetermined state, the end of the pulse is generated such as shown by trailing edge 116 of Fig. 12. The pulses are integrated by the integrator 114 and the resultant signal on line 100 is used to control the speed of the motor in an ordinary manner.
The 6 bits placed within the shift register 102 will always reach the state detected by the detector 106 before the end of each horizontal sweep. In practice, the state will be detected during the first 40used. of the approximately 44used. required for each horizontal sweep.
Ten horizontal sweeps are used for each speed control setting. This is chosen since the presently preferred embodiment employs 370 total scan lines which is evently distributed by 10. Nonetheless, a pulse is generated for each horizontal sweep. (The time constant associated with the integrator 114 of Fig. 11 is slow enough that a continuous signal results on line 100.) The pulse width generated for each of the 10 sweeps used to define each speed control value is "dithered" to provide precise values. For instance, assume that a value corresponding to 6.5 is required on line 100. Referring to Fig. 12, for the 10 sweeps used to define this value, the first would have the value 6, the second the value 7, and so on for the 10 sweeps. This would cause the trailing edge 11 6 of the pulses to vary between the values 6 and 7. After being integrated, however, the value on line 100 would correspond to 6.5. By distributing the values and permitting the pulse dithering during the 10 sweeps used to define each speed control number, very accurate control occurs. Control accuracy beyond the 6 bits loaded into the shift register is obtained. In the present realization 400 unique levels or log (400) log (2) bits are achieved.
Attached as Table 3, is the program used for the speed control, written in 68000 assembly language.
Thus, an improved apparatus has been described that permits both sound generation and motor speed control in a floppy disk drive, or the like.

Claims (23)

1. In a computer system which includes a microprocessor and a random-access memory (RAM), and provides a video signal for a raster scanned display, an apparatus for generating an analog audio signal comprising: addressing means for directly accessing predetermined locations in said RAM when said video signal is in a horizontal blanking period and for permitting said microprocessor to write new data into said locations when said video signal is in a blanking period, said addressing means being coupled to said RAM; waveform means for converting data from said locations and accessed by said addressing means to said analog audio signal; whereby said audio signal is efficiently provided by said computer system.
2. The apparatus defined by Claim 1 wherein said waveform means comprises: a counter into which said data is loaded from said locations of said RAM, said counter counting at a predetermined rate after said data is loaded; pulse generation means, coupled to said counter for initiating a pulse when said counter is loaded and for ending said pulse when said counter reaches a predetermined count, said pulse generation means coupled to said counter.
3. The apparatus defined by Claim 2 wherein said ending of said pulse occurs when said counter overflows.
4. The apparatus defined by Claim 3 including integration means for integrating said pulses from said pulse generation means.
5. The apparatus defined by Claim 1 or 4 wherein said horizontal blanking occurs at a frequency of approximately 22,000 Hz.
6. The apparatus defined by Claim 5 wherein said vertical blanking occurs at a frequency of approximately 60Hz.
7. The apparatus defined by Claim 1 including additional waveform means for converting data from said locations and accessed by said addressing means into a speed control signal for a disk drive.
8. In a computer system which includes a microprocessor and a random-access memory (RAM), and provides a video signal for a raster scanned display, an apparatus for generating an analog audio signal comprising: a first counter for providing a digital count representative of said video signal timing for said display; first address multiplexing means for coupling said digital count from said first counter as an address to said RAM at least during a portion of the horizontal blanking period of said video signal, said first address means coupled to said counter and RAM;; second address multiplexing means for coupling said digital count from said first counter as an address to said RAM during periods when said audio signal is providing information for presentation on said display and for coupling address signals from said microprocessor to said RAM at lest during portions of the vertical blanking period; waveform means converting data from said RAM addressed during said horizontal blanking period by said first counter to said analog audio signal.
9. The apparatus defined by Claim 8 wherein said waveform means comprises: a second counter into which said data is loaded from said RAM, said counter counting at a predetermined rate after said data is loaded; pulse generation means coupled to said second counter for initiating a pulse when said second counter is loaded and for ending said pulse when said second counter reaches a predetermined count, said pulse generation means being coupled to second counter.
10. The apparatus defined by Claim 9 wherein ending of said pulse occurs when said second counter overflows.
11. The apparatus defined by Claim 10 including litigation means for integrating said pulses from said pulse generation means.
12. The apparatus defined by Claims 8 or 11 wherein said horizontal blanking means occurs at a frequency of approximately 22,000Hz.
13. The apparatus defined by Claim 12 wherein said vertical blanking occurs at a frequency of approximately 60Hz.
14. The apparatus defined by Claim 8 including an additional waveform means for converting data from said RAM, addressed during said horizontal blanking period by said first counter, to a speed control signal for a disk drive.
15. In a computer system which includes a microprocessor and a random-access memory (RAM) and provides a video signal for a raster scanned display, a method for generating an analog audio signal comprising the steps of: accessing said RAM during horizontal blanking periods to obtain data signals representative of said audio signal; converting said data signals into said audio signal; updating said data signals representative of said audio signals during vertical blanking periods; whereby said audio signal is provided without interference with said video signal.
16. The method defined by Claim 15 wherein said microprocessor provides said data signals representative of said audio signal by: (a) adding a predetermined number to a stored number; (b) using the most signficant bits of the sum as a location in a look-up table; (c) storing the sum as said stored number of step(a); (d) placing said data signals from said lookup table into said RAM, whereby the fundamental frequency of said audio frequency is a function of said predetermined number and the harmonic content of said audio signal is a function of the contents of said look-up table.
1 7. The method defined by Claim 16 wherein predetermined numbers are added to N stored numbers, and the resultant N sums are used as locations in N look-up tables; and where the most significant bits of the sum of data from said N look-up table provides said data signal representative of said audio signal.
18. In a computer system which includes a microprocessor and a random-access memory (RAM), and provides a video signal for a raster scanned display, an apparatus for generating a speed control signal for a disk drive comprising: addressing means for directly accessing predetermined locations in said RAM when said video signal is in a horizontal blanking period and for permitting said microprocessor to write new data into said locations when said video signal is in a blanking period, said addressing means being coupled to said RAM; waveform means for converting data from said locations and accessed by said addressing means to said speed control signal; whereby said speed control signal is provided without interference with said video signal.
19. The apparatus defined by Claim 18 wherein said waveform means comprises: a counter into which said data is loaded from said locations of said RAM, said counter counting at a predetermined rate after said data is loaded; pulse generation means coupled to said counter for initiating a pulse when said counter begins counting and for ending said pulse when said counter reaches a predetermined count, said pulse generation means coupled to said counter.
20. The apparatus defined by Claim 19 including integratibn means for integrating said pulses from said pulse generation means.
21. The apparatus defined by Claim 18 wherein said computer system senses disk drive speed and varies said control signal as a function of said speed to provide dynamic calibration.
22. The apparatus defined by Claims 18 or 21 wherein said speed control signal is varied as a function of the track being accessed on a disk.
23. An apparatus for generating an analog audio signal in a computer system which includes a microprocessor and a random-access memory (RAM), and provides a video signal for a raster scanned display, substantially as hereinbefore described with reference to the accompanying drawings.
GB08429501A 1984-01-20 1984-11-22 Sound generation and disk speed control apparatus for use with computer systems Expired GB2153115B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US57313284A 1984-01-20 1984-01-20

Publications (3)

Publication Number Publication Date
GB8429501D0 GB8429501D0 (en) 1985-01-03
GB2153115A true GB2153115A (en) 1985-08-14
GB2153115B GB2153115B (en) 1987-10-21

Family

ID=24290779

Family Applications (2)

Application Number Title Priority Date Filing Date
GB08429501A Expired GB2153115B (en) 1984-01-20 1984-11-22 Sound generation and disk speed control apparatus for use with computer systems
GB08527978A Expired GB2166895B (en) 1984-01-20 1985-11-13 Disk speed control apparatus for use with computer systems

Family Applications After (1)

Application Number Title Priority Date Filing Date
GB08527978A Expired GB2166895B (en) 1984-01-20 1985-11-13 Disk speed control apparatus for use with computer systems

Country Status (8)

Country Link
JP (1) JPS60159896A (en)
AR (1) AR240594A1 (en)
AU (1) AU574743B2 (en)
CA (1) CA1226961A (en)
DE (1) DE3501291A1 (en)
FR (1) FR2558629B1 (en)
GB (2) GB2153115B (en)
HK (2) HK77088A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0590966B1 (en) * 1992-09-30 2000-04-19 Hudson Soft Co., Ltd. Sound data processing

Also Published As

Publication number Publication date
FR2558629A1 (en) 1985-07-26
GB8527978D0 (en) 1985-12-18
GB2166895B (en) 1987-10-14
GB2166895A (en) 1986-05-14
HK77088A (en) 1988-09-30
HK76988A (en) 1988-09-30
AU3631584A (en) 1985-07-25
DE3501291A1 (en) 1985-08-01
GB8429501D0 (en) 1985-01-03
FR2558629B1 (en) 1990-02-23
GB2153115B (en) 1987-10-21
AR240594A1 (en) 1990-05-31
CA1226961A (en) 1987-09-15
AU574743B2 (en) 1988-07-14
JPS60159896A (en) 1985-08-21

Similar Documents

Publication Publication Date Title
US6453286B1 (en) Computer system for processing image and sound data using ADPCM stereo coding
US4910670A (en) Sound generation and disk speed control apparatus for use with computer systems
GB2153115A (en) Sound generation and disk speed control apparatus for use with computer systems
US3918040A (en) Circuit for the raster writing conversion of data to be reproduced on a video screen
EP0590838B1 (en) Sound processing apparatus
US4401985A (en) Full page display apparatus for text processing system
JPS60135995A (en) Color code conversion memory
JP3139671B2 (en) Waveform observation device
JPH0233227B2 (en)
JP3233970B2 (en) Image processing method and apparatus
KR100206580B1 (en) Memory device for 4 divided frequency data of liquid crystal display device
KR100606055B1 (en) Appartus for controlling memory
JPH0734225B2 (en) Image processing device
JP3058103B2 (en) Video mute signal generation circuit
JPH0239808B2 (en)
RU1807519C (en) Graphic information output device
JP3166323B2 (en) Image processing device
JPH0474797B2 (en)
KR880001215B1 (en) Hangeul and english display device
JPS59181143A (en) Body signal recording apparatus
KR940001833B1 (en) Digital video apparatus
KR960014137B1 (en) Clock conversion method
JPS6352573A (en) Recorder
JPS60209785A (en) Screen shifter for display unit
JPS60159786A (en) Display controller

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 19941122