Abstract:
A magnetic tape recorder is disclosed which comprises a tape counter means for counting revolutions of a tape reel, a memory means for storing preselectable position information of a specific position on a tape, introduced via a keyboard means, and a decision logic means for determining if the output of the tape counter means and the output of the memory means agree. The operational state of the tape recorder is controlled in response to the output of the decision logic means so that record and play modes can be started or stopped with any preselectable position on the tape. Such capabilities are implemented with a digital processor semiconductor chip which normally includes a non-destructive memory program storage. In one preferred form, timepiece and/or timer functions are combined operatively with the tape counter means.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to a magnetic tape recorder and more particularly to an improved tape counter means utilizing a digital data processor chip for use in a magnetic tape recorder, for example, a cassette tape deck. 
     There are two basic types of a tape counter means having memory capabilities: the mechanical type and the electronic type. The former includes two mechanical tape counters one indicating the actual number of tape revolutions or the instantaneous tape position and the other indicating a desired position or tape count preselected by manual operation. There is provided a switch means which is enabled to place a tape drive mechanism into a desired operational state only when both agree. The latter, on the other hand, includes a running tape counter means of the electronic type, and a preselectable tape counter means of the mechanical type where a desired tape count is preselectable by manual dial operation. 
     However, durability and reliability of the former are not so good because of the mechanical type of both the tape counter means. Preset operation is also a little too bothersome. Even for the latter, the above described issues are still outstanding because one of the tape counter means is of the mechanical type. 
     SUMMARY OF THE INVENTION 
     Accordingly, it is an object of the present invention to provide a tape counter means for use in a magnetic tape recorder or the like which avoids the prior art problems. 
     To achieve the above noted objective, according to the present invention, a running tape counter and a preselectable tape counter are both electronically designed and preferably implemented with a digital processor semiconductor chip. 
     In its broadest aspect, a tape recorder apparatus of the present invention comprises a running tape counter means for counting revolutions of a tape reel or an instantaneous position of a tape, a memory means for storing preselectable position information representative of a desired position on the tape, and a decision logic means for determining if the output of the tape counter means and the output of the memory means agree, the output of the decision logic means being available to shift the operational state of the tape recorder apparatus. It is preferable that the preselectable position information be introduced via a keyboard means having a plurality of digit keys. 
     In one preferred aspect of the present invention, the count of the running tape counter means is modified optionally via the keyboard means whenever the operator wants, serving his convenience of handing the tape. If any desired count is established within the running tape counter means, it becomes unnecessary to rewind the tape completely to its initial position and increment the tape counter correspondingly. 
     In another preferred aspect of the present invention, upon depression of a specific key (namely, a direct memory key), the contents of the running tape counter means are transferred and stored into a different memory and an output useful to shift the operational state of the tape apparatus is developed when there is again agreement with the thus stored tape count. Such feature of the present invention is very important and useful, for example, when the tape apparatus is in the play state and then shifted into the fast forward state or the rewind state for any reason and thereafter the operator desires to listen again to the preceding music program beginning with the previous play position, or when a given program is recorded beginning with any intermediate position on a tape and immediately he desires to reproduce such recorded program beginning with the intermediate tape position. In contrast, in the prior art apparatus the running tape counter means must be reset to zero in such instance, causing a possibility of a deviation of the tape count from the actual tape position. 
     It is well known to measure the running distance of the tape in terms of time (namely, a time counter). The tape apparatus of the present invention includes a time counter for measuring the period of time where a tape has been running. The time counter is enabled when the tape apparatus is in the constant speed tape drive state (record and play) and disabled otherwise. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Other objects and many of the attendant advantages of the present invention will be readily appreciated as the same becomes better understood by reference to the following detailed description which considered in conjunction with the accompanying drawings in which like reference numerals designate like parts throughout the figures thereof, and wherein: 
     FIG. 1 is a perspective view of a cassette deck embodying the present invention; 
     FIG. 2 is a front view of an operational panel having a display and respective keys; 
     FIG. 3 is a system block diagram of one preferred form of the present invention; 
     FIG. 4 is a block diagram of a one-chip, micro digital processor for executing a system control for the cassette deck; 
     FIG. 5 is a family of registers contained within a random access memory (RAM) of the digital processor of FIG. 4; 
     FIG. 6 is a diagram illustrating the relationship between display segments and display buffer registers; 
     FIG. 7 is a flow chart of a key input routine; 
     FIG. 8 is a flow chart of a drive mechanism detection routine; 
     FIG. 9 is a flow chart of a display routine; 
     FIG. 10 is a flow chart of a tape count routine; 
     FIG. 11 is a flow chart of a reset key routine; 
     FIG. 12 is a flowchart of a time set routine; 
     FIG. 13 is a code table correlated between respective operational switches and drive states; and 
     FIG. 14 is a code table with respect to OFF/ON/AUTO states of a power switch. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     FIG. 1 shows a perspective view of a cassette tape deck apparatus embodying the present invention, which is split into a deck body 1 and a control unit 2. The deck body 1 includes a power supply, a tape drive mechanism, etc., whereas the control unit 2 includes timepiece functions capable of setting time and selecting either the 12-hour period or the 24-hour period via depression of ten digit keys and timer functions capable of enabling and disabling the tape drive mechanism at any desired time and turning on and off house current through an AC plug socket at any desired time in addition to the major features of the present invention briefly described above. 
     Operatively associated with the control unit 2 are a power switch 4 having three selectable modes OFF/ON/AUTO, a memory rewind switch 5, a noise reduction switch 6 and respective operational lever switches 3 reading PAUSE, RECORD, REWIND, PLAY, WIND, STOP AND EJECT. When manually operated down, these mode switches are latched to establish desired modes of operation. All other components in the cassette deck apparatus are well known the disclosure of which is omitted because they are immaterial to the present invention. 
     FIG. 2 represents a front view of the controller unit 2 which is divided into display panel regions 2A (preferably, a liquid crystal display LCD) and a key operational panel region 2B. A display pattern and a key layout will be described below together with respective display and key functions. While all segments are depicted in the drawings, only segments necessary to indicate different ones of the operational modes are in fact enabled. 
     The display panel region 2A contains the timepiece functions, the timer functions, indicators AM, PM, ##STR1## for displaying the contents of a tape counter memory and a tape counter, a second indicator SEC for displaying the period of time where the tape is running, and APLD indicator for displaying a program-to-program silence, a tape running direction indicator ##STR2## a program number indicator ##STR3## operatively associated with the APLD function, a memory load indicator M and a display indicator --. 
     The keyboard 2B, on the other hand, comprises the following keys: 
     (1) display selection keys 
     They are provided for selection of six display modes CLOCK, TIMER START, TIMER STOP, TCM, TC and SECOND COUNTER. Upon depression of a specified key, a different one of the display modes is established and displayed on the corresponding indicator. 
     (2) an APLD read-in key 
     This is used to introduce the identifying number of a desired program (for example, a music piece) during the APLD mode (where a program-to-program silence is detected whenever this occurs and the number of programs recorded is counted by counting the number of such detection signals whereby precise heading of the desired program is attained without difficulties). The function and circuit construction are fully disclosed and illustrated in U.S. Pat. No. 4,014,039 AUTOMATIC PROGRAM LOCATOR FOR TAPE DECKS Mar. 22, 1977 owned by same assignee of this application, the disclosure of which is incorporated by reference herein. 
     (3) a RESET key 
     This key when depressed resets a timer and a timer count memory TCM during the display mode. 
     (4) a DIRECT MEMORY key 
     During the display modes of TC and TCM the count of the tape counter TC is transferred into the tape counter memory TCM upon depression of the DIRECT MEMORY key, loading the memory. 
     (5) digit keys and an AM/PM key 
     These keys serve the purpose of introducing time information and numerical information into the deck apparatus during the respective display modes. 
     (6) an ENTER key 
     This key serves to terminate the read-in mode and place the memories into the ready state before the respective modes associated with the memories are initiated (except for CLOCK). 
     (7) a CLOCK ENTER key 
     A read-in terminate key exclusive for the clock mode. 
     (8) a CLOCK ADJUST key 
     A time correction key. 
     (9) a 12/24 H key 
     This selects the 12 hour period or the 24 hour period optionally. 
     A system block diagram of one preferred form of the present invention is shown in FIG. 3 wherein a key matrix corresponds to the keyboard panel 2B of FIG. 2. A one-chip, LSI digital microprocessor 10 provides backplate signals H 1 , H 2  and segment signals a 1  to A N  for a digital display 14, some of these segment signals a 1  to a 6  being used as key strobe signals. Key input terminals K 1  to K 6  receive signals from the key matrix 2 to form a 4 by 6 key matrix together with the key strobe signals. 
     All controls for the tape deck apparatus are provided by the one-chip microprocessor. Master clock pulses are developed from a quartz 15 connected externally to the microprocessor, providing a time standard for all horological operations. 
     An input α is derived from a detector circuit 9 whereby revolutions of a reel 7 carrying the cassette tape thereon are sensed in terms of variations in the magnetic properties of a Hall effect element or the like to develop digital electric signals correspondingly. The output of the detector circuit 9 is applied as a tape count pulse to an α input terminal. 
     A program-to-program silence is sensed by magnetic head assembly 11 and then amplified so that a program-to-program silence detection signal is provided from a silence output circuit 13 and sent to a β input terminal. Strobe signals S 1  and S 8  detect the input state of the deck apparatus in cooperation with drive mechanism state representations (see FIG. 13) applied to a γ input terminal. The REC switch is latched when it is desired to enable the record mode. When the REC switch is in the on state, the microprocessor 10 decides that the deck apparatus is in the record mode and controls not to modify the operational state of the drive mechanism. The power switch 4 is in the form of three-circuit and three-contact to take any of the three operational states OFF, ON and AUTO in accordance with combinations of connections to the two strobe signal output terminals S 1  and S 2 . FIG. 14 illustrates a code table of code notations associated with the ON, OFF and AUTO states. In this instance, the power switch 4 controls power supplied 17 and 18 from the deck body and the AC plug socket but has nothing to do with a power supply to the microprocessor 10. In FIG. 13, there are shown twelve possible operational states of the drive mechanism according to various combinations of the playback, pause, fast forward and rewind modes. 
     A memory rewind signal is developed at an output terminal R 1  when a tape counter within the microprocessor 10 reaches from 0001 to 0000 (in about 100 ms). The memory rewind switch 5 exists on the way of the memory rewind signal so that the switch 5 on the operational panel can determine whether this signal energizes a plunger 16 or whether the memory rewind mode is to be executed. 
     The plunger 16 is operatively associated with the operational mode selection switches PLAY, WIND, etc. Assume now that the rewind switch is latched down and thereby the deck body is in the rewind mode. Under the circumstance the counter is allowed to be decremented and, when the counter reaches 0001→0000, the signal is developed at the R 1  output terminal, energizing the plunger 16 and unlocking the drive mechanism. In other words, the REW switch is raised upward to place the WIND/REWIND switch into the off state and the deck apparatus into the stop mode. The tape stops running. 
     Like R 1 , a pulse signal R 2  of about 100 ms long is useful to energize the plunger 16 and unlock the drive mechanism. The pulse signal is developed from R 2  under the following conditions: 
     (1) the pulse is developed to release the drive mechanism within a period of about 3 seconds of completely rewinding of the tape (the so-called &#34;auto-stop&#34;). 
     (2) the pulse is developed and the drive mechanism is unlocked when the program-to-program silence detection signals are counted and the counter reaches 0000, 
     (3) a desired tape count position is loaded into the tape counter memory TCM in advance and, if the value of the tape counter is in agreement with the value of the tape count memory, the above described pulse signal is developed to unlock the drive mechanism, and 
     (4) when the drive mechanism is in the play mode and the power switch 4 of the deck apparatus is turned off, the head is always kept in close contact with the tape with accompanying adverse effects on both the tape and the head. The pulse is developed to avoid this problem (the so-called mechanical control function). 
     While the power switch 4 of the deck apparatus is in the auto mode, an output R 3  serves as a timer signal in controlling the deck power supply 17 and the AC plug socket ON/OFF switch 18. 
     FIG. 4 is a block diagram of the one-chip microprocessor for providing controls for the deck apparatus, which comprises an oscillator 107 responsive to the quartz 15, a frequency divider 108 providing time signals in the order of 0.1 seconds, 0.5 seconds, 1 second and 1 minute, an output buffer 111 for providing the key input signals K 1  to K 4 , the discrete inputs α, β and γ and the discrete outputs R 1 , R 2  and R 3 , a generator 110 for providing the strobe signals S 1  to S 8  useful to moniter the operational state of the drive mechanism, a generator 109 for providing the backplate signals H 1  and H 2  for the LCD display, a generator 106 for providing the respective segment signals for the LCD display, a central processing unit CPU 105 for controlling the above mentioned components, a read only memory ROM and a random access memory RAM. 
     A family of registers contained within the RAM of FIG. 4 are shown in FIG. 5. A CLOCK resister is a timekeeping register which performs the sexagesimal operation in response to the 1 minute signal from the divider 108. A TSA register stores a timer start point and a TSO register timer stop point. Those registers CLOCK, TSA, TSO are provided with additional two bits PM and AM, enabling an AM/PM distinction in the case of the 12 hour period. A TCM register stores the tape counter position information while a tape counter TC is incremented each time the input or comes. A second counter register SECOND performs the sexagesimal operation in response to the 1 second signal from the divider 108. It will be noted that the SECOND register is made operable for accumulating the period only when the drive mechanism is in the play mode (so far as the REC switch is operated, the record period is accumulated). An AP register is needed for the APLD feature and particularly decremented during the APLD operation each time the β input pulse comes. 
     A family of display buffer registers encircled with the broken line correspond respectively to the individual display segments, wherein L 1  and L 2  are numerical display registers and the remaining registers are associated with flip flops representative of the respective display modes. The contents of the respective one of the registers to be displayed are selected and transferred into L 1  or L 2 . It will be appreciated that the L 2  register is associated only with the AP register. A four-bit register f decides what register to be displayed. f=0, 1, 2, 3, 4, 5 correspond to the respective display segments 0, 1, 2, 3, 4, SEC. In other words, any one of the display segments 0, 1, 2, 3, 4, SEC is energized and the contents of its associated register are called for and displayed on L 1 . P 0  and P 1  store the operational mode of the deck power switch, namely, OFF codes 01, ON codes 10 and AUTO codes 11 shown in FIG. 14. 
     Also, N stores the four input states PLAY/PAUSE/WIND/REW of FIG. 13. CPU within the microprocessor detects the on and off states utilizing the strobe signals S 1  to S 8  with the results thereof loaded into the registers P 1 , P 0  and N. CPU decides the internal state of the drive mechanism by monitering the contents of the registers P 1 , P 0  and N. These registers are called for on the display upon depression of the mode keys and depression of the digit keys permits numerical information to be introduced thereinto. The following will make the operational modes of the deck apparatus briefly described more clear. 
     (1) preparation 
     When a new and good battery is installed for exchange, all the registers are cleared to &#34;0&#34;. The timekeeping function begins with 0:00 at once but the time display remains fixed at 88:88, indicating that time correction is required. 
     All the remaining display segments are disabled and all the keys except the CLOCK Key are not in effect. Upon operation of the CLOCK key the CLOCK mode indicator is energized to initiate the time display operation. Subsequent to this, normal key operations become possible. 
     (2) clock operation 
     When the CLOCK mode key is depressed, the display panel LCD is placed into the clock mode and a time to be preset is introduced. After completing the read-in operation, the CLOCK mode indicator blinds. No timekeeping register within the RAM is influenced under the circumstance. When the CLOCK enter key is manually operated, the preset time information is transferred into the timekeeping register to complete the time preset operation so that the indicator goes on indicating without blinking. Although the time preset information is concerned at most with hours and minutes, the timekeeping operation starts with 0 seconds as soon as the CLOCK enter key is operated. A colon (:) on the display blinks only during the time display mode. Another alternative to preset time is to employ the CLOCK ADJUST key. If N hours M minutes are displayed during the time display mode, then depression of the CLOCK ADJUST key will set up the following conditions: 
     if 0≦M&lt;40, N hours 0 minutes (0 seconds) 
     if M≧40, N+1 hours 0 minutes (0 seconds) 
     Either the 12 hour period or the 24 hour period is available according to the 12H/24H key during the timekeeping operation. In the case where the time system is changed by the 12H/24H key, all the registers associated with the horological operations are placed in conformity with a newly selected hour period system. The 12H/24H key and the CLOCK ADJUST key are disposed on the same plane as the operational panel not to facilitate manual depression thereof. In the event that an unreasonable value (for example, 51 hours 23 minutes) is introduced and the CLOCK enter key is operated during the time preset operation, this will be construed as an invalid operation. 
     (3) timer operation 
     The timer start (or stop) mode key places the display into the timer mode when depressed, allowing time information to be introduced. The timer mode indicator blinks after completing the introduction of the timer information. The timer start register (or the stop register) is not influenced at that time. Upon the subsequent depression of the enter key, the thus introduced timer information is shifted into the timer start register (or the timer stop register). The timer operation starts (or stops) immediately after the end of the time set operation, preventing the indicator from blinking (but remains energized). The time information introduced is stored upon depression of the enter key, energizing the timer start (or stop) memory indicator. When it is not necessarily necessary to set the time information again, all that is necessary to load the memory is to operate the enter key. If the preset time information is in agreement with the time information in the timekeeping clock, the memory is reset and the memory indicator. However, the internal timer start register (or the stop register) is not influenced. It is further noted that the timer start register will not vary even if it agrees with the time information on the clock under the power switch on state. When the timer operation is desired to be interrupted on the way, the operator has only to manually operate the reset key to reset the memory. As noted readily, the timer operation develops timer control outputs necessary to turn on and off the power supply to the AC plug socket and the tape deck apparatus and mechanism control outputs useful to control the tape drive mechanism upon the arrival of the preset time. 
     The timer start operation makes it possible to offer a morning call and enable absent-home recording because it can turn on and off the AC plug socket and the deck body power at any time. Further, the timer stop operation is useful as a sleep timer. A two-circuit timer is available and a combinations of the timer start operation and the timer stop operation enables to turn on or off the AC plug socket and the deck power supply only for a limited period of time. The timer in the given example covers the 24 hour period and is therefore presetable at any specific point in time within the 24 hour period of the time information in the timekeeping register when the operator is about to set a desired time. 
     (4) tape counter operation 
     The tape counter operation is executed in such a way that the revolution detector circuit 9 provides the tape count pulses in synchronization with the revolution velocity of the reel 7 for the α input terminal of the microprocessor and the tape count register TC counts the number of these pulses through an appropriate frequency division thereby to learn the tape position. The count pulses are a train of serial pulses. If the tape runs in the forward direction or the reverse direction, the tape count register TC is incremented during the forward direction mode and decremented during the reverse direction mode. To specify whether the tape counter TC is incremented or decremented, electric representations of the operational state of the drive mechanism are supplied to the control unit. The tape counter ranges from &#34;0&#34; to &#34;999&#34;. Depression of the tape counter mode key places the display in the tape counter mode, where any count can be entered. After the entry of the any desired count, the tape counter mode indicator starts blinking. The internal tape count register has not been affected so far. Subsequently, once the enter key has been operated, the entered count is transferred into the tape counter register. This terminates loading of the desired count and the indicator stops blinking while being energized. 
     Another way to load any desired count into the tape counter TC is to start the tape counter operation with &#34;0&#34;. In this instance, the RESET key is depressed so that the tape counter register is reset to &#34;000&#34; and the tape count display is &#34;0&#34;. The tape counter also provides the memory rewind output not only to display the tape position but also to control the tape deck apparatus. The &#34;memory rewind&#34; operation generates a memory rewind output and controls the drive mechanism when the tape is running in the reverse direction. The tape counter register is decremented from &#34;1&#34; to &#34;0&#34; in response to the count pulse inputs. 
     (5) tape counter memory operation 
     The tape counter memory (TCM) operation is executed so as to produce the drive mechanism if the count value of the tape counter and the tape position preset at the tape count memory register agree. The display is placed into the TCM mode upon the TCM mode key depressed and a desired value for the TCM operation is entered. The entry of the desired value causes the TCM mode indicator to blink. At this time the internal tape count memory register is not affected. Thereafter, when the enter key is depressed, the entered value is transmitted into the tape count memory register, initiating the TCM operation. After completing the loading of the desired value into the tape counter, the indicator stops blinking. Simultaneously, the value is stored and the TCM memory indicator is energized. If there is no necessity for modifying the value for the TCM operation, all that is necessary to execute the TCM operation is to manually operate the enter key. If the value loaded into the memory TCM and the value of the running tape counter agree, then there are provided the drive mechanism control outputs. Once the operation has been completed, M is reset. It will be appreciated that it is possible to set M after the entry TC=TCM. If it is desired to discontinue the TCM operation, upon depression of the RESET key, the memory is reset and the memory indicator is disenergized with no effects on the internal tape count memory register. Another alternative to load a value is the TCM DIRECT IN Key. During the TCM display mode that key when depressed allows the contents of the tape counter to be shifted into the tape count memory register, offering capabilities of loading the memory. Although the contents of the tape count register can be transferred into the tape count memory register upon depression of the DIRECT IN key also during the TC display mode, such transportation can not be visually confirmed with ease. However this can be overcome by placing the display into the TCM display mode. 
     (6) second counter operation 
     The second counter is a counter in the order of minutes and seconds and accumulates the period of time where the tape deck apparatus is in the constant speed tape running modes (record and play), learning the amount of the tape used in terms of time. 
     The second counter ranges from 0 (minutes): 00 (seconds) up to 59 (minutes): 59 (seconds) and starts the counting operation when the tape deck conditional input is the PLAY mode. The second counter mode key places the display into the second counter mode and enables the entry of a desired value. After entering the desired value, the second counter indicator starts blinking. The internal second count register has not been modified yet. Upon further depression of the enter key the desired value is transmitted into the second count register, terminating the loading of the desired value. The indicator goes on displaying without blinking. 
     In many cases, it is desirable to start the second counting operation with 0 (minutes): 00 (seconds). The reset key is depressed during the second counter display mode so that the second counter register is reset to &#34;000&#34; and the second counter display to 0:00 SEC. If an unreasonable value for minutes and seconds is introduced and the ENTER key is operated, this is construed as invalid. 
     (7) APLD operation 
     According to the APLD operation, when one of up to 19 programs recorded on the cassette tape is stored in the APLD register and the mechanism conditional input is APLD (PLAY/FF, PLAY/REW), the APLD (the program-to-program silence) count pulses from the tape deck apparatus are supplied to the β input terminal and the APLD register is decremented by one for each APLD count pulse. When the APLD register reaches &#34;0&#34;, the output is developed to control the drive mechanism to position the start of the specified program in advance. In skipping the APLD operation, the APLD mode key is manually operated so that the APLD indicator blinks and the APLD operation is ready for program selection. Thus, it is possible to set any program of up to the 19th program after or before the specific program being loaded at present. After the entry of a desired program selection, such selected program number has not yet been modified. Thereafter, upon depression of the enter key, the selected program number is transferred into the APLD register. The program selection operation is completed and the APLD indicator and the number display stops blinking. 
     As another way to perform program selection of the APLD operation, when the mechanical conditional input is APLD, the APLD indicator blinks automatically and program selection is possible without operation of the APLD key. After the program selection number is entered, this number blinks on the display. Upon operation of the enter key the program selection number is transfered into the APLD register. At this time the APLD indicator keeps on blinking. In the event that more than 19 values are entered in the APLD skip program selection (for example, the value in tens unit is two or more), the tens unit value is reset with only the unit value entered. For example, when 1, 3 and 3 are depressed, the display is 1 → 13 → 4 . 
     (8) tape running display operation 
     Whether the tape is running is visually confirmed by the indications indicating the running direction and the state of the drive mechanism. 
     (9) auto-stop operation 
     The auto-stop operation is executed to control the operational state of the deck apparatus by monitering the mechanism conditional input and the tape count pulses but without operation of the control unit. This operation provides the tape deck control output provided that the mechanical conditional input is PLAY, FAST FORWARD WIND) FF/PLAY, FF/PAUSE, FF/PLAY/PAUSE, or REW/FF/PLAY/PAUSE indicating the tape running state and the tape counter pulse does not vary over two seconds (namely, when the tape has already stopped running because of the tape end, etc., or when the deck power supply is in the off state). 
     Operation of the deck apparatus embodying the present invention will be further described by reference to flow charts shown in FIGS. 7 to 12. 
     FIG. 7 shows the key input routine. 
     FIG. 8 shows the mechanism state detection routine, 
     FIG. 9 shows the display routine, 
     (1) key detection 
     The key detection mode is carried out by sequentially scanning the key strobe signals a 1  -a 6  as shown with respect to FIG. 3 and monitering the key inputs k 1  -k 4  from the key matrix 2. FIG. 7 shows the key input routine and a shift register arrangement of a 1  -a 6 . The a register is reset, set and shifted in response to the microinstruction  a  from the CPU and the clock signal φ a . In this instance, the accumulator A (within the CPU) and the registers a 1  -a 6  are cleared. Only a 1  is set. Under the circumstance, decision is made as to whether there is a key input at k 1  -k 4  and, if no key input is sensed, the accumulator A is added with &#34;1&#34; and the a register is shifted and only a 2  is loaded with &#34;1&#34;. Otherwise, what key is operated is identified by monitering the contents of the accumulator A. If a key input exists, the inquiry f=6? (f corresponds to the f register of FIG. 5) is executed and the affirmative answer f=6 is concluded as no operation except for the CLOCK key. While f specifies the respective display modes described above, there is no display mode corresponding to f=6. This is because the vale &#34;6&#34; is transferred into f after power throw and all key depressions subsequent to power throw are ocnstrued as invalid except for the CLOCK key. Upon depression of the CLOCK key 0→f is executed and the normal mode is returned. This is to indicate that the power has been thrown and that time is to be set by depression of the CLOCK key. 
     (2) mechanism state detection routine 
     S 1  to S 8  are shift registers. The instructions 0→S 1  -S 8 , 1→S 1  and S shift are executed in response to the microinstruction  S  and the clock signal φ s  S 1  -S 8  are first cleared during the detection routine.  S =0 and S 1  is loaded with 1 at the eight clock pulse φ s , detecting the mechanism conditional input γ at this time. If γ=1 (whether the switch 3 corresponding to S 1  is operated), P 0  is set and if γ=0 P 0  is reset. P 0  stores the operational state of the power switch as shown in FIG. 14. Then, the register S is shifted with S 2  =1. By repeating the above operation the P 1  is loaded with the contents of the γ input. Similarly, the register N,   (&#34;Dolby&#34; symbol) and REC store the operational state of the drive mechanism. Within the N register N 1  is the first bit of N, N 2  is the second bit of N, N 3  and N 4  are the third and fourth bits of N. 
     (3) data entry 
     Prior to the data entry mode, the mode key corresponding to the register to be loaded is manually operated to display the contents thereof now contained and energize the associated mode indicator. For example, when it is desired to set the timer start time, the timer start key is depressed so that the program address corresponding to the timer start key is established through the key input routine of FIG. 7. The step 1→f (f: the register) of FIG. 9 is carried out, proceeding with the display routine. Because of f=1 the contents of the timer start time register TSA are shifted into the display buffer register L 1  thereby to set T. The timer start time is entered into the L 1  register, energizing T which blinks that the entry mode is under process. Then, upon depression of the enter key, the timer start time is transmitted from the L 1  register to TSA, completing the loading of the timer start time. The blinking T segment notifies the operator that the TSA register has not been loaded yet. The blinking action is offered by the routine of FIG. 9. When the digit keys are register L 1  and the conditional flip flop F shown as one bit of the RAM of FIG. 5 is set. If F=1 is satisfied, the 0.5 second measurement is conducted during the display routine so that the mode indicator segment is disabled every 0.5 seconds to offer the blinding action. In the case where the enter key is depressed while loading the timer start time, M A  is set to enable its associated display segment which indicates that the timer start time has been loaded. This holds true for the timer stop M 0  and the tape count memory M c . 
     (4) data reset 
     Date sources are the timer start time TSC, the timer stop time TSO, the tape count memory TCM, the tape counter TC and the second counter SECOND. Those can be cleared by depression of the reset key. The f register decides what data to be cleared. M A , M O  and M C  are also reset concurrently with the clear operation of TSA, TSO and TCM. For example, when it is desired to reset the contents of the SECOND register, the second counter key of FIG. 2 is depressed and the key input routine of FIG. 7 senses the presence of that key, executing 5→f. The indicator SEC is enabled and the contents of SECOND are recalled on the display L 1 . Upon depression of the reset key, 0→SECOND is executed as shown in FIG. 11, resetting the contents of the SECOND register. 
     (5) overflow while loading time 
     While loading the desired time the time display mode key (CLOCK key) is depressed to permit the display to display the present time. Subsequently, the digit keys are used to enter. While the display mode indicator blinks, the clock enter key is depressed so that the entered time is sent to the CLOCK register. This routine is shown in FIG. 12. If there is error in operation (for example, the entry of 25 hours), the entry never is transferred into the CLOCK register as shown in FIG. 12. The display mode indicator goes on blinking and notifies the operator of an overflow of time data because F is not reset. If correct time is newly entered and the clock enter key is operated, L 1  →CLOCK and F reset of FIG. 12 are executed. 
     (6) tape counter 
     Although the tape counter counts the tape count pulses applied to the α input terminal, whether the tape counter is incremented or decremented is determined by the operational state of the drive mechanism. As seen from FIG. 13, when the tape is running in the forward direction, the counter is incremented when the mechanism state is 2, 5, 6, 7 and 8. When the tape is running in the reverse direction, the counter is decremented when the mechanism state is 9, 10, 11 and 12. The mechanism state is stored within the N register as seen from FIG. 8 and the counting operation is effected by monitering the contents of the N register. 
     The tape count routine is shown in FIG. 10. The α input is monitered and, upon the arrival of the tape count pulse, whether the N register stored nine or more is decided. If N≧9, it is concluded that the tape is running in the reverse direction and the tape counter is decremented. When the tape counter TC reaches &#34;0&#34;, R 1  is set to provide it output. In other words, the memory REWIND operation is executed. Contrarily, if N&lt;9, the tape is running in the forward direction (N=1, 3, 4 is in the stop state and the tape does not run without the pluses), permitting the tape counter to be incremented. The next succeeding step is the decision as to Mc. If Mc=1, it is decided whether the tape counter TC is in agreement with the tape count memory TCM. If both agree, Mc is reset and R 2  is set. In other words, when the preselected tape position is reached, R 2  provides the signal to unlock the drive mechanism. 
     The drive mechanism will remain in the tape running state even after the tape has been wound completely. If nothing is done, problems such as a disordered motor will happen. For this reason, the decision as to N is executed to confirm the mechanism state during the travel of the tape as shown in FIG. 10 when the α input is not viewed. Every one second 1 is added to Bu counter (FIG. 5) Bu=3 implies that the α input is not applied for 3 seconds, setting R 2  and generating the pulses to release the drive mechanism. In other words, whether R 2  is set is decided. If it is in the set state, the Bu counter is cleared to &#34;0&#34; and returned to the initial state (α) while R 2  is not set. When Bu≠3, the original state α is reverted. 
     (7) timer 
     The timer is loaded with the start time or the stop time via the digit keys. This is operable when the power switch 4 is in the AUTO mode. The time information is entered upon the enter key depressed as clear from FIG. 9 when f=1 or f=2. Depression of only the enter key does not cause variations in data but places M A  or M O  into the set state. Its associated display segment M is enabled. That is, when it is not desired to modify the start time or the stop time, depression of only the enter key makes it possible to set up the timer operation. 
     The invention being thus described, it will be obvious that the same may be varied in many ways. Such modifications are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications are intended to be included within the scope of the following claims.