CN1073725C - Efficient rocking bar data collecting method and device - Google Patents
Efficient rocking bar data collecting method and device Download PDFInfo
- Publication number
- CN1073725C CN1073725C CN94109481A CN94109481A CN1073725C CN 1073725 C CN1073725 C CN 1073725C CN 94109481 A CN94109481 A CN 94109481A CN 94109481 A CN94109481 A CN 94109481A CN 1073725 C CN1073725 C CN 1073725C
- Authority
- CN
- China
- Prior art keywords
- data
- rocking bar
- signal
- read
- central processing
- 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.)
- Expired - Lifetime
Links
Images
Abstract
The present invention relates to a high efficient rocker data collecting method and a device thereof. A data read unit is composed of a multidigit data register and a sequence generator. When a CPU sends out a read signal to the sequence generator, the sequence generator sends out a locking signal to the rocker to lock rocker data in a self-register of the rocker; then the sequence generator generates continuous read signals using multiple pulses as a unit, so that data of the register of the rocker is continuously read in the multidigit data register; so that the rocker data is rapidly collected, read sequence and movement are completely generated by the structure, a sequence period of the CPU is not occupied, and processing efficiency can be enhanced.
Description
The present invention relates to a kind of efficient rocking bar data collecting method and device thereof, mainly cooperate a long numeric data register to form data-reading unit with a sequential generator, make central processing unit only need send a read signal to this element, can make timing sequencer produce a rocking bar data interlock signal and in regular turn and read signal continuously to rocking bar, make the data of rocking bar can be earlier through being stored in its inner register, read signal continuously and deliver in regular turn in the long numeric data register through this again, so that central processing unit can receive the rocking bar data apace, and exempt central processing unit and consume the time cycle and read the low phenomenon of efficient of rocking bar data one by one, a kind of efficient rocking bar data collecting method and relevant apparatus are provided.
Electronic game machine reads the mode of rocking bar (JOYSTICK) data now, be that every data that rocking bar is produced are read by the central processing unit of electronic game machine in regular turn in a mode that connects, for data is that eight rocking bar is discussed, one secondary data transmits, promptly need to produce eight read signals and read in this data of eight in regular turn with central processing unit, like this, obviously make central processing unit give read data in the reasonable time of need expending, when if the rocking bar quantity that electronic game machine connected increases, it is very consuming time more to cause central processing unit to read, not only make reading of data shortcoming efficient activity, and cause central processing unit to be busy with read data and its treatment effeciency is reduced, so the aforementioned conventional electronic game machine reads the not good situation of structure efficiency, is necessary to be improved.
The purpose of this invention is to provide a kind of efficient rocking bar data collecting method and device thereof,, improve the efficient that the rocking bar data transmit to reduce the consuming time of central processing unit reading of data.
Efficient rocking bar data collecting method of the present invention comprises that basic step is as follows:
Timing sequencer receive from central processing unit each time or every several read signal, produce locking signal in order to the locking rocker data;
Timing sequencer receives a read signal from central processing unit, and the signal that reads of rocking bar long numeric data is read in generation one continuously;
In above-mentioned locking signal and reading under the effect of signal, make the rocking bar long numeric data deliver to the long numeric data register continuously and send into central processing unit.
The present invention also comprises step: the locking signal that timing sequencer is sent, in advance prior to timing sequencer inner setting one fiducial value, when the number of times of sending into read signal equals this fiducial value, produce a locking signal, and continuous data reads to do repeatedly to rocking bar.
Efficient rocking bar data collecting device of the present invention mainly comprises:
One sequential generator, formed in order to produce the pulse producer that reads that reads pulse continuously in order to the lock pulse generator and that produces locking signal by one, the input end of timing sequencer receives the read signal of central processing unit, and it locks output signal and reads output signal and deliver on the rocking bar respectively;
One long numeric data register, its input end and output terminal are connected with the data bus of rocking bar data output end and central processing unit respectively, in order to the rocking bar serial signal is moved into and be converted to parallel data and deposited.
For making method feature of the present invention, architectural feature and other purpose more clear, describe in detail below with reference to accompanying drawing:
Brief Description Of Drawings
Fig. 1 is a structure calcspar of the present invention.
Fig. 2 is the embodiments of the invention circuit diagrams.
Fig. 3 is the sequential chart that reads eight bit data of the present invention.
Fig. 4 is the sequential chart that reads the sixteen bit data of the present invention.
Figure number partly illustrates
10 long numeric data registers, 20 timing sequencers
21 lock pulse generators 22 read pulse producer
211 data multiple registers, 212 counters
213 comparers
The present invention is for being provided with as shown in Figure 1 a data-reading unit between rocking bar and game host, this data-reading unit is made up of a long numeric data register 10 and a sequential generator 20, wherein, this long numeric data register 10 is shift LD structures that can be made of the trigger with a plurality of serial connections shown in Fig. 2 below, its input end is connected with the data output end (DATA) of rocking bar, output terminal (O/P) then is connected with game machine central processing unit data bus, can make data that rocking bar sends into after this long numeric data register 10 receives continuously and is converted to parallel signal, received and handled for central processing unit, these timing sequencer 20 inside are read pulse producer 22 by a lock pulse generator 21 and and are formed two generators 21,22 produce a locking signal (PS) and respectively reads signal (CK) to rocking bar.And the data register neutralization that by this locking signal (PS) key-press status instantaneous on the rocking bar is locked in the rocking bar respectively sends to the input end of long numeric data register of the present invention the data of rocking bar data register by reading signal (CK), and the read signal (READ) in order to read the rocking bar data that the game machine CPU (central processing unit) is sent promptly is directly inputted in the timing sequencer 20.When sending into a read signal (READ), make aforementioned two generators 21,22 send locking signal (PS) respectively and read signal (CK) to timing sequencer 20.
The embodiment structure of this timing sequencer 20 can be with reference to Fig. 2, this lock pulse generator 21 is by a data multiple register 211, one counter 212 and a comparer 213 are formed, this data multiple register 211 is sent into a parameter of representing rocking bar quantity or data volume for central processing units, to set locking signal (PS) in behind what read signals (READ), just producing, when rocking bar quantity is 2, the value that then makes data multiple register 211 is 2, and aforementioned counter 212 is to calculate the number of times that central processing unit is sent into read signal (READ), two numerical value are after comparer 213 compares, promptly send locking signal to rocking bar if conform to, in view of the above the locking rocker data.
And this reads the oscillation signal generator that is configured to of pulse producer 212, in order to produce a continuous impulse, in the present embodiment for once produce 8 read data in the rocking bar continuously read pulse (the CK signal of waveform such as Fig. 3, Fig. 4), also visual actual needs and change into 16,32 or 64 read pulse continuously.
When the setting content of aforementioned data multiple register 211 is 1, promptly the rocking bar that connected of expression sends into figure place for being equal to or less than game machine central processing unit internal data figure place, so when desiring to read the data of rocking bar, at first send just like the read signal (READ) shown in the sequential chart of Fig. 3 and enter in the timing sequencer 20 by the game machine central processing unit, and send a locking signal (PS) to rocking bar through lock pulse generator 21, and the instantaneous button data that makes rocking bar can be locked on the interior data register of rocking bar, produce one with continuous impulse that many group pulses were constituted by signal (CK) end of reading that reads pulse producer 22 and then, and in the rising edge of each pulse of this continuous impulse, the rocking bar data are sent, being about to data in the negative edge of each pulse sends in this long numeric data register 10, as shown in Figure 3, because reading signal (CK) is once to produce eight continuous impulses, so making rocking bar eight bit data (D1)~(D8) all reads at the most in the bit data register 10, so that central processing unit is directly taken processing by long numeric data register 10 output terminals (O/P).
And aforementioned central processing unit when running through data register 10 1 times at every turn, the content that is about to this counter 212 adds one, and be that the numerical value of 1 data multiple register 211 is identical with aforementioned former setting value, so can send a locking signal (PS) to rocking bar through comparer 213, for next data of locking, and be recycled to counter 212 through internal wiring by this locking signal (PS), simultaneously the content of counter 212 is removed, to treat doing counting action next time, and can find out by the sequential chart of Fig. 3, after reading eight bit data, promptly produce a locking signal (PS) corresponding to read signal (READ) at every turn.
When the rocking bar quantity that is connected to game machine is 2, the value of promptly setting this data multiple register 211 is 2, the data number of this expression rocking bar is sixteen bit (each rocking bar is eight), can be with reference to shown in Fig. 4 sequential chart, so only whenever run through data register 10 twice (that is producing twice read signal (READ)) in central processing unit, just make the count value of counter 212 conform to the value of data multiple register 211, just send another locking signal (PS) so that lock its follow-up data this moment, and remove this counter 212 simultaneously, so that count reading times again, and in last time producing in the locking signal (PS), promptly produce twice read signal (READ) and make in regular turn and read signal (CK) and go up to produce twice and read signal continuously by central processing unit, so that each eight bit data of two rocking bars is sent in regular turn continuously, reach the effect of reading fast, when if rocking bar quantity has each the many group number or the data volume of one rocking bar greatly, also in like manner as before, if during for 3 or 4 rocking bars of connection, also only need set this data multiple register 211 and can do the data that each rocking bar is read in repeatedly segmentation continuously.
By aforementioned method for reading data of the present invention and relevant apparatus as can be known, central processing unit only need send once or the read signal of less number of times, can produce lockable rocking bar data through timing sequencer and reach the signal that reads the rocking bar data continuously, and make the rocking bar data be deposited by the long numeric data register, reach for central processing unit and take fast, really can reach high efficiency data read effect, and it is applied to reading of many rocking bars signal, also there is relevant parameters to set and comparative structure, can read continuously several times, applicable to existing game machine or the rocking bar data transmission of multidigit backward.
Claims (6)
1, a kind of efficient rocking bar data collecting method is characterized in that comprising:
Timing sequencer receive from central processing unit each time or every several read signal, produce locking signal in order to the locking rocker data;
Timing sequencer receives a read signal from central processing unit, and the signal that reads of rocking bar long numeric data is read in generation one continuously;
In above-mentioned locking signal and reading under the effect of signal, make the rocking bar long numeric data deliver to the long numeric data register continuously and send into central processing unit.
2, efficient rocking bar data collecting method as claimed in claim 1, it is characterized in that the described locking signal that wherein said timing sequencer is sent, in advance prior to timing sequencer inner setting one fiducial value, when the number of times of sending into read signal equals this fiducial value, produce a locking signal, continuous data reads to do repeatedly to rocking bar.
3, a kind of efficient rocking bar data collecting device is characterized in that comprising:
One sequential generator, formed in order to produce the pulse producer that reads that reads pulse continuously in order to the lock pulse generator and that produces locking signal by one, the input end of timing sequencer receives the read signal of central processing unit, and it locks output signal and reads output signal and deliver on the rocking bar respectively;
One long numeric data register, its input end and output terminal are connected with the data bus of rocking bar data output end and central processing unit respectively, in order to the rocking bar serial signal is moved into and be converted to parallel data and deposited.
4, efficient rocking bar data collecting device as claimed in claim 3 is characterized in that the lock pulse generator of wherein said timing sequencer is made up of the data multiple register and a comparer of a counter, a setting rocking bar data multiple.
5, efficient rocking bar data collecting device as claimed in claim 3 is characterized in that the wherein said pulse producer that reads is an oscillation signal generator.
6, efficient rocking bar data collecting device as claimed in claim 3 is characterized in that wherein said long numeric data register constitutes with a plurality of trigger polyphones.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN94109481A CN1073725C (en) | 1994-08-15 | 1994-08-15 | Efficient rocking bar data collecting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN94109481A CN1073725C (en) | 1994-08-15 | 1994-08-15 | Efficient rocking bar data collecting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1131766A CN1131766A (en) | 1996-09-25 |
CN1073725C true CN1073725C (en) | 2001-10-24 |
Family
ID=5033960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN94109481A Expired - Lifetime CN1073725C (en) | 1994-08-15 | 1994-08-15 | Efficient rocking bar data collecting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1073725C (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5245320A (en) * | 1992-07-09 | 1993-09-14 | Thrustmaster, Inc. | Multiport game card with configurable address |
-
1994
- 1994-08-15 CN CN94109481A patent/CN1073725C/en not_active Expired - Lifetime
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5245320A (en) * | 1992-07-09 | 1993-09-14 | Thrustmaster, Inc. | Multiport game card with configurable address |
Also Published As
Publication number | Publication date |
---|---|
CN1131766A (en) | 1996-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE10313886A1 (en) | Data transmission device for data transmission between blocks with different clock validity ranges | |
CN1010362B (en) | Pwm controller | |
CN1073725C (en) | Efficient rocking bar data collecting method and device | |
EP0391516A2 (en) | Binary adding apparatus | |
CN1107876C (en) | Linear frequency modulation signal source | |
CN1434361A (en) | Data processor | |
CN1021379C (en) | Digitized random signal generator with arbitrary probability distribution | |
CN1060603C (en) | Single steady signal generating device | |
CN1029278C (en) | Trick scan conversion waveform generator for TV | |
US5841680A (en) | Random pulse generation | |
CN205620988U (en) | A hardware random number generator | |
CN1313900C (en) | Synchronous logic circuit interface and synchronization method thereof | |
JPH0771068B2 (en) | Data communication method | |
Kontkanen et al. | Analyzing the stochastic complexity via tree polynomials | |
CN1027934C (en) | Character pattern lattice enlarging and reducing device | |
CN1158588C (en) | Chip set with clock signal conversion | |
SU1716507A1 (en) | Generator of random numbers | |
SU1721607A1 (en) | Random number generator | |
CN2209352Y (en) | Chinese-English computer learning machine keyboard | |
SU1383490A1 (en) | Combined counter | |
SU809137A1 (en) | Pulse distributor | |
JP2797106B2 (en) | Optimal scanning method determination circuit | |
SU1550606A2 (en) | Leading clock signal shaper | |
CN1037225A (en) | Novel dynamic totalizer | |
SU1525884A1 (en) | Shaper of clock pulses |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CX01 | Expiry of patent term |
Expiration termination date: 20140815 Granted publication date: 20011024 |