CN1074543A - Single chip microcomputer firmware processing mode and hardware unit - Google Patents

Single chip microcomputer firmware processing mode and hardware unit Download PDF

Info

Publication number
CN1074543A
CN1074543A CN 92111282 CN92111282A CN1074543A CN 1074543 A CN1074543 A CN 1074543A CN 92111282 CN92111282 CN 92111282 CN 92111282 A CN92111282 A CN 92111282A CN 1074543 A CN1074543 A CN 1074543A
Authority
CN
China
Prior art keywords
keyboard
line
chip microcomputer
key
single chip
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.)
Pending
Application number
CN 92111282
Other languages
Chinese (zh)
Inventor
陈振文
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.)
XULI CO Ltd
Original Assignee
XULI CO Ltd
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 XULI CO Ltd filed Critical XULI CO Ltd
Publication of CN1074543A publication Critical patent/CN1074543A/en
Pending legal-status Critical Current

Links

Images

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Communication Control (AREA)

Abstract

Single chip microcomputer firmware processing mode and the hardware unit of the signal of time clock line and data line energy while operate as normal in network and non-network system in the keyboard interface, at asynchronous time clock line and data line signal in the interface, selection utilizes the single chip microcomputer family, through single bit steering order group, detect or set external status in the instantaneity mode through same signal wire, or two signal line separately, single chip microcomputer with no bit processing instruction group, and use firmware techniques, make keyboard energy while operate as normal in network and non-network system, thereby the simplification hardware circuit, make keyboard with the most effective speed operation in network and non-network system.

Description

Single chip microcomputer firmware processing mode and hardware unit
The signal of (CLOCK) line of time clock in the keyboard interface provided by the invention and data (DATA) line is single chip microcomputer firmware processing mode and the hardware unit of operate as normal in networking (NOVELL OR WORKSTATION) and non-network system simultaneously, be a kind of firmware design, can freely cooperate same signal wire to import, the hardware circuit that output hardware circuit and input and check point separate, and all can make keyboard simultaneously operate as normal in the networking servo machine tool (FILE SERVER) and non-networking line, no hiatus and slow input situation have the value on the industry.
General robot calculator host computer system and keyboard asynchronous (ASYNCHORNIOSM) output, inputting interface, all follow generally acknowledged time clock line of two worlds and data line and do the passage that transmits signal data between the device, as Figure 1-3, (a) be that XT mode (b) is the AT mode.(a) item is asynchronous one-way transmission (two ware transmition) mode.The following item of narration (a) earlier.
Asynchronous one-way transmission (asynchronism one ware transmition) mode, its data line causes electronegative potential by keyboard forever under normal condition, and the time clock line then is a noble potential.When keyboard desires to send data to system, then the time clock line is caused electronegative potential, again data line is risen to noble potential, then reply the time clock line to noble potential, begin to send nine bits (an initial bit, eight data bits).And the time clock line is pulled to electronegative potential and continues for some time when main frame, then keyboard is answered self-return.System as transmission mode as described in (a) line connects the networking no matter have or not, and its output, input mode are all identical, thereby all available many distinct methods are finished easily in known technology.But (a) system of item is too slow because of its execution speed, does not re-use gradually on the market.Otherwise use the system of (b) transmission mode, because of its speed can reach the use needs, so, all used in a large number at present no matter whether connect the networking.And not connecting the networking, also all available many distinct methods are finished in known technology.In case (b) system of transmission mode connects and goes up the networking, when being become the servo machine tool of line surely by the user again, because of the difference on the various different compatible system execution speed, known technology promptly can't really can reach user's needs.
When (a) and (b) system of a transmission mode does not connect the networking, in known technology, there are two kinds of hardware to connect the mode of keyboards, as figure below:
(a) and (b) mode of connection altogether used of term system as shown in Figure 4 and Figure 5.
The difference of the hardware connection of Fig. 4 and Fig. 5 is that Fig. 5 connection can save two detection lines, and is easier on the hardware design.But because of Fig. 4 is the mode of exporting and check point separates, its firmware is when using no bit to handle the single chip microcomputer of (BIT CTRL) instruction group, and execution speed is very fast, when the networking is gone up in connection, though the problem of still having, occurrence probability less (execution speed of viewing system and decide).And if Fig. 5 connection is when using the single chip microcomputer of no bit processing instruction group, and problem is with regard to it is enough when being executed in the networking.
The patent of Acer application (case number be 123263) promptly is to use the single chip microcomputer of no bit processed group; wherein used Fig. 5 hardware to connect skill; its objective is in order to save the production test cost; yet on firmware, still prolong with general known skill flow process; so on working in the networking and when stroking fast; the font speed that shows on the screen promptly takes place sometimes normal, the situation that sometimes slows down, the puzzlement user of regular meeting.[Fig. 4 hardware connection, connecting the networking will decide on main frame, and when problem, situation is also together.]
Below narrate (b) item and networking:
By Fig. 2 and 3 data line of (b) item and the definition mode of time clock line as can be seen, now be described as follows:
(1) as seen from Figure 2, if during the down not any order of system, its data line and time clock line will remain on high potential state.
(2) as seen from Figure 2, if keyboard desires to send data, whether be noble potential simultaneously then with first judgment data line and clock arteries and veins line, if be noble potential simultaneously, then begin to send data (an initial bit, eight data bits, a same bit, one stops bit), and initial bit will be an electronegative potential forever.After having sent sign indicating number, keyboard must be returned to noble potential with data line and time clock line again.If before keyboard began to send data, the detection data line was an electronegative potential, the time clock line is a noble potential, then desires to send the order index for system, and keyboard will reside in the data of desiring to send in the impact damper, stops to send data, and goes the receiving system order.If before keyboard began to send data, the detection data line was a noble potential, the time clock line is an electronegative potential, then send sign indicating number for system forbids keyboard, and keyboard stops to send data, equally the data of desiring to send is resided in the impact damper, and goes to carry out the action of keyboard scan.If before beginning to send data, detecting data line and time clock line is electronegative potential simultaneously, then is non-steady state, and keyboard also forbids sending sign indicating number, similarly data is resided in the impact damper, goes to carry out the action of keyboard scan.
(3) as seen from Figure 3, its sequential points out that system sends the mode of command code to keyboard.System is pulled to electronegative potential with the time clock line earlier, inform that keyboard ends to send the action of data, again data line also is pulled to electronegative potential afterwards, the time clock line is then replied noble potential, promptly sets to desire to send the order index and go to inform that keyboard system desires to send order, begin to send order (initial bit then, eight data bits, a same bit, one stops bit), initial bit is transported forever and is electronegative potential, and the control of time clock line is to be provided by keyboard.
Can understand signal load mode (b) system and keyboard by above (1) to (3).
Below (on line basis, non-networking) narrate the networking line again:
After the system of (b) item connects the networking, when system is decided to be servo machine tool again, because system will look after other handset system simultaneously, so in order to increase its execution speed, often to make the periphery temporary transient decapacitation in each interface, and with the indivedual again activations of time division of labor mode, so keyboard also can be equally with time division of labor mode activation or decapacitation, so can be found out the sequential of its activation and decapacitation by Fig. 6 and 7.In the time of can seeing the time clock line by system by Fig. 6 and be pulled to low level, the time and reply a high position, and data line does not generally change, and keeps high-order.The front was narrated the load mode of signal between (b) system and keyboard, so can understand, when the time clock line is pulled to low level, keyboard will stop to send data, so in the networking, have only when data line and time clock line simultaneously when high-order, keyboard just can be sent data.
Can find out by Fig. 6 and 7 that under the line of networking the time clock line is with a fixed cycle activation or decapacitation.By in the fixed cycle as can be seen, small one and large one constantly circulation repeatedly of activation time is arranged, according to different system speeds different time differences is arranged, but the big in principle section time is greatly about 40 μ S-168 μ S, the little section time is greatly between 25 μ S-40 μ S, and between activation and the activation, it is the time of decapacitation that the time that time clock is pulled to low level is approximately 296 μ S → 400 μ S().
If in the decapacitation time, keyboard desires to send data, will transmit failure.Intercropping one relatively (for present fastest system) when if we make keyboard activation time and decapacitation with system, can find that the time clock line approximately is with 25 μ S → 400 μ S → 40 μ S(activation → decapacitation → activations) mode constantly circulates, and the decapacitation time is much larger than the activation time.
So, when making the keyboard receive data, if can't in those extremely short activation times, send sign indicating number immediately, but take a chance with random fashion, in the time of may will transmitting data at every turn, all just run into the decapacitation time of system, just can send data after may causing having circulated many times, thereby slow phenomenon will appear in the demonstration of the character on the screen.In order to prevent this phenomenon,, for the priority of keyboard receive data, keyboard scan and receiving system order different disputes has been arranged also, but all can't really solve all problems at present so various solution has been arranged.Purpose of the present invention will solve above-mentioned all problems exactly, makes keyboard receive data scanning keyboard, and the priority of receiving system order forms reciprocity situation, and does not have the problem of button delay of response.
Below narrate known technology transmits data at the network system lower keyboard mode and shortcoming thereof again:
Method (1): when the keyboard receive data,, then transmit failure, so go to carry out the work of keyboard scan if system makes the keyboard decapacitation.Behind the keyboard scan, go the receiving system order immediately, system has order then to carry out, and does not then send data again if there is order, so promptly attempts at set intervals transmitting data once.
Shortcoming: the mode of attempting transmitting data at set intervals, the system that all meets possibly is just in the period that makes the keyboard decapacitation, so will just can send out data through after attempting transmission many times, efficient is very low, causes the user to feel that button has slow phenomenon.
Method (2): when the keyboard receive data,, then transmit and to fail, but keyboard still is failure to actuate, wait for that always the time clock line returns back to noble potential if system makes the keyboard decapacitation.When treating that the time clock line returns back to noble potential (system makes the keyboard activation), then immediately data are seen off, and then removed to carry out keyboard scan, receive order ... Deng work.
Shortcoming: above-mentioned (2) though method can send data by direct mode, but when system during at the special package software of operating part, often have the situation (be about to the time clock line and be pulled to one period long period of electronegative potential) that the long period makes the keyboard decapacitation, and in the mode of above-mentioned (2), keyboard just will be spent the long period not do any place of working and wait for that the time clock line returns back to noble potential.The user is whenever by decontroling about 50ms behind the key, keyboard if the stand-by period greater than 50ms, and can not do the work of keyboard scan in the stand-by period, and then may ignore the user by key repeatedly, therefore can make the user have the puzzlement of button attonity (promptly to miss character.If scanning is arranged, and system makes the keyboard decapacitation, and keyboard should be stored in data in the impact damper, waits for and transmits data).
The present invention in view of the foregoing, the signal that the spy provides time clock line and data line in a kind of keyboard interface is single chip microcomputer firmware processing mode and the hardware unit of operate as normal in networking and non-network system simultaneously.
For example, the present invention can be at the signal of asynchronous time clock line and data line in the keyboard interface, optionally utilize some single chip microcomputer families (allly to have a bit processing instruction group, promptly have Bu Lin (BOULIN) algebraically processor, can be to single bit processor), running via a single bit logic control instruction group, mode with instantaneity, remove to detect or set external status through same signal wire, or two signal line (transmission line (TX) and detection line (PX)) separately, use the single chip microcomputer of no bit processing instruction group, and utilize firmware techniques, make keyboard simultaneously operate as normal in networking and non-network system, thereby simplify hardware circuit, make keyboard with the speed operation of full blast in network system and non-network system.
Now in conjunction with the accompanying drawings the embodiment of the invention is described as follows.Wherein
Fig. 6 is the present invention's one of sequential chart occasionally between servo machine tool, keyboard and the system under the line of networking.
Fig. 7 is two of the interface sequential chart of the present invention between servo machine tool, keyboard and the system under the line of networking.
Fig. 8-1 sends one of sequential chart of data for the servo machine tool and the keyboard of the present invention under the line of networking.
Fig. 8-2 is the servo machine tool of the present invention under the line of networking and the sequential chart of keyboard receiving system order.
Fig. 9-1 for the present invention under the line of networking servo machine tool and the keyboard sequential chart of sending data two.
Fig. 9-2 is the sequential chart of servo machine tool, keyboard receive and the reception data of the present invention under the networking connects.
Figure 10 is one of single chip microcomputer keyboard software process flow diagram of the present invention.
Figure 11 is two of single chip microcomputer keyboard software process flow diagram of the present invention.
Figure 12 is three of single chip microcomputer keyboard software process flow diagram of the present invention.
Figure 13 is four of single chip microcomputer keyboard software process flow diagram of the present invention.
Figure 14 is five of single chip microcomputer keyboard software process flow diagram of the present invention.
Figure 15 is six of single chip microcomputer keyboard software process flow diagram of the present invention.
Figure 16 is seven of single chip microcomputer keyboard software process flow diagram of the present invention.
Figure 17 is eight of single chip microcomputer keyboard software process flow diagram of the present invention.
The skill of the present invention's use is: (following method is that the mode of (1) or (2) all can be shared no matter use hardware circuit.)
When (a) keyboard is desired to send data, earlier time clock line and data line are pulled to noble potential, set an index of doing three runnings at least.
(b) setting a working time constant is 480 μ S, and whether detect data line again is electronegative potential, if, then set one and transmit the failure index, heavily cover and attempt transmitting three times, when all failing, then go to carry out the action of receiving order; If data line is noble potential, then detect why current potential of time clock line, if noble potential then transmits immediately, and in transmitting if failure is arranged, then return (a) point to repeat to do three times; If detect to electronegative potential, then wait for 480 μ S, and constantly detect the current potential of data line and time clock line repeatedly, if all fail, then be back to (a) some triplicate again to 480 μ S.
(c) if triplicate action still can't be sent data, then abandon transmitting data and remove to carry out scanning motion.
Actual act analysis of the present invention:
(a) preface in Fig. 6 and 7, the keyboard tendency to develop send data time to take place on any point, if occur in big section activation when interval, necessarily can send data smoothly; But if when the end of big section takes place, though it is noble potential that keyboard detects the time clock line, data line also is a noble potential, but spended time is also wanted in the execution of instruction when detecting, when treating that keyboard is ready to send first initial bit, may have little time, at this moment system makes the activation time of seeing big section finish (time clock is pulled to electronegative potential again), thereby causes transmitting failure.But the present invention's actual act is waited for 480 μ S immediately again, can be found out by Fig. 6 and 7 and wait for that 480 μ S necessarily can run into one time the activation period again, then can immediately data be sent.If the activation period that is run into when preparing to transmit for the second time is when being the away minor segment of system's activation keyboard, and is too fast because of system, make away minor segment not comprise the most basic detection time, promptly exceeded its period, transmit failure so can make again.If when this situation took place, the present invention can wait for 480 μ S again, then activation section this time must be big section, and data are seen off.But if transmit three times, time-consuming 480 μ SX3=1440 μ S fail again, then must be that system is carrying out package software, deliberately make the keyboard decapacitation, at this moment carry out keyboard scan work immediately, and the key that scans is stored in the buffer zone (firmware of the present invention decide buffer zone have 40 above spaces at least), after system one makes the keyboard activation, send by proposing data in the buffer zone immediately.So, data can transmit at 1440 μ S at the most and finish, and efficient is very high, and no matter how soon the speed of user's button has, and will not show the phenomenon that input is slow, also do not have the misgivings of button hiatus.
(b) if system desires to lose one's life when making to keyboard, as what above once narrated, system will be pulled to electronegative potential to data line, and the present invention will be when desiring to send data at every turn, at first detect the current potential of data line, if then upright the leading of electronegative potential jumped out wait 480 μ S, secondary formula is not waited for.Repeat jump out action three times after, go the receiving system order immediately, thereby can also receive order immediately from system.
(c) sequential chart after Fig. 8 and 9 carries out for the present invention is actual, for reference.In order abundant understanding to be arranged, now cooperate flowchart text firmware formula to the present invention.
Figure 10 shows that the formula section that begins that opens of process flow diagram.This formula is:
After the start, test read-only memory earlier, test formula memory body again, set each pin position situation again, again the hummer control pin is closed, postpone the start setting-up time, set each key initial conditions, set pilot lamp initial conditions (comprise and repeat out word rate initial value design banner) with the initial start code input buffer, which kind of pattern judge that again main frame is?
If the XT main frame is then carried out the relevant formula (B) of XT,
If the AT/PS2 main frame judges that then main frame issues orders to keyboard?
If issue orders, then carry out and obtain Host Command and fill order section (C) (referring to Figure 12);
Do you if do not issue orders, then judge whether decapacitation of keyboard?
If decapacitation is then carried out and is obtained Host Command and fill order section (C);
If the keyboard activation, does then judging have no datat in the impact damper?
Send a yard formula section (E) (referring to Figure 13) if there are data then to carry out;
If no datat is then carried out keyboard scan formula section (F) (referring to Figure 11).
Figure 11 shows that the keyboard scan formula section of process flow diagram.This formula is:
Set the main sweep banner earlier, scan a line again, reset the pilot lamp situation, judge it is main sweep or jumping key scanning then;
If do not set the main sweep banner, then carry out to eliminate and jump key scanning (O) (referring to Figure 16),
Judged whether button again?
If each then more original key situation of no button;
If identical then do not have key to be bled off, the scanning index adds sweeps next bar again and again, and continues to carry out to (H) (referring to Figure 10);
If inequality, then there is key to be decontroled, continue to carry out to eliminate and jump key processing formula
(G) (referring to Figure 16);
If button is arranged, again with each original key situation comparison;
If identically then have key to repeat out word, carry out and repeat out word formula section (G1), repeat out word formula section (G1) and be to subtract 1 and judge whether to be zero with repeating out the word rate banner?
Sweep next bar line if non-vanishing then execution (I), scanning index add, and continue to carry out to (H) (referring to Figure 10);
If zero then no datat is arranged in the judgement impact damper?
Then carry out (J) if having, set and repeat out the initial stand-by period banner of word, and continue to carry out to (I);
Don't you then judge whether to be special key if having?
If not special key then with putting into key set code in the impact damper and carrying out (J), is set and is repeated out the initial stand-by period banner of word, and continues to carry out to (I);
If special key, then impact damper is put into the EQH Value Data and is put into key set code in impact damper and carry out (J) again, sets and repeats out the initial stand-by period banner of word, and continue to carry out to (I).
If inequality then have new key to press, continue to carry out elimination jumping key and handle formula (G).
Repeat out word rate formula section (G1) by processing and find out,, when arbitrary key is pressed, in formula, only 5 different values need be put into and repeat out the word rate banner, repeat out word rate and promptly upgrade immediately if will judge that female key or sub-key are arranged.Can be found out by keyboard scan (F), when by next key, and when the hummer control line switched to a high position, then begin to send " Ka Ka " sound, but formula can close when carrying out F place, generally sound length is approximately 2 μ S ± 20%.
What Figure 12 shows that process flow diagram obtains Host Command and fill order formula section.This formula is:
At first read in the command code that transmits by main frame,
If read in failure, then carry out (K) (referring to Figure 10), judge keyboard whether also down carry out by decapacitation;
If read in successfully, then be judged as first command code or second command code?
If second command code? then carry out (L);
If first command code judges then whether order is F1 or EF;
If, then send heavily defeated sign indicating number back and carry out (K), judge keyboard whether also down carry out by decapacitation;
If not, then judge whether to be FE;
If, group output code before then sending;
If not FE then sends order response code FAH;
If send failure, then read in newer command again;
If reading in success then carries out (M), be judged as first command code or second command code and continue and carry out;
If reading in failure then carries out (N), judge whether order is F1 or EF and down carries out;
If send success, judge that then the order pattern is two groups or one group;
If two group command sign indicating numbers are then set two group command banners and carried out (K), judge keyboard whether also down carry out by decapacitation;
If single command code is then carried out each command job, and carry out (K), judge keyboard whether also down carry out by decapacitation.
Wherein XXH is 16 ary codes that system delivers to each order of keyboard, after keyboard is received, then according to the regulation work of order, for example EEH send response code, F2H send set sign indicating number, FFH resets keyboard ... Deng.
Formula section (E) is handled at the networking that Figure 13 shows that process flow diagram.This formula is:
At first handle networking formula section;
If the connection networking is arranged, then call out the secondary formula (P) in networking;
Do not send sign indicating number secondary formula (R) if having then to call out, send sign indicating number after returning;
If send the sign indicating number failure, then carry out the keyboard scan formula (referring to Figure 11) of (F);
If send the sign indicating number success, then make time delay between actuating code and the sign indicating number, again the impact damper flag is subtracted one, carry out keyboard scan formula (F);
Wherein send the secondary formula of sign indicating number (R) to be:
Automatically the coding mode that send that goes earlier to be judged as which kind of system is also carried out, and sends eight numeric data codes then, judge whether to be AT/PS2 again?
If not, then return and send a yard formula;
If then send bit and check after the banner and return networking processing formula section after the value.
And wherein the secondary formula in networking (P) is:
Set networking counter and setting-up time earlier, calling is sent the secondary formula of sign indicating number (R) and is judged and has or not system command again, sends key again;
If do time delay and down execution between the sign indicating number of successful then execution (Q) and the sign indicating number;
If send the key failure, then the networking counter subtracts 1;
If non-vanishing then get back to call out send a sign indicating number secondary formula (R), and judge and have or not system command and down carry out;
If it is zero then return the networking and handle the formula section.
Sending key (E) simultaneously, when if keyboard has data line and time clock line to be pulled to noble potential, all can why detect its current potential more immediately? if the situation different with noble potential arranged, then be considered as transmitting failure, and stop immediately transmitting and be back to the networking and handle the formula section.
The pattern that has key to press that Figure 14 shows that process flow diagram is judged the formula section.This formula is:
When key is pressed, judge whether to be mode 3 earlier?
If mode 3 then judges whether to repeat out word;
If do not repeat out word, then key is put into impact damper, judge again whether impact damper full?
If not then look for same show no key by by?
If the key quilt is arranged by then carrying out (S), judge button or put key (referring to Figure 16)?
If no key is repeated out word rate banner value by then calculating and setting, and the scanning index of carrying out (I) adds one, sweeps next bar and down execution (referring to Figure 11);
If impact damper has been full, then put into the overflow indication code and go into the impact damper the superiors, and look for same show no key quilt by? and down carry out;
Will do you, then judge whether repeat out word sounding banner set? if repeat out word
The hummer enable line is pulled to a high position if set then, and activation hummer sounding is set activation then and repeated out the word flag, again key is put into impact damper, down carries out then;
If setting is then directly set activation and repeated out the word flag, and key is put into impact damper, and down carry out;
If not mode 3 then judges whether to be special keys?
If not special keys judges that then repeating out word sounding banner sets not? and down carry out;
If special keys is then called out special keys and is handled formula (W), set special keys again and repeat out the word banner, then key is put into impact damper, and down carry out.
The pattern that the key relieving is arranged that Figure 15 shows that process flow diagram is judged the formula section.This formula is:
When key is decontroled, judge whether to be mode 3 earlier?
If then judge whether to send the releasing sign indicating number?
Do not remove sign indicating number if send, judge that then same row have other keys to decontrol?
Then carry out (S) (referring to Figure 16) if having, judge button or put key and down execution;
Do not decontrol if there are other keys, the scanning index of then carrying out (I) adds one, sweeps next bar and down carries out (referring to Figure 11);
Remove sign indicating number if will send, then put into and remove sign indicating number in impact damper, judge that more same row have other keys to decontrol and down carry out?
When being judged as non-mode 3, then judge whether to be special keys?
If not, then put into and remove sign indicating number, and down carry out in impact damper;
If special keys is then called out special keys and handled secondary formula (X), put into again and remove sign indicating number, and down carry out in impact damper.
Key processing formula section is jumped in the elimination that Figure 16 shows that process flow diagram.This formula is:
At first call out to eliminate and jump the key scanning formula, carry out the jumping key again and eliminate conversion, judge then to have or not terrible key?
If have, then judge whether to repeat out word?
If being arranged, then execution (R) send the secondary formula of sign indicating number (referring to Figure 113;
Do not repeat out word and then carry out (I) scanning index and add and sweep next bar and down carry out if having.If no terrible key is then set female key and relevant banner and is carried out female key formula (Z) (referring to Figure 17), which kind of system judge that then main frame is?
If XT then looks for and carries out (S) behind the key, judgement is button or puts key and down carry out;
Which kind of pattern if AT/PS2 then judges it is? seek key then, does is judgement button or put key again?
If put key, then execution pattern is judged formula (T) (referring to Figure 15);
If button, then execution pattern is judged formula (U) (referring to Figure 14).
Figure 17 shows that the processing exceptional function formula section of process flow diagram.This formula is:
At first set CPRL, ACT, SHIFT, NUMLOCK banner, judge that more female key presses?
Do you if do not press, judge that then the locking banner is a locked condition?
If, then to setting female key and relevant banner (Z) continuation execution;
If not, then down carry out;
Do you if press, judge that then specific sub-key presses?
If sub-key 1-5 presses, then change and repeat out the word rate parameter value;
If sub-key 6,7 is pressed, then change locking keyboard banner;
If sub-key 8 is pressed, then change hummer activation banner and control line;
If sub-key 9 is pressed, then change and repeat out word sounding banner.
If other uncertain foster son's keys press, then continue loop detection, until there being the sub-key of definition to press, or female key bleeds off.
If sub-key do not press, then continue loop detection, up to there being the sub-key of definition to press, or female key is decontroled.
If female key is decontroled, then carry out and judge that the locking banner is locked condition (Z1)?
And down carry out.
Through above description, can fill part every advantage of understanding technology provided by the present invention.Method proposed by the invention can actually reach purpose of the present invention.

Claims (1)

  1. Single chip microcomputer firmware processing mode and the hardware unit of the signal of time clock line and data line energy while operate as normal in networking and non-network system in a kind of keyboard interface, it is characterized in that, signal at asynchronous time clock line and data line in the keyboard interface, optionally utilize some single chip microcomputer families (allly to have a bit processing instruction group, promptly have Bu Lin (BOULIN) algebraically processor, can be to single bit processor), running via a single bit logic control instruction group, mode with instantaneity, remove to detect or set external status through same signal wire, or two signal line (transmission line (TX) and detection line (RX)) separately, use the single chip microcomputer of no bit processing instruction group, and utilize firmware techniques, make keyboard energy while operate as normal in networking and non-network system, thereby the simplification hardware circuit, make keyboard with the speed operation of full blast in network system and non-network system.
CN 92111282 1991-11-13 1992-09-30 Single chip microcomputer firmware processing mode and hardware unit Pending CN1074543A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US79122991A 1991-11-13 1991-11-13
US791,229 1991-11-13

Publications (1)

Publication Number Publication Date
CN1074543A true CN1074543A (en) 1993-07-21

Family

ID=25153047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 92111282 Pending CN1074543A (en) 1991-11-13 1992-09-30 Single chip microcomputer firmware processing mode and hardware unit

Country Status (2)

Country Link
CN (1) CN1074543A (en)
GB (1) GB2261578B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203391A (en) * 2016-03-17 2017-09-26 日本电气株式会社 Firmware activation equipment and firmware Activiation method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09319681A (en) * 1996-05-29 1997-12-12 Nec Corp Data modem

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4345250A (en) * 1980-12-22 1982-08-17 Honeywell Information Systems Inc. Information communication system with collision avoidance

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203391A (en) * 2016-03-17 2017-09-26 日本电气株式会社 Firmware activation equipment and firmware Activiation method
CN107203391B (en) * 2016-03-17 2022-01-04 日本电气株式会社 Firmware activation device and firmware activation method

Also Published As

Publication number Publication date
GB2261578A (en) 1993-05-19
GB2261578B (en) 1995-04-05
GB9223771D0 (en) 1992-12-23

Similar Documents

Publication Publication Date Title
CN1152305C (en) Virtual machine system
CN1292360C (en) Device and method for implementing automatically reading and writing internal integrated circuit equipment
CN1143238C (en) Recognition system and recognition method for non-contact IC cards
CN1100822A (en) Bus-to-bus bridge for a multiple bus information handling system that optimizes data transfers between a system bus and a peripheral bus
CN1592886A (en) Method and device for implementing computer multi-tasking via virtual threading
CN1252589C (en) Method and device for monitoring creation and destruction of child processes within application executing in computer system
CN1008484B (en) Processor i/o and interrupt filters
CN1766765A (en) Automated systems and methods employing attribute-based binding and configurable rules for selection of run time equipment
CN1828541A (en) Implementation method for timing task in Java operating system
CN101038621A (en) Device control system, control unit and device control method for use therewith
CN1961293A (en) Linkage operation method and mobile communication terminal
CN1172986A (en) Real-time control system
CN1146784C (en) Information processor for carrying data transfer of multi-registers out by word size instruction
CN1074543A (en) Single chip microcomputer firmware processing mode and hardware unit
CN1202473C (en) Information processing method and information processing apparatus having interrupt control function with priority orders
CN1940860A (en) Adjustment for multiple micro-controller system task
CN1208809C (en) Semiconductor manufacturing apparatus control system
CN1861877A (en) Sewing machine
CN1811709A (en) Infinite update method and apparatus for operating system in hand-held equipment
CN1828543A (en) Real-time task scheduling method in Java operating system
CN1865566A (en) Sewing payment management system and sewing machine
CN1120395C (en) Servo system controller
CN2517023Y (en) Multifunction keyboard with hot key
CN100351731C (en) Safety computer and method for implementing same
CN1230745C (en) Parallel electronic architecture comprising a plurality of processing units connected to a communication bus, and addressable by their functional capabilities

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C01 Deemed withdrawal of patent application (patent law 1993)
WD01 Invention patent application deemed withdrawn after publication