Claims
- 1. A method of controlling a locking/unlocking operation of a system comprising the steps of:
- checking in an interrupt routine if a locking mode clear execution flag is set;
- if said locking mode clear execution flag is set, clearing said locking mode clear execution flag, checking whether a main routine of the system is ready to be unlocked again, and clearing said locking mode execution flag if said main routine of the system is ready to be unlocked again;
- if said locking mode clear execution flag is not set, determining if a register value of a locking timer is greater than a predetermined value;
- if said register value of said locking timer is not greater than said predetermined value, exiting said interrupt routine;
- if said register value of said locking timer is greater than said predetermined value, clearing said locking timer register, checking whether the main routine of the system is ready to be unlocked again, and clearing said locking mode execution flag if said main routine of the system is ready to be unlocked again.
- 2. A method of controlling a locking/unlocking operation as claimed in claim 1 wherein:
- all of said steps are for an interrupt sequence.
- 3. A method of controlling a locking/unlocking operation as claimed in claim 2 further comprising the steps of:
- determining whether one of a first main sequence and a second main sequence has been interrupted by execution of said interrupt sequence;
- if said first main sequence has been interrupted, saving values of registers used by said first main sequence; and
- if said second main sequence has been interrupted, saving values of registers used by said second main sequence.
Priority Claims (2)
Number |
Date |
Country |
Kind |
4-300387 |
Oct 1992 |
JPX |
|
5-047396 |
Feb 1993 |
JPX |
|
Parent Case Info
This is a continuation of application Ser. No. 08/247,288 filed May 23, 1994, now abandoned which is a division of application Ser. No. 08/133,868 filed Oct. 12, 1993 now U.S. Pat. No. 5.402,183.
US Referenced Citations (6)
Divisions (1)
|
Number |
Date |
Country |
Parent |
133838 |
Oct 1993 |
|
Continuations (1)
|
Number |
Date |
Country |
Parent |
247288 |
May 1994 |
|