JPS6029832A - Controller for object movement - Google Patents

Controller for object movement

Info

Publication number
JPS6029832A
JPS6029832A JP58136722A JP13672283A JPS6029832A JP S6029832 A JPS6029832 A JP S6029832A JP 58136722 A JP58136722 A JP 58136722A JP 13672283 A JP13672283 A JP 13672283A JP S6029832 A JPS6029832 A JP S6029832A
Authority
JP
Japan
Prior art keywords
range
cursor
key
movement
movement control
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
JP58136722A
Other languages
Japanese (ja)
Inventor
Hidetoshi Sugiyama
杉山 英俊
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP58136722A priority Critical patent/JPS6029832A/en
Publication of JPS6029832A publication Critical patent/JPS6029832A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the overall operability of position specifying operation by setting a specific range for the movement of an object previously, and limiting the moving speed and movable range of an object within the range. CONSTITUTION:The specific range is set previously for the movement of the object, and the moving speed and movable range of the object are limited within the range. For example, one of keys 41-44 and 49 at an operation part 4 is pressed to input a control signal, and a CPU5 decides on whether the hit key is the home position key 49 or not; when so, the coordinates of a cursor are set to the center position on a screen. Then, the contents of the cursor register of an RAM7 are sent to a cursor control part to shift the cursor in display position. When the result of said decision indicates ''NO'', it is decided whether the input is for a set mode of the range or not; when so, the setting alteration arithmetic of the range is carried out according to a selection key, and the bright line display frame of the range is altered according to the coordinate values after the arithmetic.

Description

【発明の詳細な説明】 技術分野 本発明は操作に従って対象物の移動制御をする対象物移
動制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an object movement control device that controls the movement of an object according to an operation.

従来技術 操作入力に従って対象物の移動制御を行うものの典型的
なものにカーソル移動制御がある。
BACKGROUND ART Cursor movement control is a typical example of controlling the movement of an object according to operation input.

従来のこの種の移動制御を行う装置には種々のものがあ
るが、−・つはジョイスティックなどと呼ばれ、カーソ
ル位置をレバー等の操作変位により指定するものである
。この方式ではAD変換器が必要であるため、装置その
ものが高価になることと、大まかな移動に関しては応答
性もよく操作感の優れたものであるが、しかし反面細か
な移動に際しては正確な位置決めがむずかしく操作性を
欠く。
There are various conventional devices for performing this type of movement control, but one is called a joystick, and the cursor position is specified by operating a lever or the like. This method requires an AD converter, which makes the device itself expensive, and although it has good responsiveness and an excellent operating feel for rough movements, it requires accurate positioning for fine movements. It is difficult and lacks operability.

また、他のものとして代表的なものにカーソル移動用キ
ーがある。これは、予め複数の操作キーにカーソルの移
動方向を定め操作者が望みの方向のキーを押すことによ
りカーソルの移動を行わせるものである。つまり、キー
の選択によってカーソルの移動方向が決まり、かつその
キーの押下回数や押下継続時間によってカーソルの移動
量が制御されている。最近は殊に低価格の装置において
はコストの面からも後者の採用が多いようである。
Another typical example is a cursor movement key. In this method, the direction of movement of the cursor is determined in advance using a plurality of operation keys, and the operator moves the cursor by pressing a key in the desired direction. In other words, the direction of movement of the cursor is determined by the selection of a key, and the amount of movement of the cursor is controlled by the number of presses of the key and the duration of the press. Recently, especially in low-cost devices, the latter seems to be more commonly used due to cost considerations.

ところがこの後者のものには操作性工大きな問題点があ
る。従来、この種のものは移動速度が一定であり、細か
な移動に関しては操作性もよいが1反面大きな距離を移
動させる際には迅速性を欠く。あるいはこの反対で大き
な距離を移動させるには良いが、反面細かな移動に関し
ては正確性を欠くというものであった。
However, this latter method has a major problem in operability. Conventionally, this type of device has a constant moving speed and has good operability for small movements, but lacks quickness when moving large distances. Or, on the contrary, it was good for moving large distances, but lacked accuracy when it came to small movements.

目的 本発明は上述従来技術の欠点に鑑みて為されたものであ
ってその目的とする所は、1め火4象物の移動に対して
特定の範囲を設定し、その範囲内では対象物の移動速度
と移動可能範囲を制限することにより位置指定操作の全
体的な操作性を格段に向上させることの可能な対象物移
動制御装置を提案することにある。
Purpose The present invention has been made in view of the above-mentioned drawbacks of the prior art.The purpose of the present invention is to set a specific range for the movement of an object, and to move the object within that range. An object of the present invention is to propose an object movement control device that can significantly improve the overall operability of position specifying operations by limiting the moving speed and movable range of objects.

実施例 以下、図面に従って本発明の−・実施例を詳細に説明す
る。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

gt図は本発明の−・実施例をカーソル移動制御装置と
して備えるパーソナルコンピュータの外観斜視図である
。図において、lはノく−ソナルコンピュータの本体、
2はCRT表示部、3はキーボード部であり、4は本発
明に係る一実施例のカーソル移動制御装置(以下装置と
呼ぶ)の操作部である。
Figure gt is an external perspective view of a personal computer equipped with an embodiment of the present invention as a cursor movement control device. In the figure, l is no - the main body of the sonal computer,
2 is a CRT display section, 3 is a keyboard section, and 4 is an operation section of a cursor movement control device (hereinafter referred to as the device) according to an embodiment of the present invention.

第2図は操作部4の詳細を示す上面図である。FIG. 2 is a top view showing details of the operating section 4. As shown in FIG.

図において4□〜44はカーソル移動用キーであり、そ
の上面には夫々カーソルの移動方向を示す白の矢印が表
記されている。また、このキーのもラ一つの機能は後述
するカーソル移動の範囲を設定するときに用いられる範
囲設定レジスタの選択キーでもある。そしてこれらキー
4□〜44がカーソル移動用として機能するか、又はレ
ジスタ選択用として機能するかはモード選択キー46の
操作によって選ばれる。モード選択キー46は押下の度
に反転動作するキーであり、これが範囲設定モー ドに
あるときはこれをLED48の点灯によって操作者に知
らせる。
In the figure, 4□ to 44 are keys for moving the cursor, and white arrows indicating the moving direction of the cursor are written on the upper surface of each key. The other function of this key is also a selection key for a range setting register used when setting the range of cursor movement, which will be described later. Whether these keys 4□ to 44 function for cursor movement or register selection is selected by operating the mode selection key 46. The mode selection key 46 is a key that is reversed each time it is pressed, and when the mode selection key 46 is in the range setting mode, this is notified to the operator by lighting the LED 48.

モードが範囲設定モードにあるときは、更に拡大/縮小
キー4.が機能する。このキーも押下の度に反転動作す
るキーであり、後述するカーソル移動の範囲を拡大する
のか縮小するのかを選択するのに用いる。つまり、レジ
スタ選択キー41〜44が押下されている間このキーで
選択されるレジスタの内容を増加又は減少させて、拡大
のときは設定範囲か拡大する方向にまた縮小のときは設
定範囲が縮小する方向に更新してゆく。同様にして、縮
小のときはL E D 4 、、か点灯してこれを操作
者に知らせる。
When the mode is in range setting mode, further enlarge/reduce keys 4. works. This key is also a key that inverts each time it is pressed, and is used to select whether to enlarge or reduce the range of cursor movement, which will be described later. In other words, while the register selection keys 41 to 44 are pressed, the contents of the register selected by this key are increased or decreased, and when enlarging, the setting range is expanded, and when shrinking, the setting range is reduced. I will update it as I go. Similarly, when reducing the size, LED 4, . . . lights up to notify the operator of this.

また、49はカーソルを画面の中央に戻すホームポジシ
ョンキーである。
Further, 49 is a home position key that returns the cursor to the center of the screen.

第3図は実施例のカーソル移動制御装置の構成を示すブ
ロック図である。図において、2は第1図のCRT表示
部、4は同しく操作部、5はカーソル移動制御装置の主
制御を掌るセントラルプロセツシングユニソi−(CP
U)、6は制御プログラムを内蔵するROM、7はワー
クエリアとして使用されるRAMである。尚、第3図の
構成5゜6.7は本来パーソナルコンピュータ本体の主
機能を実行するマイクロプロセッサである。従って実施
例の装置はこの構成を供用するものであるか、説明の明
瞭化のために第3図の如く示した。
FIG. 3 is a block diagram showing the configuration of the cursor movement control device according to the embodiment. In the figure, 2 is the CRT display section shown in FIG. 1, 4 is the operation section, and 5 is the central processing unit (CP) which is in charge of the main control of the cursor movement control device.
U), 6 is a ROM containing a control program, and 7 is a RAM used as a work area. Note that the configuration 5.6.7 in FIG. 3 is a microprocessor that originally executes the main functions of the personal computer. Therefore, the apparatus of the embodiment uses this configuration and is shown as shown in FIG. 3 for clarity of explanation.

以上の構成においてカーソル移動制御が為される原理を
以下に説明する。第4図(A)及び(B)は実施例の動
作原理を示す説明図である。
The principle of cursor movement control in the above configuration will be explained below. FIGS. 4A and 4B are explanatory diagrams showing the operating principle of the embodiment.

九す第4I多(A)において、CRT表示部2のほぼ中
央にカーソルKかあり、これを囲む矩形の範囲2Iか示
されている。この範囲2□を定めるものは画面のX軸、
Y軸に対応して夫々2個ずつ設けられたレジスタXL、
XR,YL、YUの保持する座標値である。CPU5は
範囲設定モードで操作部4から受け取った信号に基づい
てRAM7上に設けたこれらレジスタの内容を変更する
ことができる。
In the 9th 4th section (A), a cursor K is located approximately in the center of the CRT display section 2, and a rectangular range 2I surrounding it is shown. What determines this range 2□ is the X axis of the screen,
two registers XL each corresponding to the Y axis;
These are the coordinate values held by XR, YL, and YU. The CPU 5 can change the contents of these registers provided on the RAM 7 based on signals received from the operating section 4 in the range setting mode.

例えば、キー46が範囲設定モードにあるときは画面に
矩形の範囲21が表示される。このとき拡大/縮小キー
4.か拡大側にセットされていると、操作者がレジスタ
YLの選択キー43を押下している間にレジスタYLの
内容は減少される。
For example, when the key 46 is in the range setting mode, a rectangular range 21 is displayed on the screen. At this time, enlarge/reduce key 4. or is set to the enlargement side, the contents of register YL are decreased while the operator presses the selection key 43 of register YL.

′つまり矩形の範囲21を拡大する方向に更新される。'In other words, the rectangular range 21 is updated in the direction of enlarging it.

またこの状態でキー4.を縮小側にセノ)・するとレジ
スタYLの内容は増加される。つまり矩形の範囲2□を
縮小する方向に更新される。このように、第2図のキー
46に表示された上下の矢印は、レジスタYLを選択し
てかつ拡大/縮小キーに従って対応する表示枠か上下移
動することを示す。一方、選択キー4□の押下によって
レジスタYUか選択されたときは範囲21の拡大かYU
の内容の増加であり、範囲2.の縮小かYUの内容の減
少である。また、X軸についても同様である。
Also, in this state, press key 4. to the reduction side).Then, the contents of register YL are increased. In other words, it is updated in the direction of reducing the rectangular range 2□. Thus, the up and down arrows displayed on the keys 46 in FIG. 2 indicate that register YL is selected and the corresponding display frame is moved up and down in accordance with the enlargement/reduction keys. On the other hand, when register YU is selected by pressing selection key 4□, whether the range 21 is expanded or YU is selected.
This is an increase in the content of range 2. This is either a reduction in the content of YU or a reduction in the content of YU. The same applies to the X axis.

このようにして所定の範囲か設定されると、次に操作者
はカーソル移動モートに切り替え、矩形の範囲2.0表
示は消える。そしてこの範囲21にあるカーソルにの移
動速度と可動の範囲は制限を受けるのである。
Once the predetermined range is set in this manner, the operator then switches to cursor movement mode and the rectangular range 2.0 display disappears. The speed and range of movement of the cursor within this range 21 are restricted.

先ず移動速度についての制限は、例えば単位時間Δtに
おけるカーソルの移動量がY軸についてはΔy?−α(
YU−YL)であり、X輛についてはΔX−α(XR−
XL)で決定される。このように矩形の範囲が設定され
たときは範囲の長さに比例した形で移動速度を制御する
とカーソル移動のアクセス時間の平均化が図れると共に
、結果として狭い範囲をアクセスするときは正確な位置
決めが容易となり、また広い範囲をアクセスするときは
移動が迅速に行われる効果がある。勿論、この範囲が所
定値より狭くなった場合には速度の不必要な低下を避け
るために一定の速度で移動させるようにしても良い。
First, the restriction on the movement speed is, for example, if the amount of movement of the cursor per unit time Δt is Δy? −α(
YU-YL), and for X car ΔX-α(XR-
XL). When a rectangular range is set in this way, by controlling the movement speed in proportion to the length of the range, the access time for cursor movement can be averaged, and as a result, accurate positioning can be achieved when accessing a narrow range. It also has the effect of making it easier to access and moving quickly when accessing a wide area. Of course, if this range becomes narrower than a predetermined value, the movement may be made at a constant speed to avoid unnecessary reduction in speed.

次に可動の範囲についての制限は、カーソルにの座標(
XC,YC)が矩形の範囲2Iの外側に越えられないこ
とである。これはカーソルにの移動に際し、レジスタX
L、XR,YL、YUの内容で定まる範囲とカーソルに
の座標(xc 、 yC)とを比較する事によって行わ
れる。こうすることによって操作者が誤ってカーソルを
オーバランさせてもカーソルは矩形の範囲2□の境界で
停止し、無駄な戻り操作をする必要がない。従って比較
的狭い範囲内で粗いカーソル操作をするときはかなりの
効果を発揮する。
Next, the limit on the range of movement is the coordinates of the cursor (
XC, YC) cannot exceed the outside of the rectangular range 2I. This means that when moving to the cursor, register
This is done by comparing the range determined by the contents of L, XR, YL, and YU with the coordinates (xc, yC) of the cursor. By doing this, even if the operator accidentally overruns the cursor, the cursor will stop at the boundary of the rectangular range 2□, eliminating the need for a wasteful return operation. Therefore, it is quite effective when performing rough cursor operations within a relatively narrow range.

範囲21内のカーソルKを−・気に画面の中央に戻すキ
ーはホームポジションキー4!Iである。第4図(B)
に示す如く矩形の範囲22が画面の中央を含まないとき
は、範囲22内のカーソルを一気に範囲外に出す効果が
ある。同図(B)において、操作者はホームポジション
からどの方向へカーソルを移動することも可能であり、
また範囲22の中に再びカーソルKを移動させることも
可能である。例えば、画面の一部に細かいカーソル移動
を要求される範囲22を予め定めておけば、操作者はそ
の範囲外ではカーソルKを高速で移動できるし、また範
囲内のアクセスをするときは、先ず線分aを高速で移動
させ、そのまま範囲22内にカーソルKが入ると自動的
に速度が制限されて線分すを低速で移動させることがで
きる。
The key to return cursor K within range 21 to the center of the screen is home position key 4! It is I. Figure 4 (B)
As shown in the figure, when the rectangular range 22 does not include the center of the screen, there is an effect of moving the cursor within the range 22 out of the range at once. In the same figure (B), the operator can move the cursor in any direction from the home position,
It is also possible to move the cursor K into the range 22 again. For example, if a range 22 in which fine cursor movement is required is defined in advance on a part of the screen, the operator can move the cursor K at high speed outside that range, and when accessing within the range, When the line segment a is moved at high speed and the cursor K enters within the range 22, the speed is automatically limited and the line segment a can be moved at a low speed.

実施例では所定の範囲外を高速で移動させ、また範囲内
を低速で移動させる場合について述べるが、この逆に範
囲外を低速で移動させ、また範囲内を高速で移動させる
ように用いてもよいことは明らかである。要するに画面
上に予め所定の範囲を設け、その範囲の内と外では異な
る条件でカーソル移動を制御することより、各種情報処
理の目的に対応して画面全体としての操作能率を向上さ
せるものである。
In the example, a case will be described in which the device is moved at high speed outside a predetermined range and moved at low speed within the range, but conversely, it can also be used to move outside the range at low speed and move within the range at high speed. The good news is obvious. In short, by setting a predetermined range on the screen in advance and controlling cursor movement under different conditions inside and outside that range, the operating efficiency of the entire screen can be improved in response to various information processing purposes. .

次に、このようなカーソル移動制御を行う構成を機能ブ
ロック図で示せば第5図のようになる。
Next, the configuration for performing such cursor movement control is shown in a functional block diagram as shown in FIG.

図において、操作部4の操作で出力されるキー人力操作
信号はデコーダ手段11で処理される。デコーダr段1
1は後述する周期でこのキー人力をサンプリングし、更
にこの入力を判別してホームポジション指定の情報、カ
ーソル移動方向をデコードした情報x>o 、x<o 
、 y>o 、 yくOlあるいはカーソル/iii囲
設定モード、拡大/縮小のセット状態等の情報を出力し
、必要ならばRAM7のFLAGSにこれら情報を保存
する。
In the figure, a key manual operation signal outputted by operating the operating section 4 is processed by a decoder means 11. Decoder r stage 1
1 samples this key input at a period described later, further discriminates this input, and decodes home position designation information and cursor movement direction x>o, x<o
, y>o, y>O, cursor/iii Enclosure setting mode, enlargement/reduction set state, etc. are output, and if necessary, these information are stored in the FLAGS of the RAM 7.

ホームポジション指定の情報はカーソル移動位置決定手
段9で処理される。メモリパス15を介してRAM7の
定1iXP、YPを読み出し、これをIlo、<ス12
を介してCRT制御部8のカーソル制御部14に出力す
る。この中には実際のカーソルの表示位置を保持するポ
ジショニングレジスタ等が含まれる。
Information specifying the home position is processed by the cursor movement position determining means 9. Read constant 1iXP, YP of RAM 7 via memory path 15 and write it as Ilo,
The signal is output to the cursor control section 14 of the CRT control section 8 via. This includes a positioning register that holds the actual display position of the cursor.

範囲決定手段10は拡大/縮小のセット状態とx>o 
、x<o 、y>o 、Y<0(7)情報に従ッテRA
 M 7 ty) レジスタXL、XR,YU、YL(
7)内容を更新する。また同時に更新後の値に従ってビ
デオRAM13に矩形の範囲の表示パターン枠を占き直
す。あるいは、実施例のようにビデオRAMに枠のパタ
ーンを書き込むのではなく、枠の表示パターンをハード
ウェア的に発生する構成をカーソル制御部14内に設け
、カーソル表示の場合と同様に枠のパターンを画面にオ
ーバラップして表示させるようにしても良い。こうする
ことによってCPU5の処理負担が格段に軽減される。
The range determining means 10 is set to enlarge/reduce and x>o.
, x<o, y>o, Y<0 (7) According to the information, RA
M 7 ty) Registers XL, XR, YU, YL (
7) Update the contents. At the same time, the display pattern frame in the rectangular range is readjusted in the video RAM 13 according to the updated value. Alternatively, instead of writing the frame pattern in the video RAM as in the embodiment, a configuration for generating a frame display pattern using hardware may be provided in the cursor control unit 14, and the frame pattern may be generated in the same manner as in the case of cursor display. may be displayed in an overlapping manner on the screen. By doing so, the processing load on the CPU 5 is significantly reduced.

カーソル移動位置決定手段9はカーソル移動モードにお
いて、既に設定された範囲XL、XR,YU、YLの内
容を参照しながら、新たなカーソル移動位置を決定する
。その結果はカーソルの現在位置を保持するレジスタX
C,YCに保存されると共にカーソル制御部14に送ら
れる。
The cursor movement position determining means 9 determines a new cursor movement position in the cursor movement mode while referring to the contents of the already set ranges XL, XR, YU, and YL. The result is the register X that holds the current position of the cursor.
C, YC and sent to the cursor control unit 14.

以下、このような構成においてカーソル移動の制御手順
を説明する。
A procedure for controlling cursor movement in such a configuration will be described below.

第6図はCPU5で実行される制御手順を示すフローチ
ャートである。このフローには操作部4のキー41〜4
4又は49か押されることによって入力する。ステップ
500ではホームポジションキー49か否かの判別をし
、判別がYESであればステップ501に進み、カーソ
ルにの座標を画面の中央位置(XP、YP)に初期設定
する。
FIG. 6 is a flowchart showing the control procedure executed by the CPU 5. This flow includes keys 41 to 4 on the operation unit 4.
Enter by pressing 4 or 49. In step 500, it is determined whether or not the home position key 49 is pressed, and if the determination is YES, the process proceeds to step 501, where the coordinates of the cursor are initialized to the center position (XP, YP) of the screen.

ステップ504ではRAM7のカーソルレジスタxc、
ycの内容をカーソル制御部に送って実際にカーソル表
示色−1の変更をする。また、ステップ500の判別か
Noであるときはステップ502に進み、範囲の設定モ
ートか否かの判別を行う。判別がYESであればステッ
プ600に進み選択キー人力に従って範囲の設定変更演
算を行う。ステップ503では演算後の座標値に従って
範囲の輝線表示枠を変更する。また、ステップ502の
判別がNoであるときはカーソル移動モードであり、ス
テップ700に進んでカーソル移動位置の演算を行う。
In step 504, the cursor register xc of RAM7,
The contents of yc are sent to the cursor control unit to actually change the cursor display color -1. Further, if the determination in step 500 is No, the process proceeds to step 502, where it is determined whether or not it is a range setting mode. If the determination is YES, the process proceeds to step 600, and calculations for changing the range settings are performed according to the selection key manual. In step 503, the bright line display frame of the range is changed according to the calculated coordinate values. If the determination in step 502 is No, the cursor movement mode is selected, and the process proceeds to step 700 to calculate the cursor movement position.

ステップ504ではこの演算結果に従って実際にカーソ
ル移動と表示を行う。
In step 504, the cursor is actually moved and displayed according to the calculation result.

操作部4のこれらキー人力操作の状態は、キーを最初に
押下した時点で1つサンプリングされ、約1/2Sec
たって後に再びサンプリングされる。以後は100m5
毎にサンプリングされその都度ステップ500からの処
理に入力される。従ってカーソル移動モードのときにキ
ー42を押下し続けるとカーソルには右側へ連続的に移
動する。また、範囲設定モードで拡大のときにキー4.
を押し続けると対応する矩形の範囲の輝線は上方に連続
して移動する。
The state of manual operation of these keys on the operation unit 4 is sampled once when the key is pressed for the first time, and takes approximately 1/2 sec.
sampled again later. After that, 100m5
The data is sampled each time and input to the processing from step 500 each time. Therefore, if the key 42 is held down in the cursor movement mode, the cursor will continuously move to the right. Also, when zooming in range setting mode, press key 4.
If you keep pressing , the bright line in the corresponding rectangular area will move upward continuously.

また、装置がカーソル移動モードから範囲設定モードに
変化したときはステップ800で枠の表示をすべきこと
が判別されステップ503に直接入力して矩形の範囲の
輝線表示を行う。ステップ503では、ラスクスキャン
される表示画面に対応して、ビデオRAMJ二にY=Y
UとY=YLの横線分を夫々X=XLから×Rの範囲で
書き込む処理と、またX=XLとX=XRの縦線分を夫
々Y=YLからYUの範囲で占き込む処理とを行う。ま
た、逆にカーソル移動モードに変るときはステップ80
0で枠の表示が消去されるべきことを判別され、ステッ
プ503に直接入力して矩形の範囲の輝線消去を行う。
Further, when the apparatus changes from the cursor movement mode to the range setting mode, it is determined in step 800 that a frame should be displayed, and direct input is made to step 503 to display bright lines in a rectangular range. In step 503, Y=Y is stored in the video RAMJ2 corresponding to the display screen to be scanned.
The process of writing the horizontal line segments of U and Y=YL respectively in the range of X=XL to ×R, and the process of writing the vertical line segments of X=XL and X=XR respectively in the range of Y=YL to YU. I do. Conversely, when changing to cursor movement mode, step 80
If the value is 0, it is determined that the display of the frame should be erased, and it is directly input to step 503 to erase the bright lines in the rectangular range.

この場合は上述した方法でビデオRAM上の枠データの
消し込みを行えば良い。更にまた、ステップ600から
ステップ503に入力するときは更新された枠のデータ
に従って古い枠の消し込みと新しい枠の書き込みが行わ
れることになる。
In this case, the frame data on the video RAM may be erased using the method described above. Furthermore, when inputting from step 600 to step 503, old frames are erased and new frames are written in accordance with the updated frame data.

第7図には範囲変更演算処理600の詳細を示す。ステ
ップ601ではキー45の状態が拡大か否かの判別をし
、判別がYESであればステップ602に進み、x〉0
か否かの判別を行う。X〉0のときは操作部のキー42
が押されたことを示し、この場合のキー42はレジスタ
XRの選択キーとして解釈される。従って拡大/縮小キ
ー45のセット状態に従ってレジスタXRの内容が増加
又は減少し、画面上で範囲を示す輝線枠は右へも左へも
移動することになる。他も同様であり、x<oのときは
キー44が、Y>Oのときはキー4□が、Y<Oのとき
はキー43が大々押された場合に対応する。
FIG. 7 shows details of the range change calculation process 600. In step 601, it is determined whether the state of the key 45 is enlarged or not, and if the determination is YES, the process proceeds to step 602, where x>0
It is determined whether or not. When X>0, press key 42 on the operation section.
indicates that the key 42 has been pressed, and the key 42 in this case is interpreted as a selection key for register XR. Therefore, the contents of the register XR increase or decrease according to the set state of the enlargement/reduction key 45, and the bright line frame indicating the range on the screen moves to the right or left. The same applies to the other cases, and when x<o, the key 44 is pressed, when Y>O, the key 4□ is pressed, and when Y<O, the key 43 is pressed.

次にステップ602の判別がYESであればステップ6
03に進みレジスタXRの内容をXR+ΔX3で更新す
る。ΔX3の値は一定の値でも良いが、実施例ではΔx
3=β(XR−XL)で計算される。つまりX軸にそっ
ての範囲が広ければ広いほど更新の速度も速くして操作
感と操作性の向上を図っている。逆に範囲が狭ければゆ
っくりと縮まり、狭い範囲の位置決めが確実に行われる
効果がある。ステップ604ではX R> X P4A
 Xか否かの判別を行う。判別がYESであればレジス
タXRの内容が画面の最大座標値xM8xを越えても意
味がないからステップ605に進んでXRの内容はxM
Axで置き換えられる。才た、判別がNoであればその
ままフローを抜ける。
Next, if the determination in step 602 is YES, step 6
The process advances to step 03 and the contents of register XR are updated by XR+ΔX3. The value of ΔX3 may be a constant value, but in the example, Δx
It is calculated as 3=β(XR-XL). In other words, the wider the range along the X-axis, the faster the update speed, improving the sense of operation and operability. On the other hand, if the range is narrow, it will shrink slowly, which has the effect of ensuring positioning in a narrow range. In step 604, X R> X P4A
Determine whether it is X or not. If the determination is YES, there is no meaning even if the contents of register XR exceed the maximum coordinate value xM8x of the screen, so the process proceeds to step 605 and the contents of XR are set to xM.
Replaced by Ax. If the determination is No, the process exits the flow.

以下、同様の考え方でフローは構成されている。つまり
、ステップ606でXく0ならばステップ607でレジ
スタXLの内容をXL−Δx3で更新する。更にステッ
プ608でxしくxMINならばステップ609に進ん
でXLの内容はXMINで置き換えられる。このように
してYGこついてもステップ610からステップ617
にわたって同様の処理が行われる。
The flow below is structured using the same idea. That is, if X is 0 in step 606, the contents of register XL are updated by XL-Δx3 in step 607. Furthermore, if xMIN is found in step 608, the process advances to step 609 and the contents of XL are replaced with XMIN. Even if YG gets stuck like this, step 610 to step 617
Similar processing is performed throughout.

次にステップ601でキー45の縮小のセット状態が判
別されたときはステップ618に進み。
Next, when it is determined in step 601 that the reduction setting state of the key 45 is set, the process advances to step 618.

更にx>Oか否かの判別が行われる。判別がYESなら
ステップ619に進み、レジスタXRの内容をXR−Δ
X3で更新する。つまりキー42を選択して範囲を縮小
するのであるからXRの内容は上述ステップ603の場
合と逆に減算されるのである。ステップ620ではXR
<XLか否、かの判別を行い、判別がYESならばXR
に対応する輝線の枠がXLに対応する輝線枠の左側に越
えても意味がないのでステップ621でXRの内容をX
Lの内容で置き換える。
Furthermore, it is determined whether x>O or not. If the determination is YES, the process advances to step 619, and the contents of register XR are converted to XR-Δ
Update with X3. In other words, since the range is reduced by selecting the key 42, the contents of XR are subtracted in the opposite manner to step 603 described above. In step 620, XR
<Determine whether it is XL or not, and if the determination is YES, it is XR.
There is no meaning in crossing the bright line frame corresponding to XL to the left side of the bright line frame corresponding to XL, so in step 621 the contents of XR are
Replace with the contents of L.

以下、ステップ622からステップ633までのフロー
は同様の考え方で構成されている。
Hereinafter, the flow from step 622 to step 633 is constructed based on the same concept.

第8図にはカーソル移動位置演算処理700の詳細を示
す。先ずステップ718ではカーソルの現在位置座標Y
CがYL以上でYtJ以下の範囲に入っているか否かの
判別を行う。判別がYESであればステップ701に進
み、更にカーソルの現在位置の座標xCがXL以上でX
R以下の範囲に入っているか否かの判別を行う。つまり
、ステップ718と701の両方を満足すると矩形の範
囲内でありこれ以外の範囲とでは異なる条件でカーソル
の移動をさせようとするものである。ステップ701の
判別がYESであればステップ702に進み、x〉0か
否かの判別を行う。カーソルの移動モードにおいてx>
Oはキー42が押下された場合に対応し、カーソルを右
方向に移動することである。従って判別がYESであれ
ばステップ703に進みカーソルレジスタXCの内容を
XC+Δx2で更新する。ΔX2の値は定数でも良いが
、実施例では△x2=α(XR−XL)で計算される。
FIG. 8 shows details of the cursor movement position calculation process 700. First, in step 718, the current position coordinates of the cursor Y
It is determined whether C is within the range of YL or more and YtJ or less. If the determination is YES, the process advances to step 701, and furthermore, if the coordinates xC of the current position of the cursor are XL or more,
It is determined whether the value is within a range equal to or less than R. In other words, if both steps 718 and 701 are satisfied, the cursor is within the rectangular range, and the cursor is moved under different conditions in other ranges. If the determination in step 701 is YES, the process proceeds to step 702, where it is determined whether x>0. In cursor movement mode x>
O corresponds to the case where the key 42 is pressed and is to move the cursor to the right. Therefore, if the determination is YES, the process advances to step 703 and the contents of the cursor register XC are updated by XC+Δx2. The value of ΔX2 may be a constant, but in the embodiment, it is calculated as Δx2=α(XR-XL).

この効果については上述動作原理のところで述べた。次
にステップ704でXC>XRか否かの判別を行う。判
別がYESならばこの移動を行うとカーソルがXRに対
応する輝線枠を飛び出すことを示し、実施例ではこのよ
うな移動を制限した。従ってステップ705ではxCの
内容がXRの内容で置き換えられ、カーソルはこれ以上
右には移動出来ない。次にステップ706でXくOの判
別がYESであればカーソルを左方向へ移動することで
あり、ステップ707でXCの内容をxC−ΔX2で更
新する。但しステップ708でXC<XLの判別がYE
Sになるとxcの内容はXLの内容で置き換えられ、カ
ーソルは枠の左側の外には出られない。
This effect was described above in the operating principle. Next, in step 704, it is determined whether XC>XR. If the determination is YES, this indicates that if this movement is performed, the cursor will jump out of the bright line frame corresponding to XR, and in the embodiment, such movement is restricted. Therefore, in step 705, the contents of xC are replaced by the contents of XR, and the cursor cannot be moved any further to the right. Next, in step 706, if the determination of X×O is YES, the cursor is moved to the left, and in step 707, the contents of XC are updated by xC-ΔX2. However, in step 708, the determination of XC<XL is YE.
When it becomes S, the contents of xc are replaced with the contents of XL, and the cursor cannot move outside the left side of the frame.

以下、ステップ719からステップ726はY軸につい
て同様の処理をしている。このようにして操作者か矩形
の範囲内でカーソルをオーバランさせてもカーソルは枠
内で停止させられるのである。
Hereinafter, steps 719 to 726 perform similar processing for the Y axis. In this way, even if the operator overruns the cursor within the rectangle, the cursor will be stopped within the frame.

カーソルが設定した範囲内にないときはステップ710
に進む。ステップ710ではX〉0か否かの判別をし、
判別がYESであれば更にステップ711に進み、カー
ソルレジスタxCの内容をXC+ΔX1で更新する。実
施例ではΔx、を所定値とじた。ステップ712ではX
 C> X M A Xか否かの判別をし、YESであ
ればステップ713でXCの内容はxMPxで置き換え
られ、また判別がNoであればフローはステップ713
の処理をバイパスする。つまり画面全体をはみ出さない
だめの処理である。同様にしてステップ714でXく0
の判別がYESであれば、カーソルを左の方向に移動す
ることであり、ステップ715でカニツルレジスタXC
の内容はXC−ΔX1で更新される。ステップ716で
はXC<XMINか否かの判別がされ、YESであれば
XCの内容はxM、Nで置き換えられ、また判別がNo
であればフローはステップ717の処理をバイパスする
If the cursor is not within the set range, step 710
Proceed to. In step 710, it is determined whether or not X>0,
If the determination is YES, the process further advances to step 711 and updates the contents of the cursor register xC with XC+ΔX1. In the embodiment, Δx was set to a predetermined value. In step 712,
It is determined whether or not C>XM A
Bypass processing. In other words, it is a process that must not extend beyond the entire screen. Similarly, in step 714,
If the determination is YES, the cursor is moved to the left, and in step 715 the crab register XC is moved.
The contents of are updated by XC-ΔX1. In step 716, it is determined whether XC<XMIN or not, and if YES, the contents of XC are replaced with xM and N, and if the determination is No.
If so, the flow bypasses step 717.

以下ステップ727からステップ734まではY軸につ
いて同様の処理をしている。このようにしてカーソルが
矩形の範囲内にないときは一定の速度で移動し、例えば
次のサンプリング時点で矩形の範囲内に一度入ると、以
後は自動的に移動速0度が制限され、しかも、この範囲
から外へは出てゆけない。操作者は目的の処理が終了す
るとボームポジションキーを押すことによりカーソルK
を画面の中央に戻す。このとき画面の中央が設定された
範囲内にあっても又はなくても良い。以後のカーソル移
動はそれぞれの範囲の条件に従う。
From step 727 to step 734, similar processing is performed for the Y axis. In this way, when the cursor is not within the rectangle, it moves at a constant speed, and once it enters the rectangle at the next sampling point, the movement speed is automatically limited to 0 degrees from then on, and , cannot go outside this range. When the desired process is completed, the operator presses the Baum position key to move the cursor K.
Return to the center of the screen. At this time, the center of the screen may or may not be within the set range. Subsequent cursor movement follows the conditions of each range.

効果 以上述へた如く本発明によれば、予め対象物の移動に対
して特定の範囲を設定し、その範囲内では対象物の移動
速度と移動可能範囲を制限することにより位置指定操作
の全体的な操作性を格段に向上させることの可能な対象
物移動制御装置を提供できる。
Effects As described above, according to the present invention, by setting a specific range in advance for the movement of the object and limiting the moving speed and movable range of the object within that range, the entire position specifying operation can be performed. Therefore, it is possible to provide an object movement control device that can significantly improve operability.

これを実施例の如くカーソル移動制御に用いれば、文字
と図形から成る情報処理の操作性を格段に向上させる。
If this is used for cursor movement control as in the embodiment, the operability of information processing consisting of characters and graphics will be greatly improved.

例えば画面の左側には情報検索のための文字メニューが
並び、画面の右側には文字メニューを選択することによ
って検索された図形が表示されるような場合に、操作者
は文字メニューに対する指定操作を高速なカーソル移動
で迅速に行い、かつ図形表示に対する要部の指定操作を
低速なカーソル移動で正確に行うことができる。各種の
図形が次々にファイルから繰り返し検索され、その都度
図形に対する正確な位置指定操作が行われ、もって対話
型情報処理の操作性が飛躍的に向上するというものであ
る。最近はマイクロコンピュータシステムにおいてもこ
の様な用途が増大している。
For example, if the left side of the screen is lined up with text menus for information retrieval, and the right side of the screen displays the shapes searched for by selecting the text menu, the operator can specify operations on the text menu. It is possible to quickly perform the operation by moving the cursor at high speed, and to specify the main part of the graphic display accurately by moving the cursor at low speed. Various types of figures are repeatedly searched from files one after another, and precise position designation operations are performed on the figures each time, thereby dramatically improving the operability of interactive information processing. Recently, such applications have been increasing in microcomputer systems as well.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の−・実施例をカーソル移動制御装置と
して備えるパーソナルコンピュータの外観斜視図、 第2図は第1図の操作部の詳細を示す上面図、第3図は
実施例のカーソル移動制御装置の構成を示すブロック図
、 第4図(A)及び(B)は実施例のカーソル移動制御装
置の動作原理を説明するための説明図、第5図は実施例
のカーソル移動制御装置の機能構成を示すブロック図、 第6図は実施例のカーソル移動制御装置の制御丁順を示
すフローチャート、 第7図は範囲変更演算の手順を示すフローチャート、 第8図はカーソル移動位置演算の手順を示すフローチャ
ートである。 ここで、1・・・パーソナルコンピュータの本体、2・
・・CRT表示部、3・・・キーボード部、4・・・操
作部、41〜44・・・カーソル移動用キー、45・・
・拡大/縮小キー、46・・・モード選択キー、47゜
48・・・LED、49・・・ホームポジション¥−1
5・・・CPU、6・・・ROM、7・・・RAM、8
・・・CRT制御部、9・・・カーソル移動位置決定手
段、10・・・範囲決定手段、l’l・・・デコーダ、
12・・・I10バス、13・・・ビデオRAM、14
・・・カーソル制御部、15・・・メモリパスである。 第1図 第3図 ム゛j4因 (A) 第4図 (B)
Fig. 1 is an external perspective view of a personal computer equipped with an embodiment of the present invention as a cursor movement control device, Fig. 2 is a top view showing details of the operating section of Fig. 1, and Fig. 3 is a cursor movement control device of the embodiment. A block diagram showing the configuration of the movement control device. FIGS. 4(A) and (B) are explanatory diagrams for explaining the operating principle of the cursor movement control device of the embodiment. FIG. 5 is a block diagram showing the cursor movement control device of the embodiment. FIG. 6 is a flowchart showing the control sequence of the cursor movement control device of the embodiment, FIG. 7 is a flowchart showing the range change calculation procedure, and FIG. 8 is the cursor movement position calculation procedure. It is a flowchart which shows. Here, 1... the main body of the personal computer, 2.
... CRT display section, 3... Keyboard section, 4... Operation section, 41 to 44... Cursor movement keys, 45...
・Enlarge/reduce key, 46...Mode selection key, 47° 48...LED, 49...Home position ¥-1
5...CPU, 6...ROM, 7...RAM, 8
. . . CRT control unit, 9 . . . Cursor movement position determination means, 10 . . . Range determination means, l'l . . . Decoder,
12...I10 bus, 13...Video RAM, 14
. . . Cursor control unit, 15 . . . Memory path. Figure 1 Figure 3 4 causes (A) Figure 4 (B)

Claims (6)

【特許請求の範囲】[Claims] (1)操作に従って対象物の移動を制御する移動制御手
段と、操作に従って範囲を設定する範囲設定手段を備え
、前記移動制御手段は前記範囲設定1段で設定された範
囲の内と外で対象物の異なる移動制御をすることを特徴
とする対象物移動制御装置。
(1) A movement control means that controls the movement of the object according to the operation, and a range setting means that sets the range according to the operation, and the movement control means controls the object within and outside the range set in the first stage of range setting. An object movement control device characterized by controlling the movement of objects in different ways.
(2)対象物がカーソルで、範囲か画面の一部を成す平
面であることを特徴とする特許請求の範囲第1項に記載
の対象物移動制御装置。
(2) The object movement control device according to claim 1, wherein the object is a cursor, which is a range or a plane forming part of a screen.
(3)設定された範囲内では対象物を相対的に遅く移動
し、範囲外では相対的に速く移動することを特徴とする
特許請求の範囲第2項に記載の対象物移動制御装置。
(3) The object movement control device according to claim 2, wherein the object is moved relatively slowly within a set range, and moved relatively quickly outside the set range.
(4)範囲が矩形て、該範囲内ではその範囲の長さに比
例する速度で対象物を移動し、範囲外では所定の速度で
移動することを特徴とする特許請求の範囲第2項に記載
の対象物移動制御装置。
(4) The range is rectangular, and within the range, the object moves at a speed proportional to the length of the range, and outside the range, the object moves at a predetermined speed. The object movement control device described above.
(5)範囲設定手段は操作に従って範囲の大きさと位置
を変更可能であることを特徴とする特許請求の範囲第1
項に記載の対象物移動制御装置。
(5) Claim 1, characterized in that the range setting means is capable of changing the size and position of the range according to the operation.
The object movement control device described in .
(6)範囲か矩形で、該範囲の大きさの変化分が範囲の
長さに比例して決定されることを特徴とする特許請求の
範囲第5項に記載の対象物移動制御装置。
(6) The object movement control device according to claim 5, wherein the range is rectangular and the change in size of the range is determined in proportion to the length of the range.
JP58136722A 1983-07-28 1983-07-28 Controller for object movement Pending JPS6029832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58136722A JPS6029832A (en) 1983-07-28 1983-07-28 Controller for object movement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58136722A JPS6029832A (en) 1983-07-28 1983-07-28 Controller for object movement

Publications (1)

Publication Number Publication Date
JPS6029832A true JPS6029832A (en) 1985-02-15

Family

ID=15181961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58136722A Pending JPS6029832A (en) 1983-07-28 1983-07-28 Controller for object movement

Country Status (1)

Country Link
JP (1) JPS6029832A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61155948U (en) * 1985-03-15 1986-09-27
JPS62127922A (en) * 1985-11-29 1987-06-10 Canon Inc Character processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61155948U (en) * 1985-03-15 1986-09-27
JPS62127922A (en) * 1985-11-29 1987-06-10 Canon Inc Character processor

Similar Documents

Publication Publication Date Title
CA2012795C (en) Image editor zoom function
JPH01250129A (en) Display screen operating system
JP3585357B2 (en) Information processing apparatus and method, and recording medium recording information processing program
JP2666538B2 (en) Panning control system
JPS625293A (en) Window display control system
JP2692720B2 (en) Enlargement / reduction display control method of window figure
JPS6029832A (en) Controller for object movement
JPH03263217A (en) Information input/output device
JPH0464089B2 (en)
JP2663133B2 (en) Command menu display method in display device
JPH06295328A (en) Method and device for controlling display
JP2600592B2 (en) Template display control device
JP2679971B2 (en) Graphic display control device
JP2822474B2 (en) Trend graph display
JPH07199900A (en) Window system
JP3113023B2 (en) Arc length dimension creation method and device
JPH06110647A (en) Window controller
JPH1083254A (en) Control unit for pointer moving speed of figure indication
JPS62279475A (en) Graphic processor
JPH0772841A (en) Window display control method
JPH04156681A (en) Display device of image processing device and designation method for display magnification and display position
JPH02287720A (en) Data input method
JPH03188573A (en) Drawing device
JPH06131120A (en) Information processor
JPH04243470A (en) Data processor and its cursor control method