JPS63282791A - Display control system - Google Patents

Display control system

Info

Publication number
JPS63282791A
JPS63282791A JP62117092A JP11709287A JPS63282791A JP S63282791 A JPS63282791 A JP S63282791A JP 62117092 A JP62117092 A JP 62117092A JP 11709287 A JP11709287 A JP 11709287A JP S63282791 A JPS63282791 A JP S63282791A
Authority
JP
Japan
Prior art keywords
character
display
line
signal
column
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.)
Granted
Application number
JP62117092A
Other languages
Japanese (ja)
Other versions
JP2642350B2 (en
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62117092A priority Critical patent/JP2642350B2/en
Publication of JPS63282791A publication Critical patent/JPS63282791A/en
Application granted granted Critical
Publication of JP2642350B2 publication Critical patent/JP2642350B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概 要〕 表示手段の各行にn欄が表示可能なキャラクタディスプ
レイ装置の表示制御方式において、n欄よりα欄多いn
+α欄を1行分として文字バッファメモリに格納し、こ
のn+α欄の1行分単位で読み出して文字パターン信号
を生成し、ni分の表示を行う。これにより、文字パン
ツアメモリの内容を書き換えることなく水平スクロール
表示を行うことができ、かつ、属性情報を持った不定様
式の画面の水平スクロールができるとともに、漢字文字
が画面の両端にある場合にも泣き分れを生じさせること
なく水平スクロールを行うことができる。
[Detailed Description of the Invention] [Summary] In a display control method of a character display device that can display n columns in each line of a display means, α columns are larger than n columns.
The +α column is stored as one line in the character buffer memory, and the n+α column is read out in units of one line to generate a character pattern signal and display ni. This allows horizontal scrolling to be performed without rewriting the contents of the character panzer memory, horizontal scrolling of unformatted screens with attribute information, and even when kanji characters are located at both ends of the screen. It is also possible to perform horizontal scrolling without causing any separation.

〔産業上の利用分野〕[Industrial application field]

本発明は、キャラクタディスプレイ装置における表示制
御方式、特に、水平スクロール表示処理を筒車化し、属
性情報を持った不定様式の画面の水平スクロールを可能
にするとともに、水平スクロール時に漢字文字に泣き分
れが生じないようにした表示制御方式に関する。
The present invention provides a display control method for a character display device, in particular, converts horizontal scroll display processing into an hour wheel, enables horizontal scrolling of an unformatted screen with attribute information, and makes it possible to display kanji characters separately during horizontal scrolling. This invention relates to a display control method that prevents the occurrence of

〔従来の技術〕[Conventional technology]

英数字や漢字等の各文字をディスプレイ上に表示して対
話形式で処理する場合、表示画面を左右の水平方向又は
上下の垂直方向にスクロールすることが行われる。
When displaying characters such as alphanumeric characters or kanji characters on a display and processing them in an interactive manner, the display screen is scrolled horizontally from left to right or vertically from top to bottom.

第12図は、スクロールが行われる従来のキャラクタデ
ィスプレイ装置の構成をブロック図で示したものである
FIG. 12 is a block diagram showing the configuration of a conventional character display device that performs scrolling.

第12図において、21は文字バッファメモリで、ディ
スプレイのn欄×m行に表示されるn×m個の文字に対
する文字情報コードが格納される。
In FIG. 12, 21 is a character buffer memory in which character information codes for n×m characters displayed in n columns×m lines of the display are stored.

文字情報コードは、文字パターン情報を指示する文字コ
ードと文字の属性情報を指示するアトリビュートコード
(以下、A triコードという)で構成される。文字
の属性情報には、例えばリバース、ブリンク、罫線等が
ある。
The character information code is composed of a character code indicating character pattern information and an attribute code (hereinafter referred to as Atri code) indicating character attribute information. Character attribute information includes, for example, reverse, blink, ruled line, etc.

22は書込み・読出し制御手段(R/W制御手段)で、
文字パンツアメモリ21に対する文字情、報コードの書
込み及び読出しを制御し、読出し時はnaを1行とする
行単位で読み出しを行う。
22 is a write/read control means (R/W control means);
It controls the writing and reading of character information and information codes to and from the character panzer memory 21, and at the time of reading, the reading is performed line by line, with na being one line.

23は文字パターンJ言号発生手段で、文字バッファメ
モリ21より行単位で読み出されたn×m個の文字情報
コードに基づいてディスプレイに表示する文字パターン
信号を発生する。
Reference numeral 23 denotes a character pattern J word generating means, which generates a character pattern signal to be displayed on the display based on n×m character information codes read line by line from the character buffer memory 21.

24は水平・垂直タイミング発生手段(H・■タイミン
グ発生手段)で、水平同期信号(H5ync信号)、垂
直同期信号(V 5ync信号)、水平及び垂直の各ブ
ランキング信号(H−Brank信号、■・B ran
k信号)、表示タイミング信号(Dsp Tm信号)、
垂直ブランキング終了信号(VEND信号)等の各タイ
ミング信号を発生する。
24 is a horizontal/vertical timing generation means (H/■ timing generation means), which generates a horizontal synchronization signal (H5ync signal), a vertical synchronization signal (V5ync signal), and each horizontal and vertical blanking signal (H-Blank signal,・Brand
k signal), display timing signal (Dsp Tm signal),
Each timing signal such as a vertical blanking end signal (VEND signal) is generated.

25は表示手段で、内部にディスプレイ251を備え、
文字パターン信号発生手段23がらの文字パターン信号
及びH−Vタイミング発生手段24からのH5ync信
号、V 5ync信号等を受けて、ディスプレイ251
にn Q X m行の文字表示を行う。
25 is a display means, which includes a display 251 inside;
In response to the character pattern signal from the character pattern signal generating means 23 and the H5ync signal, V5ync signal, etc. from the H-V timing generating means 24, the display 251
Displays n Q X m lines of characters.

26はホストで、CPU261各種制御プログラムや初
期化プログラムが格納されているROM262、処理中
の命令及びデータ等が格納されるRAM263を備え、
文字情報コードや各種のデータ、アドレス、制御信号の
転送、授受を行って、システムの動作を制御する。
26 is a host, which includes a CPU 261, a ROM 262 in which various control programs and initialization programs are stored, and a RAM 263 in which instructions and data being processed are stored;
It controls the operation of the system by transmitting and receiving character information codes, various data, addresses, and control signals.

27はトランシーバ(TRV)で、ホスト26と文字バ
ッファメモリ21間のデータ転送を制御する。
A transceiver (TRV) 27 controls data transfer between the host 26 and the character buffer memory 21.

R/W制御手段22において、221は文字カウンタ(
chr−CNT)で、表示画面の一つの垂直走査が終了
する毎に発生するVEND信号に制御されて、走査開始
時のアドレスの初期値、すなわち1行目1欄目のアドレ
ス値No(固定値)がセットされ、以下、文字単位で発
生する文字クロック(cCLK)を受けて、2CCLK
毎にカウントアツプする(なお、2CCLK毎にカウン
トアツプされる点については、後述する第17図のタイ
ミングチャートにおいて、詳細に説明する)。
In the R/W control means 22, 221 is a character counter (
chr-CNT), is controlled by the VEND signal that is generated every time one vertical scan of the display screen ends, and the initial value of the address at the start of scanning, that is, the address value No. (fixed value) in the first row and first column. is set, and thereafter, in response to the character clock (cCLK) generated for each character, 2CCLK
(Note that the point that the count is increased every 2 CCLK will be explained in detail in the timing chart of FIG. 17, which will be described later).

222はマルチプレクサ(M P X)で、chr・C
NT221、H−Vタイミング発生手段24がらの各タ
イミング信号及びCPU261からのアドレスを選択し
、文字バッファメモリ21をアクセスするアドレスを出
力する。
222 is a multiplexer (MPX), chr.C
Each timing signal from the NT 221 and the H-V timing generation means 24 and the address from the CPU 261 are selected, and an address for accessing the character buffer memory 21 is output.

223は文字バッファ調停部、224は書込みアドレス
カウンタ(W−AdCNT) 、225はマルサプクサ
(MPX)で、これらにより、文字バッファメモリ21
より1行単位で、かつ、H・Vタイミング発生手段24
からのH5ync信号及びV 5ync信号に同期して
各文字情報コードを読み出し、文字パターン信号発生手
段23のラインバ。
223 is a character buffer arbitration unit, 224 is a write address counter (W-AdCNT), and 225 is a marsupxa (MPX), which allows the character buffer memory 21
In each row, H/V timing generation means 24
Each character information code is read out in synchronization with the H5ync signal and the V5ync signal from the line bar of the character pattern signal generating means 23.

ファに書込みを行い、更に、表示時は、ラインバッファ
よりH5ync信号及びV 5ync信号に同期して各
文字情報コードの読出しを行う(なお、具体的な動作に
ついては、次の動作説明において説明する)。
Furthermore, when displaying, each character information code is read out from the line buffer in synchronization with the H5ync signal and V5ync signal (the specific operation will be explained in the following operation explanation). ).

文字パターン信号発生手段23において、231はライ
ンバッファで、文字バッファメモリ21より読み出され
た1行分(n欄)の文字情報コードが一時格納される。
In the character pattern signal generating means 23, 231 is a line buffer in which character information codes for one line (column n) read from the character buffer memory 21 are temporarily stored.

232は第2レジスタ(第1REG)で、ラインバッフ
ァ231から読み出された1行分の文字情報コードがセ
ットされる。
Reference numeral 232 is a second register (first REG) in which character information code for one line read from the line buffer 231 is set.

233は第2レジスタ(第2REG)で、第1REG2
32にセットされた文字情報コード中の文字コードがセ
ットされる。
233 is the second register (second REG);
The character code in the character information code set to 32 is set.

234は第3レジスタ(第3REG)で、第1REG2
32にセットされた文字情報コード中のAtriコード
がセットされる。
234 is the third register (third REG), and the first REG2
The Atri code in the character information code set to 32 is set.

235は文字パターン発生部で、文字コードに対応する
文字パターンデータを発生する。
235 is a character pattern generation unit that generates character pattern data corresponding to a character code.

236はアトリビュート処理部で、第1 REG232
及び第3REG234からの各Atriコードに基づい
て文字パターン発生部235から出力された文字パター
ンデータに対して所定のアトリビュート処理を施した文
字ドツトパターンデータを発生する。アトリビュート処
理部236に対し、第1REG232からは、複数の連
続した表示文字に共通する属性情報(フィールド・アト
リビュートコード: F  Atriコード)が送られ
、第3REG234からは、対応する文字コードに対す
るAtriコードが送られる。
236 is an attribute processing unit, and the first REG 232
Based on each Atri code from the third REG 234, character dot pattern data is generated by performing predetermined attribute processing on the character pattern data output from the character pattern generation section 235. The first REG 232 sends attribute information (field attribute code: F Atri code) common to a plurality of consecutive display characters to the attribute processing unit 236, and the third REG 234 sends the Atri code for the corresponding character code. Sent.

237は並列/直列変換部(P/S変換部)で、並列の
文字パターンデータを直列の文字ビデオ信号に変換し、
文字パターン信号として出力する。
237 is a parallel/serial conversion unit (P/S conversion unit) that converts parallel character pattern data into a serial character video signal;
Output as a character pattern signal.

第13図は、n=80欄、m=25行の場合のディスプ
レイ251に表示される表示画面を示したものである。
FIG. 13 shows a display screen displayed on the display 251 when n=80 columns and m=25 rows.

各行は80欄からなり、合計2000欄分の表示が行わ
れる。英数字は1欄当り1文字が表示されるので、全体
で2000文字の英数字を表示することが可能である。
Each row consists of 80 columns, and a total of 2000 columns are displayed. Since one alphanumeric character is displayed per column, it is possible to display 2000 alphanumeric characters in total.

漢字の場合は2欄で一文字が表示されるので、漢字が入
る場合は2000文字よりも少なくなる。
In the case of kanji, one character is displayed in two columns, so if kanji are included, the number will be less than 2000 characters.

第14図は、第13図に示すn=80欄、m=25行の
表示が行われる場合の、文字バッファメモリ21内のメ
モリ領域の構成を示したものである。X’N’は、16
進で示されるバイト単位のアドレスで、1行の1横目の
アドレスすなわち、Chr−CNT221の初期値N0
は、1000番地に選定されている。
FIG. 14 shows the structure of the memory area in the character buffer memory 21 when n=80 columns and m=25 lines shown in FIG. 13 are displayed. X'N' is 16
An address in bytes expressed in decimal, the first row address in one row, that is, the initial value N0 of Chr-CNT221
has been selected as address 1000.

各文字コード及びへtriコードは16ビツト (=2
バイト=1ワード)で構成される。したがって、141
j!で1文字を形成する英数字の文字情報コードは、各
1個の文字コード及びAtriコードを含む4バイト(
=2ワード)で形成される。また、2欄で1文字を形成
する漢字文字の文字情報コードは、各2個の文字コード
及びAtriコードを含む8バイト(−4ワード)で形
成される。なお、以下単に文字というときは1欄で表示
される文字(英数字等)を指すものとする。
Each character code and hetri code are 16 bits (=2
Byte = 1 word). Therefore, 141
j! The alphanumeric character information code that forms one character is 4 bytes (each including one character code and Atri code).
= 2 words). Further, the character information code of the Kanji characters forming one character in two columns is formed by 8 bytes (-4 words) each including two character codes and an Atri code. Note that the term "characters" below refers to the characters (alphanumeric characters, etc.) displayed in one column.

次に、第12図の動作を、第13図に示すようにn=8
0欄、m=25行の表示が行われる場合を例にとり、第
15図〜第17図の各タイミングチャートを参照して説
明する。文字バッファメモ1J21には、第14図に示
すように、アドレスX“1000°〜X”1F3F’の
領域に1行目から順番に25行目までの各欄の文字コー
ド及びAtriコードが格納される。
Next, the operation in FIG. 12 is changed to n=8 as shown in FIG.
Taking as an example a case in which the 0 column and m=25 rows are displayed, a description will be given with reference to the timing charts of FIGS. 15 to 17. In the character buffer memo 1J21, as shown in FIG. 14, the character code and Atri code of each column from the 1st line to the 25th line are stored in the area from address X "1000° to X"1F3F'. Ru.

いま、水平走査は、1行につき28回行われ、インクレ
ースにより、偶数フィールドと奇数フィールドが交互に
表示され、垂直ブランキング帰間は2行分(28H)で
あるとする。
Assume that horizontal scanning is performed 28 times per line, that even and odd fields are alternately displayed by increments, and that the vertical blanking interval is two lines (28H).

したがって、水平走査期間をIHとすると、各行の期間
は、第15図(a)に示すように14Hで、各行毎に1
4回の水平走査が行われ、垂直ブランキング期間を含む
全体の行数は27行となる。
Therefore, if the horizontal scanning period is IH, the period of each row is 14H as shown in FIG.
Four horizontal scans are performed, and the total number of lines including the vertical blanking period is 27 lines.

偶数フィールド及び奇数フィールドは、それぞれ27行
であるが、インタレースが行われるため、偶数フィール
ドの26行目の期間は15Hに選定される(第15図(
a) 、 (b)参照、なお、X’ N’は16進表示
を示す、以下同様である)。
The even and odd fields each have 27 lines, but since interlacing is performed, the period of the 26th line of the even field is selected to be 15H (see Figure 15).
(See a) and (b), where X' and N' indicate hexadecimal notation; the same applies hereinafter).

V 5ync信号は、奇数フィールドでは26行目の最
初で発生し、偶数フィールドでは、インタレースを行う
ため、26行目の最初から0.5 H遅れて発生する(
第15図(a) 、 (c) 、 (d)参照)。
The V 5sync signal occurs at the beginning of the 26th row in odd fields, and in even fields, it occurs 0.5 H after the beginning of the 26th row due to interlacing (
(See Figures 15(a), (c), (d)).

垂直ブランキングの期間は、26行目と27行目の期間
であり、1行目〜25行目が表示期間である(第15図
(a) 、 (bl 、 (e)参照)。。
The vertical blanking period is the period between the 26th and 27th lines, and the 1st to 25th lines are the display period (see FIGS. 15(a), 15(e)).

VEND信号は、垂直ブランキング信号■・Brank
ingの終了時、すなわち26行目の終りの時点で発生
される(第15図(a) 、 (f)参照)。
The VEND signal is a vertical blanking signal.
It is generated at the end of ing, that is, at the end of the 26th line (see FIGS. 15(a) and 15(f)).

また、−水平走査線当りの個数は100a、すなわち1
00文字分であり、その中の80文字が表示され、残り
の20文字分の期間が水平ブランキング期間(H−Br
ank信号のオン期間)であるとする。したがって、H
−Brank信号と表示タイミング進行(DspTn+
信号)間には、H−Branking =※DspT1
1(舛は反転符号)の関係がある。
Also, - the number per horizontal scanning line is 100a, that is, 1
00 characters, 80 of which are displayed, and the remaining 20 characters are used as the horizontal blanking period (H-Br
(on period of the ank signal). Therefore, H
-Blank signal and display timing progress (DspTn+
H-Branking = *DspT1
There is a relationship of 1 (the square is an inverted sign).

H5ync信号は、82欄目の終りで立上り、90欄目
の終りで立下る(第16図(b) 、 (p)参照)。
The H5ync signal rises at the end of the 82nd column and falls at the end of the 90th column (see FIGS. 16(b) and 16(p)).

以上のような各タイミング関係でもって、H・Vタイミ
ング発生手段24からは、Hsync 、 Vsync
、 H−Brank、 V ・BrankXVEND、
等の各タイミング信号が発生される。
With each timing relationship as described above, the H/V timing generation means 24 outputs Hsync, Vsync,
, H-Brank, V・BrankXVEND,
Each timing signal, etc., is generated.

このような表示及び走査方式において、奇数フィールド
の走査が終了してVEND信号が発生すると、Chr−
CNT221のアドレスは初期値N。
In such a display and scanning system, when the scanning of an odd field is completed and the VEND signal is generated, Chr-
The address of CNT221 is the initial value N.

(=X“1000”)セットされる(第15図(f)、
(h)及び第17図(c) 、 (e)参照)。
(=X “1000”) is set (Fig. 15(f),
(h) and FIGS. 17(c) and (e)).

第17図は、1行目における最初の一本目の水平走査開
始部分のタイミングチャートを示したものである。同図
(a)の各サイクルにおいて、MはCPU261から文
字バッファメモリ21に対するアクセス可能な期間を示
すサイクルである。Txi(Txia 、 Txib 
)は文字バッファメモリ21よリラインバソファ231
にi5目の文字情報コードの転送が行われるサイクルで
、Txiaはi個目の文字コード、Txibはi個目の
Atriコードが転送されるサイクルである。また、P
MLODはパラメータロードサイクルで、偶数及び奇数
フィールドの開始時点すなわちVEND信号の発生時点
において、Chr−CNT221にアドレス(初期値N
O)のセットが行われる。
FIG. 17 shows a timing chart at the start of the first horizontal scan in the first row. In each cycle shown in FIG. 4A, M is a cycle indicating a period during which the character buffer memory 21 can be accessed from the CPU 261. Txi (Txia, Txib
) is from the character buffer memory 21 to the relaxer sofa 231
This is the cycle in which the i5th character information code is transferred, Txia is the cycle in which the i-th character code is transferred, and Txib is the cycle in which the i-th Atri code is transferred. Also, P
MLOD is a parameter load cycle in which an address (initial value N
O) is set.

文字バッファ調停部223は、HVタイミング発生回路
24より転送指令(VEND信号)を受けると、書込み
アドレスカウンタ(W−AdCNT)224をイネーブ
ルにする。
When the character buffer arbitration unit 223 receives a transfer command (VEND signal) from the HV timing generation circuit 24, it enables the write address counter (W-AdCNT) 224.

W−AdCNT224は、第17図(f)及び(g)に
示す文字コード書込みクロ7りLBCK6及びAtri
コード書込みクロックLBCK、を交互に発生して文字
バッファ調停部223及びMPX225を介してライン
バッファ231に供給する。
W-AdCNT224 has character code writing black 7 LBCK6 and Atri shown in FIG. 17(f) and (g).
A code write clock LBCK is alternately generated and supplied to the line buffer 231 via the character buffer arbitration unit 223 and MPX 225.

文字バッファ調停部223は、この各書込みクロックL
BCKo  、LBCK、及びH・■タイミング発生手
段24からのHsync 、 Vsyncの各タイミン
グ信号に従ってMPX222を制御し、Chr・CNT
221からの文字アドレス及びH・■タイミング発生手
段24からのリフレッシュアドレスを選択して、文字バ
ッファメモリ21をアドレスする。これにより、文字バ
ッファメモリ21からは1行目の1〜80@の各文字情
報コードがHsync 、 Vsyncの各信号に同期
してDMA転送で、ラインバッファ231に転送される
The character buffer arbitration unit 223 uses each write clock L
The MPX 222 is controlled according to the timing signals BCKo, LBCK, and Hsync and Vsync from the H・■ timing generation means 24, and the Chr・CNT
The character address from 221 and the refresh address from the H/■ timing generating means 24 are selected to address the character buffer memory 21. As a result, the character information codes 1 to 80@ on the first line are transferred from the character buffer memory 21 to the line buffer 231 by DMA transfer in synchronization with the Hsync and Vsync signals.

これにより、第17図(a) 、 (d)〜(g)に示
すように、Chr−CNT221のカウント値がN、、
N0+2tNo+4t・・・・・・、N (1+ 2 
pのときは、O@目、1@目、2欄目、・・・・・・、
P種目の文字コードがラインバッファ231に書き込ま
れ、N0+1、No +3 t No ” 5 、・・
・・・・s N o +2 p ” 1のときは、0f
j1目、1@目、・・・・・・・・・P種目のAtri
コードがラインバッファ231に書き込まれる。
As a result, as shown in FIGS. 17(a), (d) to (g), the count value of Chr-CNT221 is N,
N0+2tNo+4t...,N (1+2
When p, O@th, 1st@th, 2nd column, etc.
The character code of the P item is written to the line buffer 231, N0+1, No +3 t No ” 5,...
...s N o +2 p ” When 1, 0f
j1st, 1@th, ......P event Atri
The code is written to line buffer 231.

ラインバッファ231には、文字コードとAtri・コ
ードとが別々にスタック形式で交互に書き込まれ、読出
し時は、同一欄の文字コードとAtriコードがそれぞ
れ連続して同時に読み出されるようになっている。
In the line buffer 231, character codes and Atri codes are written separately and alternately in a stack format, and when reading, character codes and Atri codes in the same column are read simultaneously and consecutively.

ラインバッファ231からの読出しは、MPX225を
介してH−Vタイミング発生手段24から供給されるH
sync信号及びVsync信号に同期して1欄目から
順次読み出されて第1 REG232にセットされる。
Reading from the line buffer 231 is performed using the H
The signals are sequentially read out from the first column in synchronization with the sync signal and the Vsync signal and set in the first REG 232.

次に、80欄目を例にとり、第16図を参照して、文字
パターン信号発生手段23の動作について説明する。
Next, taking column 80 as an example, the operation of the character pattern signal generating means 23 will be explained with reference to FIG.

P/S変換部237より76欄目の文字ビデオ信号終了
時点すなわちH−Brank 1信号の立上り時点に同
期して、第1REG232がら8([1目の文字情報コ
ード中の文字コードが第2REG233にセットされ、
その文字コードに関するAtriコードは第3REG2
34にセットされ、複数棚に関するフィールドアトリビ
ューコード(F−Atriコード)は、アトリビュート
処理部236に送られる(第16図O)、伽) 、 (
p)参照)。
Synchronizing with the end of the character video signal in the 76th column, that is, the rising edge of the H-Brank 1 signal, the P/S converter 237 converts the first REG 232 to 8 ([The character code in the first character information code is set to the second REG 233. is,
The Atri code for that character code is 3rd REG2
34, and the field attribute code (F-Atri code) regarding multiple shelves is sent to the attribute processing unit 236 (O in FIG. 16).
p)).

77欄目の文字ビデオ信号終了時点すなわちH・B r
ank 2信号の立上り時点に同期して、第2REG2
33から80欄目の文字コードが文字パターン発生部2
35に送られ、80欄目の文字パターンデータが発生さ
れる(第16図(k) 、 +11 、 (ρ)参照)
At the end of the character video signal in column 77, that is, H・Br
In synchronization with the rising edge of the ank 2 signal, the second REG2
The character code in columns 33 to 80 is character pattern generation part 2
35, and the character pattern data for the 80th column is generated (see Figure 16 (k), +11, (ρ)).
.

78欄目の文字ビデオ信号終了時点すなわち、H−Br
ank3信号の立上り時点に同期して、文字パターン発
生部235及び第3REG234より文字パターンデー
タ及びAtriコードがアトリビュート処理部236に
送られる。アトリビュート処理部236は、第1REG
233及び第3REG234から送られたアトリビュー
トコード並びにH・■タイミング発生手段24からのH
5ync信号及びV 5ync信号に基づいて文字パタ
ーンデータに所定のアトリビュート処理を行い、H5y
nc信号及びV 5ync信号に同期して出力する(第
16図(m)。
At the end of the character video signal in the 78th column, that is, H-Br
In synchronization with the rise of the ank3 signal, character pattern data and the Atri code are sent from the character pattern generation unit 235 and the third REG 234 to the attribute processing unit 236. The attribute processing unit 236
Attribute code sent from 233 and 3rd REG 234 and H from timing generation means 24
Performs predetermined attribute processing on the character pattern data based on the H5ync signal and the V5ync signal, and
It is output in synchronization with the nc signal and the V5sync signal (Fig. 16(m)).

(P)参照)。(See (P)).

79欄目の文字ビデオ信号終了時点すなわちH・B r
ank 4信号の立上り時点に同期してDspTm信号
がオフになるとともに、H・■タイミング発生手段24
よりP/Sロード信号がP/S変換部237に加えられ
る。P/S変換部237は、アトリビュート処理部23
6から転送された並列の文字パターン信号を直列の文字
ビデオ信号に変換して出力する。
The end point of the character video signal in the 79th column, that is, H・Br
The DspTm signal is turned off in synchronization with the rising edge of the ank4 signal, and the H/■ timing generation means 24
A P/S load signal is then applied to the P/S converter 237. The P/S conversion unit 237 is the attribute processing unit 23
The parallel character pattern signals transferred from 6 are converted into serial character video signals and output.

80a目の文字ビデオ信号は表示手段25に送うレ、デ
ィスプレイ251に表示される。80欄目の文字ビデオ
信号終了時点すなわちH−Brank5信号の立上り時
点に同期して非表示期間が開始され、続く20欄は非表
示となり、−水平走査線′による表示処理が終了する。
The 80a-th character video signal is sent to the display means 25 and displayed on the display 251. A non-display period starts in synchronization with the end of the character video signal in the 80th column, that is, the rise of the H-Brank5 signal, the following 20 columns become non-display, and the display process using the -horizontal scanning line' ends.

なお、16図に示されている1欄目部分の表示処理動作
は、これまでの80a目の表示処理動作説明から明らか
であるので、その詳細な説明は省略する。
Note that the display processing operation in the first column shown in FIG. 16 is clear from the previous explanation of the display processing operation for item 80a, so a detailed explanation thereof will be omitted.

以下、同様にして、1行目毎に14本の水平走査表示で
1〜80欄の文字表示を行うことにより、第13図に示
すように、80欄×25行の2000文字分の表示が行
われる(第15図(al〜(h)のタイミングチャート
参照)。
Thereafter, by displaying characters in columns 1 to 80 in the same manner using 14 horizontal scanning lines for each first line, as shown in Figure 13, 2000 characters of 80 columns x 25 lines can be displayed. (See the timing chart in FIG. 15 (al to (h)).

以上の表示方式において水平スクロールを行う場合は、
水平スクロールされる画面に合せて文字バッファメモリ
21の全内容が書き換えられる。
When performing horizontal scrolling in the above display method,
The entire contents of the character buffer memory 21 are rewritten in accordance with the horizontally scrolled screen.

これは、文字バッファメモリ21から読み出される1行
分の文字情報コードがディスプレイ251に表示される
80欄分の文字情報コードであり、かつ、各文字情報コ
ードのアドレスが固定されているためである。
This is because the character information code for one line read from the character buffer memory 21 is the character information code for 80 columns displayed on the display 251, and the address of each character information code is fixed. .

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のキャラクタディスプレイ装置においては、水平ス
クロールを行う場合、文字バッファメモリの全内容を書
き換える必要がある。このため処理が複雑となり、また
画面よりはみ出した文字部分のデータを他のメモリに退
避させねばならなかった。
In conventional character display devices, when performing horizontal scrolling, it is necessary to rewrite the entire contents of the character buffer memory. This complicates processing, and it is necessary to save data of character portions that extend beyond the screen to another memory.

また、文字バッファメモリから読み出される文字情報コ
ード数がディスプレイに表示可能な1行・分の文字数と
等しいため、属性情報を持った不定様式の画面を水平ス
クロールすることができなかった。例えば、第13図に
おいて2@目〜5欄目の文字(A−D)がリバース表示
されている場合、1横目の文字情報コードに以降の文字
のリバース表示を指示するフィールドアトリビュート(
F−Atri)コードがセットされ、6欄目の文字情報
コードにリバース表示の終止を指示するF・^triコ
ードがセットされるが、左に1文字スクロールすると1
4tJ目のF・^triコードがな(なるので、2文字
以降のリバース表示が行われないことになる。
Further, since the number of character information codes read from the character buffer memory is equal to the number of characters for one line that can be displayed on the display, it has been impossible to horizontally scroll an irregularly formatted screen containing attribute information. For example, in Figure 13, if the characters (A-D) in the 2nd to 5th columns are displayed in reverse, the field attribute (A-D) that instructs the character information code in the first row to display the subsequent characters in reverse is
The F-Atri) code is set, and the F-^tri code that instructs the end of reverse display is set in the character information code in the 6th column, but if you scroll one character to the left, 1
Since the 4tJ-th F.^tri code is ``NA'', reverse display of the second and subsequent characters will not be performed.

更に、漢字文字の場合は英数字文字の2倍の2欄を使用
して表示されるので、文字バッファメモリでは2欄分の
領域を専有し、文字情報コードの前半と後半がそれぞれ
一つの欄に格納される。このため、漢字文字が画面の両
端にある場合に水平スクロールを行うと、いわゆる泣き
分れが発生し、表示画面で漢字文字を表示することがで
きなくなる。例えば、第13図において、漢字文字「字
」が2行目の左端(79及び80欄目)にあるとき、1
文字(1欄)左に水平スクロールすると、第3行目に示
すように、漢字文字「字」の左半分に当る80a目の文
字情報コードがなくなるため漢字文字「字」の文字コー
ドを生成することが不可能となり、3行目の左端にも4
行目の右端にも漢字文字「字」を表示することができな
くなる。
Furthermore, since kanji characters are displayed using two columns, twice as many as alphanumeric characters, they occupy two columns of space in the character buffer memory, and the first half and second half of the character information code are displayed in one column each. is stored in For this reason, if horizontal scrolling is performed when Kanji characters are located at both ends of the screen, so-called separation occurs, making it impossible to display the Kanji characters on the display screen. For example, in Figure 13, when the kanji character ``character'' is at the left end of the second line (columns 79 and 80), 1
Characters (column 1) When you scroll horizontally to the left, as shown in the third line, the 80a-th character information code corresponding to the left half of the kanji character ``character'' disappears, so a character code for the kanji character ``character'' is generated. It becomes impossible, and 4 is also added to the left end of the third row.
It is no longer possible to display the kanji character "character" at the right end of the line.

本発明は、水平スクロールを行う場合に文字バッファメ
モリの内容の書換えを不要にして水平スクロール処理を
容易にし、属性情報を持った不定様式の画面の水平スク
ロールを可能にするとともに、漢字文字が両端にある場
合にも水平スクロール時に泣き分れの生じない表示制御
方式を提供することを目的とする。
The present invention facilitates horizontal scrolling by eliminating the need to rewrite the contents of a character buffer memory when performing horizontal scrolling, enables horizontal scrolling of an unformatted screen that has attribute information, and enables kanji characters to be displayed at both ends. It is an object of the present invention to provide a display control method that does not cause separation during horizontal scrolling even in the case of horizontal scrolling.

〔問題点を解決するための手段〕[Means for solving problems]

本発明が講じた解決手段を、第1図を参照して説明する
。第1図は、本発明の基本構成をブロック図で示したも
のである。
The solution taken by the present invention will be explained with reference to FIG. FIG. 1 is a block diagram showing the basic configuration of the present invention.

第1図において、11は文字バッファメモリで、表示手
段15の各行に表示可能な種数(n欄)よりもα(αは
1以上の整数)欄多いn+α欄を1行分として、各欄の
文字に対する文字コードを含む文字情報コードが格納さ
れる。αの値は、左右にスクロールされる文字数やそれ
に伴う属性情報数等に基づいて適宜選定される。
In FIG. 1, reference numeral 11 is a character buffer memory, in which each column has an n+α column which has more α (α is an integer of 1 or more) columns than the genus (n column) that can be displayed in each line of the display means 15, and each column is The character information code including the character code for the character is stored. The value of α is appropriately selected based on the number of characters to be scrolled left and right, the number of attribute information associated therewith, and the like.

12は書込み・読出し制御手段(R/W制御手段)で、
文字バッファメモリ11に対する文字情報コードの書込
み及び読出しを制御し、読出し時はn+α欄の1行分単
位で続出しを行う。
12 is a write/read control means (R/W control means);
It controls the writing and reading of character information codes to and from the character buffer memory 11, and when reading, successive reading is performed in units of one line in the n+α column.

13は文字パターン信号発生手段で、文字バ。13 is a character pattern signal generating means, which is a character pattern signal generating means;

ファメモリ11よりn+α欄個の1行分単位で読み出さ
れた各文字情報コードに基づいて表示手段15に表示す
る文字パターン信号を発生する。
A character pattern signal to be displayed on the display means 15 is generated based on each character information code read from the file memory 11 in units of one line of n+α columns.

14は、水平・垂直タイミング発生手段(H・■タイミ
ング発生手段)で、R/W制御手段12、文字パターン
信号発生手段13及び表示手段15の各動作を制御する
タイミング信号を発生する。
Reference numeral 14 denotes a horizontal/vertical timing generation means (H/■ timing generation means), which generates timing signals for controlling each operation of the R/W control means 12, the character pattern signal generation means 13, and the display means 15.

〔作 用〕[For production]

本発明の作用を、第2図に示すように、表示手段15に
表示される画面がn欄×m行で、α=2とし、1行の左
右にそれぞれ1@ずつ付加した場合を例にとって説明す
る。この場合、表示手段15に表示可能な1行の種数は
nであるのでn+2が1行分の種数となる。
The effect of the present invention will be explained by taking as an example the case where the screen displayed on the display means 15 has n columns x m lines, α=2, and 1 @ is added to each of the left and right sides of one line, as shown in FIG. 2. explain. In this case, the genus of one line that can be displayed on the display means 15 is n, so n+2 is the genus of one line.

文字バッファメモリ11には、n+2@を1行分としく
n+2)Xm41jlの文字に対する文字情報コードが
格納される。
The character buffer memory 11 stores the character information code for the character n+2)Xm41jl, where n+2@ is one line.

R/W制御手段12は、H・■タイミング発生手段14
からのタイミング信号を受けてn+2欄の1行分単位で
読出しを行い、文字パターン信号発生手段13に転送す
る。
The R/W control means 12 includes an H/■ timing generation means 14.
In response to a timing signal from the character pattern signal generating means 13, reading is performed in units of one line in column n+2 and transferred to the character pattern signal generating means 13.

文字パターン信号発生手段13は、転送された1行分の
n+α欄の文字情報コード及びH・■タイミング発生手
段14からのタイミング信号に基づいてディスプレイに
表示する文字パターン信号を発生し、表示手段15に送
る。これにより、表示手段15には、第2図に示すよう
に、n欄×m行の文字表示が行われる。左右の各1欄す
なわちOa及びn+l欄目種目文字は、水平ブランキン
グによって表示されない。
The character pattern signal generation means 13 generates a character pattern signal to be displayed on the display based on the transferred character information code in the n+α column for one line and the timing signal from the H/■ timing generation means 14. send to As a result, characters of n columns x m lines are displayed on the display means 15, as shown in FIG. The item characters in each of the left and right columns, Oa and n+l columns, are not displayed due to horizontal blanking.

次に、本発明の水平スクロール動作について説明する。Next, the horizontal scrolling operation of the present invention will be explained.

いま、1行目の2〜5欄に英字文字A。Now, the alphabetic character A is in the 2nd to 5th columns of the 1st line.

B、C,Dがリバース表示され、n−3〜n欄にアルフ
ァベットのPQR3が表示され、2行目のn−3〜n欄
に漢字文字「漢字」が表示されているとする。
It is assumed that B, C, and D are displayed in reverse, the alphabet PQR3 is displayed in columns n-3 to n, and the kanji character "Kanji" is displayed in columns n-3 to n on the second line.

右に1文字(1欄)分水平スクロールする場合は、各行
のO欄より1つの前の欄を各行の開始アドレスとして指
定することにより、文字バッファメモリ11の文字情報
コード部分の内容を書き換えることなく、1文字分の右
水平スクロールが行われる。
When horizontally scrolling by one character (one column) to the right, the contents of the character information code part of the character buffer memory 11 can be rewritten by specifying the column before the O column of each line as the start address of each line. Instead, horizontal scrolling to the right by one character is performed.

これにより、それまでのO欄〜(n−1)aがディスプ
レイに表示される。3行目及び4行目は、1行目及び2
行目を右に1文字分水平スクロールした場合の表示状態
を示したものである。2行目の漢字文字「字」を1文字
(1欄)分布にスクロールしても、漢字文字「字」のス
クロール前のn個目の文字情報コードはスクロール後の
n+1i目に存在するので、正常に表示され泣き分れは
生じない。ただし、水平ブランキングにより漢字文字「
字」の後半分は実際には表示されず、前半分のみが図示
のように表示される。
As a result, the previous columns O to (n-1)a are displayed on the display. The 3rd and 4th lines are the 1st and 2nd lines.
This shows the display state when the row is horizontally scrolled by one character to the right. Even if the kanji character "character" on the second line is scrolled to a one character (one column) distribution, the nth character information code of the kanji character "character" before scrolling exists at the n+1ith character information code after scrolling, so It is displayed normally and no discrepancies occur. However, due to horizontal blanking, the kanji character "
The second half of the "character" is not actually displayed, and only the first half is displayed as shown.

次に、1行目を左に1文字(1欄)分水平スクロールす
る場合は、各行のト種目を各行の開始アドレスとして指
定することにより、文字バッファメモリ11の文字情報
コード部分の内容を書き換えることなく、1文字分の左
水平スクロールが行われる。
Next, when horizontally scrolling the first line by one character (one column) to the left, the contents of the character information code part of the character buffer memory 11 are rewritten by specifying the item (g) of each line as the start address of each line. One character's worth of left horizontal scrolling is performed without any change.

これにより、それまでの1欄〜n+141jlがディス
プレイに表示される。5行目は、1行目を左に1文字分
水平スクロールした場合の表示状態を示したものである
。英字文字A−Dに対する属性情報は水平ブランキング
により表示されないO櫛目に存在するので、リバースの
属性情報は失われず、ABCDは、スクロール後も正し
くリバース表示される。
As a result, the previous columns 1 to n+141jl are displayed on the display. The fifth line shows the display state when the first line is horizontally scrolled by one character to the left. Since the attribute information for the alphabetic characters A-D exists in the Oth comb which is not displayed due to horizontal blanking, the reverse attribute information is not lost and ABCD is correctly displayed in reverse even after scrolling.

αの数を増すことにより、左右にスクロールする文字数
を増加することができる。α=1の場合は、右(又は左
)に1文字(1欄)分のスクロールを行うことができる
By increasing the number of α, the number of characters to be scrolled left and right can be increased. When α=1, it is possible to scroll one character (one column) to the right (or left).

以上のようにして、文字バッファメモリ11の内容の書
換えを行うことなく水平スクロール表示を行うことがで
きるので水平スクロール処理を簡単化される。また、属
性情報を持った不定様式の画面の水平スクロールが可能
になるとともに、漢字文字が両端にある場合にも水平ス
クロール時に泣き分れを生じさせないようにすることが
できる。
As described above, horizontal scrolling display can be performed without rewriting the contents of the character buffer memory 11, thereby simplifying the horizontal scrolling process. In addition, it is possible to horizontally scroll an irregularly formatted screen that has attribute information, and even when there are Kanji characters at both ends, it is possible to prevent separation from occurring during horizontal scrolling.

〔実施例〕〔Example〕

本発明の実施例を、第2図〜第11図を参照して説明す
る。第3図は本発明の一実施例の構成の説明図、第4図
は文字パンツアメモリの説明図、第5図〜第7図は動作
タイミングチャート、第8図は属性情報付き文字の水平
スクロール表示動作の説明図、第9図は第8図の場合の
文字バッファメモリの説明図、第10図は漢字文字の水
平スクロール表示動作の説明図、第11図は第10図の
場合の文字バッファメモリの説明図である。
Embodiments of the present invention will be described with reference to FIGS. 2 to 11. Fig. 3 is an explanatory diagram of the configuration of an embodiment of the present invention, Fig. 4 is an explanatory diagram of character panzer memory, Figs. 5 to 7 are operation timing charts, and Fig. 8 is a horizontal representation of characters with attribute information. An explanatory diagram of the scroll display operation, Figure 9 is an explanatory diagram of the character buffer memory in the case of Figure 8, Figure 10 is an explanatory diagram of the horizontal scroll display operation of Kanji characters, and Figure 11 is a diagram of the characters in the case of Figure 10. FIG. 3 is an explanatory diagram of a buffer memory.

(A)実施例の構成 第3図において、文字バッフ′アメモリ11、R/ W
 III m手段12、文字パターン信号発生手段13
については、H・■タイミング発生手段及び表示手段1
5については、第1図で説明したとおりである。
(A) Structure of Embodiment In FIG. 3, character buffer memory 11, R/W
III m means 12, character pattern signal generation means 13
Regarding H・■ timing generation means and display means 1
5 is as explained in FIG.

H・■タイミング発生手段14は、H5ync信号、V
 5ync信号、H−Brank信号、DspTn+信
号、R/Sロード信号、パラメータロード信号(PMロ
ード信号)等、各種のタイミング信号を発生する。
The H/■ timing generation means 14 receives the H5sync signal, V
It generates various timing signals such as a 5sync signal, an H-Brank signal, a DspTn+ signal, an R/S load signal, and a parameter load signal (PM load signal).

PMロード信号は、後述する文字ウンタ(chr・CN
T)にアドレス値をロードする信号であり、P/Sロー
ド信号は後述するP/S変換部に並列/直列変換を指示
する信号である。
The PM load signal is sent to a character counter (chr/CN), which will be described later.
This is a signal for loading an address value into T), and the P/S load signal is a signal for instructing a P/S converter, which will be described later, to perform parallel/serial conversion.

表示手段15は、内部にディスプレイ151を備え、文
字パターン信号発生手段13からの文字パターン信号及
びH・■タイミング発生手段14からの)l 5ync
信号、V 5ync信号、H−Brank信号、V ・
Brank信号、DspTw+信号等を受けて、ディス
プレイにn欄×m行の文字表示を行う。
The display means 15 includes a display 151 therein, and displays the character pattern signal from the character pattern signal generation means 13 and )l 5ync from the H/■ timing generation means 14.
signal, V 5sync signal, H-Brank signal, V・
In response to the Blank signal, DspTw+ signal, etc., characters of n columns x m lines are displayed on the display.

l6はホストで、CPUI 61各種制御プログラムや
初期化プログラム等が格納されているROM162、処
理中の命令及びデータ等が格納されるRAM163を備
え、文字情報コードや各種のデータ、アドレス、制御信
号の転送、授受を行って、システムの動作を制御する。
16 is a host, which is equipped with a ROM 162 in which CPU 61 various control programs and initialization programs are stored, a RAM 163 in which instructions and data being processed are stored, and character information codes, various data, addresses, and control signals. Transfer, give and receive, and control the operation of the system.

17はトランシーバ(TRv)で、ホスト16と文字バ
ッファメモ911間のデータ転送を制御する。   − R/W制御手段12において、121は文字カウンタ(
chr−CNT)で、PMロード信号に制御されて、文
字バッファメモリ11から転送される各行の開始アドレ
スがセットされ、以下文字クロックCCLKを受けて2
CCLK毎にカウントアンプする。
A transceiver (TRv) 17 controls data transfer between the host 16 and the character buffer memo 911. - In the R/W control means 12, 121 is a character counter (
chr-CNT), the start address of each line to be transferred from the character buffer memory 11 is set under the control of the PM load signal, and thereafter in response to the character clock CCLK, the start address of each line is set.
Count amplify every CCLK.

122はマルチプレクサ(MPX)で、Chr・CNT
121、H・■タイミング発生手段14からの各タイミ
ング信号及びCPUI 61からのアドレスを選択し、
文字バッファメモリ11をアクセスするアドレスを出力
する。
122 is a multiplexer (MPX), Chr・CNT
121, select each timing signal from the H/■ timing generation means 14 and the address from the CPUI 61,
Outputs the address for accessing the character buffer memory 11.

123は文字バッフプ調停部、124は書込みアドレス
カウンタ(W−AdCNT) 、125はマルチブレフ
タ(MPX)て、これらにより、文字バッファメモリ1
1より1行分単位で、かつ、H・■タイミング発生手段
14からのH5ync信号及びV 5ync信号に同期
して各文字情報コードを読み出し、文字パターン信号発
生手段13のラインバッファに書込みを行い、更に表示
時は、ラインバッファよりH5ync信号及びV 5y
nc信号に同期して各文字情報コードの読出しを行う 
(なお、具体的な動作については、次の動作説明におい
て説明する)。
123 is a character buffer arbitration unit, 124 is a write address counter (W-AdCNT), and 125 is a multi-brefter (MPX).
1, each character information code is read out in one line unit and in synchronization with the H5ync signal and V5ync signal from the H/■ timing generation means 14, and written into the line buffer of the character pattern signal generation means 13, Furthermore, during display, the H5ync signal and V5y are sent from the line buffer.
Read each character information code in synchronization with the nc signal.
(The specific operation will be explained in the following operation explanation).

文字パターン信号発生手段13において、131はライ
ンバッファで、文字バッファメモリ11より読み出され
た1行分(n+α欄)の文字情報コードが一時格納され
る。
In the character pattern signal generating means 13, a line buffer 131 temporarily stores the character information code for one line (n+α column) read from the character buffer memory 11.

132は第2レジスタ(第1REG)で、ラインバッフ
ァ131から読み出された1行分の文字情報コードがセ
ットされる。
Reference numeral 132 is a second register (first REG) in which character information code for one line read from the line buffer 131 is set.

133は第2レジスタ(第2REG)で、第1REG1
32にセットされた文字情報コード中の文字コードがセ
ットされる。
133 is the second register (second REG), and the first REG1
The character code in the character information code set to 32 is set.

134は第2レジスタ(第3REG)で、第1REG1
32にセントされた文字情報コード中のAtriコード
がセットされる。
134 is the second register (third REG), and the first REG1
The Atri code in the character information code marked 32 is set.

135は文字パターン発生部で、文字コードに対応する
文字パターンデータを発生する。
135 is a character pattern generation unit that generates character pattern data corresponding to a character code.

136はアトリビュート処理部で、第1REG132及
び第3REG134からの各^triコードに基づいて
文字パターン発生部135から入力された文字パターン
データに対して所定のアトリビュート処理を施した文字
トンドパターンデータを発生する。アトリビュート処理
部136に対し、第1REG132からは、複数の連続
した表示文字に共通する属性情報(フィールド・アトリ
ビュートコード; F−Atrxコード)が送られ、第
3REG134からは、対応する文字コードに対するA
triコードが送られる。
Reference numeral 136 denotes an attribute processing unit, which generates character tone pattern data by performing predetermined attribute processing on the character pattern data input from the character pattern generation unit 135 based on each ^tri code from the first REG 132 and the third REG 134. . The first REG 132 sends attribute information (field/attribute code;
A tri code will be sent to you.

137は並列/直列変換部(P/S変換部)で、並列の
文字パターンデータを直列の文字ビデオ信号に変換し、
文字パターン信号として出力する。
137 is a parallel/serial converter (P/S converter) that converts parallel character pattern data into a serial character video signal;
Output as a character pattern signal.

第4図は、第2図においてn=80欄、m=25行とし
た場合の、文字バッファメモリ11呈のメモリ領域の構
成を示したものである。前述のようにα=2であり、n
+α=82欄が1行分の個数である。
FIG. 4 shows the structure of the memory area of the character buffer memory 11 when n=80 columns and m=25 lines in FIG. 2. As mentioned above, α=2 and n
The +α=82 column is the number for one line.

文字バッファメモリ11内には、文字情報コード格納部
111とポインタテーブル112が設けられている。
In the character buffer memory 11, a character information code storage section 111 and a pointer table 112 are provided.

ポインタテーブル112には、アドレスX’1ooo’
〜X“1030°番地に1〜25行目の開始アドレスが
格納される。
The pointer table 112 contains the address X'1ooo'.
~X" The start addresses of the 1st to 25th lines are stored at address 1030°.

文字情報コード格納部112には、X’4000′番地
以後に1〜25行目のO種目〜81欄目の文字情報コー
ドが格納される。文字情報コードは、従来方式と同様に
、−欄当り各2バイトの文字コード及びAtriコード
で形成される。
In the character information code storage section 112, character information codes for items O to 81 in lines 1 to 25 are stored after address X'4000'. The character information code is formed of a 2-byte character code and an Atri code for each column, as in the conventional method.

CPU161はバイト単位でアドレスを発生するが、文
字バッファメモリ11の文字コード及びAtriコード
を2バイト単位でアクセスするため、ポインタテーブル
111の指示する行開始アドレスの内容の2倍が、その
行のO種目の文字情報コードの実際の開始アドレスとな
る。また、従来と同様に、英数字文字は1欄で一文字が
形成され、漢字文字は2欄で1文字が形成される。
The CPU 161 generates addresses in bytes, but since it accesses the character code and Atri code in the character buffer memory 11 in 2-byte units, twice the content of the row start address indicated by the pointer table 111 is the O of that row. This is the actual start address of the character information code for the event. Further, as in the past, one column of alphanumeric characters forms one character, and two columns of Kanji characters form one character.

(B)実施例の動作 第3図の実施例の動作を、第2図において、n=804
Ijl、α=21.m=25行、n+α’−=82欄と
し、(1欄目〜80欄目)×25行の表示が行われる場
合を例にとり、第4図〜第7図を参照して説明する。文
字バッファメモリ11のポインタテーブル111及び文
字情報格納部112には、第4図に示すように、各行の
開始アドレス及び各行のO〜81欄目の文字コード及び
Atriコードが格納される。
(B) Operation of the embodiment The operation of the embodiment of FIG. 3 is as follows: n=804 in FIG.
Ijl, α=21. Taking as an example a case where m=25 lines, n+α'-=82 columns, and a display of (1st column to 80th column)×25 lines is performed, a description will be given with reference to FIGS. 4 to 7. As shown in FIG. 4, the pointer table 111 and character information storage section 112 of the character buffer memory 11 store the start address of each line and the character codes and Atri codes of columns 0 to 81 of each line.

水平走査は一行につき28回行われ、インタレースによ
り、偶数フィールドと奇数フィールドが交互に表示され
、垂直ブランキング帰間は2行分(28H)であるとす
る。したがって、水平走査期間をIHとすると、各行の
期間は、第5図に示すように14Hで、各行毎に14回
の水平走査が行われ、垂直ブランキング期間を含む全体
の行数は27行となる。
It is assumed that horizontal scanning is performed 28 times per line, even fields and odd fields are alternately displayed by interlacing, and the vertical blanking return is two lines (28H). Therefore, if the horizontal scanning period is IH, the period of each row is 14H as shown in FIG. becomes.

偶数フィールド及び奇数フィールドは、それぞれ27行
であるが、インクレースが行われるため、偶数フィール
ドの26行目の期間は15Hに選定される(第5図(a
) 、 (b)参照)。
The even field and the odd field each have 27 lines, but since increment is performed, the period of the 26th line of the even field is selected to be 15H (see Figure 5(a).
), see (b)).

V 5ync信号は、奇数フィールドでは26行目の最
初で発生し、偶数フィールドでは、インクレースを行う
ため、26行目の最初から0.5 H遅れて発生する(
第5図(a) 、 (c) 、 (d)参照)。
The V 5sync signal occurs at the beginning of the 26th line in odd fields, and in even fields, it occurs 0.5 H after the beginning of the 26th line to perform increment (
(See Figures 5(a), (c), and (d)).

垂直ブランキング期間は26行目と27行目の期間であ
り、1行目〜25行目が表示期間である(第5図(al
 、 (c1、(el参照)。
The vertical blanking period is the period between the 26th and 27th lines, and the 1st to 25th lines are the display period (see Figure 5 (al.
, (c1, (see el).

Chr−CNT121に各行の開始アドレスロードを指
示するPMロード信号(PMLOD信号、PML、−P
ML□)、各行アドレスの開始時に′同期して発生され
る。1行目開始アドレスを指示するPMロード信号PM
iは、i−1行アドレスの開始時に同期して発生される
(第5図(a) 、 (f)参照)。そして、文字バッ
ファメモリ11の文字情報コード格納部゛111から°
のi行目の読出しは、1行の表示開始の1つ前のi−1
行のタイミングで行われる(第5図、fa) 、 (f
) 、 (g) 、 を目参照)。
A PM load signal (PMLOD signal, PML, -P
ML□) is generated synchronously at the start of each row address. PM load signal PM indicating the first row start address
i is generated synchronously with the start of the i-1 row address (see FIGS. 5(a) and 5(f)). Then, from the character information code storage section 111 of the character buffer memory 11,
The reading of the i-th line is i-1, which is one line before the start of displaying the first line.
(Fig. 5, fa), (f
), (g), (see eyes).

また、−水平走査線当りの種数は100欄、すなわち1
00文字分であり、その中の80文字が表示され、残り
の20文字分の期間が非表示期間であるとする。この実
施例では80文字分の表示画面の左右に、第2図に示す
ように1文字ずつ余分な82文字(824M)を1行分
として読出しを行っているため、H−Brank信号は
1)1−22文字(=18文字(18欄))である(第
6図(a)〜(h) 、 ip)参照)、シたがって、
H−Brank信号とDspTm信号の間には、 H−Brank+cr=舛DspTs+  (舛は反転
符号)の関係がある。
Also, - the number of species per horizontal scanning line is 100 columns, i.e. 1
00 characters, 80 of which are displayed, and the remaining 20 characters are a non-display period. In this embodiment, as shown in FIG. 2, the extra 82 characters (824M) are read out as one line on the left and right sides of the display screen for 80 characters, so the H-Brank signal is 1). 1-22 characters (=18 characters (column 18)) (see Figure 6 (a) to (h), ip)), therefore,
There is a relationship between the H-Brank signal and the DspTm signal as follows: H-Brank+cr=DspTs+ (the circle is an inverted sign).

水平同期信号Hsyncは、82欄目の終りで立上り、
90欄目の終りで立上る(第6図、(b) 、 (p)
参照)。
The horizontal synchronization signal Hsync rises at the end of the 82nd column,
It rises at the end of column 90 (Figure 6, (b), (p)
reference).

以上のような各・タイミング関係でもって、H・Vタイ
ミング発生手段14からは、Hsync 、 Vsyn
c、 H−Brank、 V ・Brank、 PMロ
ード、DspTm等の各タイ・ミング信号が発生される
With the above-mentioned timing relationships, the H/V timing generation means 14 outputs Hsync, Vsyn,
Timing signals such as C, H-Brank, V-Brank, PM load, and DspTm are generated.

このような表示及び走査方式において、奇数フィールド
の走査が終了してPMロード信号PML。
In this display and scanning method, the PM load signal PML is output after scanning of the odd field is completed.

が発生すると、文字バッファメモリ11のポインタテー
ブルより第1行目の開始アドレスA(=X’2000’
)が、Chr−CNT 121にセットされる(第5図
(f) 、 (h)及び第7図(c) 、 (e)参照
)。
occurs, the start address A (=X'2000') of the first line is determined from the pointer table of the character buffer memory 11
) is set in the Chr-CNT 121 (see FIGS. 5(f) and (h) and FIGS. 7(c) and (e)).

第7図は1行目における最初の一本目の水平走査開始部
分のタイミングチャートを示したものである。同図(a
)の各サイクルにおいて、MはCPU161から文字バ
ッファメモリ11に対するアクセス可能な期間を示すサ
イクルである。Txi(Txia  、 Txib )
は文字バッファメモリ11よりラインバッファ131に
i槽目の文字情報コードの転送が行われるサイクルであ
り、Txiaはi@目の文字コード、Txibはi4!
lII目Atriコードが転送されるサイクルである。
FIG. 7 shows a timing chart at the start of the first horizontal scan in the first row. The same figure (a
), M is a cycle indicating the period during which the character buffer memory 11 can be accessed from the CPU 161. Txi (Txia, Txib)
is a cycle in which the i-th character information code is transferred from the character buffer memory 11 to the line buffer 131, Txia is the i@-th character code, and Txib is i4!
This is the cycle in which the 12th Atri code is transferred.

また、PMLODはパラメータロードサイクルで、PM
ロード信号(PMLl)により1行目の行開始アドレス
Aが文字バッファメモリ11のホインタテーブル111
より読み出され、Chr−CNT121に転送される。
Also, PMLOD is the parameter load cycle, PM
The load signal (PMLl) causes the row start address A of the first row to be set to the pointer table 111 of the character buffer memory 11.
The data is read from the Chr-CNT 121 and transferred to the Chr-CNT 121.

文字バッファ調停部223は、HVタイミング発生回路
より転送指令(H5ync信号の立下時にラスタアドレ
スLAI〜4が“0゛の場合)を受けると、PMLOD
信号を出力し、書込みアドレスカウンタ(W−AdCN
T)124をイネーブルにする。
When the character buffer arbitration unit 223 receives a transfer command from the HV timing generation circuit (when the raster address LAI~4 is "0" at the falling edge of the H5sync signal), the character buffer arbitration unit 223 transfers the PMLOD
Outputs the write address counter (W-AdCN) signal.
T) enable 124.

W−AdCNT124は、第7図(f)及び(glに示
す文字コード書込みクロックLBCKo及びAtriコ
ード書込みクロックL B CK +を交互に発生して
文字バッファ調停部123及びMPX125を介してラ
インバッファ131に供給する。
The W-AdCNT 124 alternately generates the character code write clock LBCKo and the Atri code write clock LBCK+ shown in FIG. supply

もしバッファ調停部123は、この各書込みのロックL
BCK、、LBCK及びH・■タイミング発生手段14
からのH5ync 、 V 5yncの各タイミング信
号に従ってMPX122を制御し、Chr・CNT12
1からの文字アドレス及びH−Vタイミング発生手段1
4から行アドレスL iNO〜4やリフレッシュアドレ
ス信号を選択して、文字バッファメモリ11をアドレス
する。これにより、文字バッファメモリ11からは1行
目のO〜81欄の各文字情報コードがHsync 、 
Vsyncの各信号に同期してDMA転送で、ラインバ
ッファ231に転送される。
If the buffer arbitration unit 123 locks each write
BCK, LBCK and H・■ timing generation means 14
MPX122 is controlled according to the H5ync and V5ync timing signals from Chr・CNT12.
Character address and H-V timing generation means 1 from 1
The character buffer memory 11 is addressed by selecting the row address LiNO~4 from 4 and the refresh address signal. As a result, each character information code in columns 0 to 81 of the first line is transferred from the character buffer memory 11 to Hsync,
It is transferred to the line buffer 231 by DMA transfer in synchronization with each Vsync signal.

これにより、第7図(a) 、 (d)〜(g)に示す
ように、Chr−CNT121のカウント値がA、A+
2゜A+4・・・・・・* A +2 pのときは、0
欄目、目聞目、2欄目、・・・・・・、P種目の文字コ
ードがラインバッファ13.lに書き込まれ、A+1 
、A+3 、A+5.・・・・・・p A ” 2 p
 +1のときは、O横目、1欄目、・・・・・・、Pi
ll目のAtriコードがラインバッファ131に書き
込まれる。
As a result, as shown in FIG. 7(a), (d) to (g), the count values of Chr-CNT121 are A, A+
2゜A+4・・・・・・* When A+2 p, 0
Column, column, second column, etc., the character code for P items is line buffer 13. written to l, A+1
, A+3, A+5.・・・・・・p A ” 2 p
When +1, O sideways, 1st column, ......, Pi
The 11th Atri code is written to the line buffer 131.

ラインバッファ131には、文字コードとAtriコー
ドとが別々にスタック形式で交互に占き込まれ、読出し
時は、同一欄の文字コードとAtriコードがそれぞれ
連続して同時に読み出されるようになっている。
In the line buffer 131, character codes and Atri codes are stored alternately and separately in a stack format, and when reading, character codes and Atri codes in the same column are read simultaneously and consecutively. .

ラインバッファ131からの読出しは、MPX125を
介してH−Vタイミング発生手段14がら供給されるH
sync信号及びV 5ync信号に同期してO横目か
ら順次読み出されて第1REG132にセントされる。
Reading from the line buffer 131 is performed using the H
In synchronization with the sync signal and the V5sync signal, the signals are sequentially read out from the O row and sent to the first REG 132.

次に、80欄目を例にとり、第6図を参照して、文字パ
ターン信号発生手段13の動作について説明する。
Next, taking column 80 as an example, the operation of the character pattern signal generating means 13 will be explained with reference to FIG.

P/S変換部137より76欄目の文字ビデオ信号終了
時点に同期して、第1REG132がら80欄目の文字
情報コード中の文字コードが第2REG133にセット
され、その文字コードに関するAtriコードは第3R
EG134にセットされ、複数槽に関するフィールドア
トリビュートコード(F−Atriコード)はアトリビ
ュート処理部136に送られる(第6図U) 、 (k
) 、 (p)参照)。
Synchronizing with the end of the character video signal in the 76th column from the P/S conversion unit 137, the character code in the character information code in the 80th column is set from the first REG 132 to the second REG 133, and the Atri code related to that character code is set in the 3rd R.
The field attribute code (F-Atri code) related to multiple tanks is set in the EG 134 and sent to the attribute processing unit 136 (Fig. 6 U), (k
), see (p)).

77j/V1目の文字ビデオ信号終了時点すなわちH・
Brankl信号の立上り時点に同期して、第2REG
133から80欄目の文字コードが文字パターン発生部
135に送られ、80m目の文字パターンデータが発生
される(第6図(k) 、 (1) 、 (p)参照)
77j/V1th character video signal end point, that is, H.
In synchronization with the rising edge of the Blankl signal, the second REG
The character codes from columns 133 to 80 are sent to the character pattern generation unit 135, and character pattern data for the 80th mth column is generated (see Figures 6(k), (1), and (p)).
.

78欄目の文字ビデオ信号終了時点すなわち、H−Br
ank2信号の立上り時点に同期して、文字パターン発
生部135及び第3REG134より文字パターンデー
タ及びAtriコードがアトリビュート処理部136に
送られる。アトリビュート処理部136は、第1REG
133及び第3 REG134から送られたアトリビュ
ートコード並びにH−Vタイミング発生部141からの
H5ync信号及びV 5ync信号に基づいて文字パ
ターンデータに所定のアトリビュート処理を行い、H5
ync信号及びVsync信号に同期して出力する(第
6図(ロ)、(p)参照)。
At the end of the character video signal in the 78th column, that is, H-Br
In synchronization with the rise of the ank2 signal, character pattern data and the Atri code are sent from the character pattern generation unit 135 and the third REG 134 to the attribute processing unit 136. The attribute processing unit 136
133 and the third REG 134, and the H5ync signal and V5ync signal from the H-V timing generator 141, predetermined attribute processing is performed on the character pattern data, and the H5
It is output in synchronization with the sync signal and the Vsync signal (see FIGS. 6(b) and 6(p)).

79、種目の文字ビデオ信号終了時点すなわち、H−B
rank3信号の立上り時点に同期してDspTn+信
号がオフになるとともに、H・■タイミング発生手段1
4よりP/Sロード信号がP/S変換部137に加えら
れる。P/S変換部137は、アトリビュート処理部1
36から転送された並列の文字パターン信号を直列の文
字ビデオ信号に変換して出力する。
79, the end point of the character video signal of the event, that is, H-B
In synchronization with the rise of the rank3 signal, the DspTn+ signal is turned off, and the H/■ timing generation means 1
4, the P/S load signal is applied to the P/S converter 137. The P/S conversion unit 137 is the attribute processing unit 1
The parallel character pattern signals transferred from 36 are converted into serial character video signals and output.

80欄目の文字ビデオ信号は表示手段15に送られ、デ
ィスプレイ151に表示される。80a目の文字ビデオ
信号終了時点すなわちH−Brank4信号の立上り時
点に同期して非表示期間が開始され、続く20欄は非表
示となり、−水平走査線による表示処理が終了する。
The character video signal in the 80th column is sent to the display means 15 and displayed on the display 151. A non-display period starts in synchronization with the end of the 80a-th character video signal, that is, the rise of the H-Brank4 signal, the following 20 columns become non-display, and the display process using the -horizontal scanning line ends.

81欄目の文字コード及び^triコードは第2REG
133及び第3REG134にセットされるが、表示さ
れないので、文字パターンの発生処理は行われない。左
に1文字水平スクロールするときは、この8111jl
目の文字コードにより文字パターンが発生される。H−
Brank5信号は、この81欄目の文字に対するもの
である。
The character code and ^tri code in column 81 are in the 2nd REG.
133 and the third REG 134, but they are not displayed, so no character pattern generation processing is performed. To horizontally scroll one character to the left, use this 8111jl
A character pattern is generated by the character code of the eye. H-
The Blank5 signal is for the character in the 81st column.

なお、第6図に示されている1欄目部分の表示処理動作
は、これまでの80欄目の表示処理動作説明から明らか
であるので、その詳細な説明は省略する。
Note that the display processing operation in the first column shown in FIG. 6 is clear from the previous explanation of the display processing operation in the 80th column, so a detailed explanation thereof will be omitted.

以下同様にして、1行目毎に14年の水平走査表示で1
〜1804511の文字表示を行うことにより、8 Q
llJx 25行の2000文字分の表示が行われる。
In the same way, for each 1st line, 14 years horizontal scanning display is performed.
By displaying the characters ~1804511, 8 Q
llJx 25 lines of 2000 characters are displayed.

(第5図(a)〜(fitのタイミングチャート参照)
(See Figure 5 (a) - (fit timing chart))
.

なお、0欄目及び81a目は、DspTm信号がオフの
期間内のために表示されない。
Note that the 0th column and the 81a-th column are not displayed because they are within the period in which the DspTm signal is off.

(c)実施例のスクロール表示動作 第3図の実施例におけるスクロール表示動作を、属性情
報付き文字のスクロール表示動作と、漢字文字のスクロ
ール表示動作に分けて説明する。
(c) Scroll Display Operation of Embodiment The scroll display operation in the embodiment of FIG. 3 will be explained separately into a scroll display operation for characters with attribute information and a scroll display operation for kanji characters.

(c−1)属性情報付き文字のスクロール表示動作属性
情報がリバース表示である場合を例にとって、属性情報
付き文字のスクロール表示動作を、第8図及び第9図を
参照して説明する。
(c-1) Scroll display operation of characters with attribute information Taking as an example the case where the attribute information is reverse display, the scroll display operation of characters with attribute information will be explained with reference to FIGS. 8 and 9.

第8図(A)は、1行目の2〜5欄目に英字文字A、B
、C,Dがリバース表示されている場合の例であり、第
9図は、その場合の文字パフファメモリ11におけるポ
インタテーブル112及び文字情報コード格納部111
の1行目の部分の内容を示したものである。
Figure 8 (A) shows the alphabetic characters A and B in the 2nd to 5th columns of the 1st line.
, C, and D are displayed in reverse, and FIG. 9 shows the pointer table 112 and character information code storage section 111 in the character puffer memory 11 in that case.
This shows the contents of the first line of .

第9図において、ポインタテーブル112のX“100
0’番地に1行目の開始アドレスとしてX’1FFE’
がセントされているとすると、文字情報コード格納部1
11のX’3FFC’番地以降のものが1行目の各欄の
文字情報コードとなる。すなわち、X“3FFC’及び
“3FFE”番地にはOMA目の文字Eに関する文字情
報コードが、X’4000′及びX’4002’番地に
は1欄目の文字情報コードが、X’4004°及びX 
 4006’番地には2欄目の文字Aに関する文字情報
コードが、X’4008’及びx°400A’番地には
3@目の文字Bに関する文字情報コードが、X“400
C’及びX“400B”番地には4欄目の文字Cに関す
る文字情報コードが、X“4010”及びX’4012
′番地には5@目の文字りに関する文字情報コードが、
X“4014°及びX“4016’番地には6欄目の文
字情報コードが、それぞれ格納されている。
In FIG. 9, X"100 of the pointer table 112
X'1FFE' at address 0' as the start address of the first line
If , the character information code storage section 1
Items after address X'3FFC' of 11 are the character information codes for each column on the first line. That is, the character information code for the OMA-th character E is at addresses X'3FFC' and '3FFE', the character information code for the first column is at addresses X'4000' and X'4002', and the character information code for the first column is at addresses X'4004° and
Address 4006' has the character information code for character A in the second column, addresses X'4008' and x°400A' have the character information code for character B in the third @ column, and
At addresses C' and X "400B", the character information code for the character C in the fourth column is X "4010" and
'The character information code for the 5th @ character is in the address.
The character information code in the sixth column is stored at addresses X"4014° and X"4016', respectively.

2欄目〜5欄目の文字A、B、C,Dをリバース表示す
るため、1欄目の文字情報コードとして、X’4000
’番地にF−Atriコードが、X’4002′番地に
リバースコードが格納されている。
To display the characters A, B, C, and D in the 2nd to 5th columns in reverse, use X'4000 as the character information code in the 1st column.
The F-Atri code is stored at address 'X'4002' and the reverse code is stored at address X'4002'.

また、6欄目の文字情報コードとして、X“4016°
番地にF−Atriコードが、X”4016゜番地には
属性無しを示すデフォルトコードが格納されている。
Also, as the character information code in the 6th column,
An F-Atri code is stored at the address, and a default code indicating no attribute is stored at the address X"4016°.

なお、ポインタテーブル112及び文字情報コード格納
部111には、1行目の他の欄及び他の各行の欄に関す
る開始アドレス及び文字情報コードも格納されているが
、図示は省略されている。
Note that the pointer table 112 and character information code storage unit 111 also store start addresses and character information codes regarding other columns in the first row and columns in each other row, but are not shown.

この第9図に示すポインタテーブル112及び文字情報
格納部111を用いて、前述の(B)項で説明した表示
処理を行うことにより、ディスプレイ151の1行目に
は、第8図(A)に示すように、その2欄〜5欄目に文
字A、B、C,Dがリバース表示される。しかし、0欄
目の文字Eは非表示期間内にあるため表示されない。
By using the pointer table 112 and the character information storage unit 111 shown in FIG. 9 and performing the display processing described in the above section (B), the first line of the display 151 displays the information shown in FIG. 8(A). As shown in the figure, the characters A, B, C, and D are displayed in reverse in the second to fifth columns. However, the character E in the 0th column is not displayed because it is within the non-display period.

次に、文字A〜Dを右に1文字分スクロールするときは
、第9図の文字情報コード格納部111の内容はそのま
まにして、ポインタテーブル112の各開始アドレスの
内容を2番地だけ少なくなるように書き換える。例えば
、X“1000°番地にある1行目の開始アドレスの内
容は、X“IFFE ”番地からX”1FFC’番地に
書き換えられる。この書き換え処理は、C:PUl 6
1によって行われる。
Next, when scrolling characters A to D by one character to the right, the contents of the character information code storage section 111 shown in FIG. 9 remain unchanged, and the contents of each start address of the pointer table 112 are decreased by two addresses Rewrite it as For example, the content of the start address in the first line at address X"1000° is rewritten from address X"IFFE" to address X"1FFC'. This rewriting process is C:PUl 6
1.

これにより、1行目の0欄目の開始アドレスは文字情報
コード格納部111のX“3FF8’番地となり、以下
、各欄の開始アドレスは4番地ずつ少なくなり、一つ前
の欄の文字情報コードがスクロール後の文字情報コード
となる。
As a result, the start address of the 0th column of the first line becomes the address is the character information code after scrolling.

したがって、この文字情報コード格納部111及び書き
換えられたポインタテーブル112を用いて前述の(B
)項で説明した表示処理を行うことにより、1文字分の
右水平スクロールが行われ、ディスプレイ151の1行
目には、第8図(B)に示すように、その3a〜6@目
に文字A−Dのリバース表示が行われる。
Therefore, using this character information code storage section 111 and the rewritten pointer table 112, the above-mentioned (B
By performing the display processing described in section ), right horizontal scrolling for one character is performed, and as shown in FIG. The characters A-D are displayed in reverse.

逆に、第8図(A)の状態から文字A−Dを左に1文字
分スクロールするときは、第9図の文字情報コード格納
部111の内容はそのままにして、ポインタテーブル1
12の各開始アドレスの内容を2番地だけ大きくなるよ
うに書き換える。例えば、X“1000°番地にある1
行目の開始アドレスの内容は、X“IFFE“番地から
X“2000°番地に書き換えられる。
Conversely, when scrolling characters A-D one character to the left from the state shown in FIG. 8(A), the contents of the character information code storage section 111 shown in FIG.
The contents of each of the 12 starting addresses are rewritten so that they are two addresses larger. For example, 1 at address X"1000°
The contents of the start address in the row are rewritten from address X"IFFE" to address X"2000°.

これにより、1行目のO種目の開始アドレスは文字情報
コード格納部111のX“4000’番地となり、以下
、各欄の開始アドレスは4番地ずつ大きくなり、一つ後
の欄の文字コードがスクロール後の文字情報コードとな
る。
As a result, the start address of the O item on the first line becomes address X "4000'" in the character information code storage section 111, and from now on, the start address of each column increases by 4 addresses, and the character code of the next column becomes This is the character information code after scrolling.

0欄目には、X’4000°番地のF−Atril−ド
とリバースコードとが文字情報コードとして残るので、
スクロール後の文字A〜Dに対するリバース処理は正し
く行われる。
In column 0, the F-Atril-code and reverse code of address X'4000° remain as character information codes, so
Reverse processing for characters A to D after scrolling is performed correctly.

したがって、この文字情報コード格納部111及び書き
換えられたポインタテーブル112を用いて、前述の(
B)項で説明した表示処理を行うことにより1文字の左
水平スクロールが行われ、ディスプレイ151の1行目
には、第4図(c)に示すように、その1欄〜4欄に文
字A−Dのリバース表示が行われる。
Therefore, using this character information code storage section 111 and the rewritten pointer table 112, the above-mentioned (
By performing the display processing described in section B), one character is horizontally scrolled to the left, and characters are displayed in columns 1 to 4 on the first line of the display 151, as shown in FIG. 4(c). A to D reverse display is performed.

もし、付加する種数αの数を増加すれば、更に多くの文
字分の左水平スクロールを行うことができる。これらの
ことは、右水平スクロールの場合も同様である。
If the number of added genus α is increased, it is possible to perform left horizontal scrolling for even more characters. The same holds true for right horizontal scrolling.

以上のようにして、文字情報コード格納部111の内容
を書き換えることな(、ポインタテーブル112の内容
を書き換えるだけでスクロール表示を行うことができ、
かつ、リバース情報等の属性情報が失われないので、ス
クロール後もスクロール前と同じ属性を持って表示する
ことができる。
As described above, scrolling display can be performed without rewriting the contents of the character information code storage section 111 (by simply rewriting the contents of the pointer table 112,
In addition, since attribute information such as reverse information is not lost, it is possible to display the same attributes after scrolling as before scrolling.

(c−2)漢字文字の水平スクロール表示動作漢字文字
を含む文字列の水平スクロール表示動を、第10図及び
第11図を参照して説明する。
(c-2) Horizontal scroll display operation of Kanji characters The horizontal scroll display operation of character strings including Kanji characters will be explained with reference to FIGS. 10 and 11.

第10図(A)は、1行目の1欄〜2欄目及び79欄〜
80a目に漢字文字「亜」が表示され、3欄目に英字文
字rAJが表示されている場合の例であり、第11図は
、その場合の文字バンファメモリ11における文字情報
コード格納部111及びポインタテーブル112の1行
目の部分の内容を示したものである。
Figure 10 (A) shows columns 1 to 2 of the first row and columns 79 to
This is an example in which the Kanji character "A" is displayed at position 80a and the English character rAJ is displayed in the third column. FIG. 11 shows the character information code storage section 111 and This shows the contents of the first line of the pointer table 112.

第11図において、ポインタテーブル112のX’10
00’番地に1行目の開始アドレスとしてX’1FFE
’がセットされているとすると、文字情報コード格納部
111のX’3FFC’番地以降のものが、1行目の各
欄の文字情報コードとなる。すなわち、X“3FFC”
及びX”3FFB’番地には文字Fに関する文字情報コ
ードが、X’4004’及びX’4006’番地には同
じ漢字文字「亜」の下位の文字情報コードが、X“40
08’及びX“40QC’番地には英字文字rAJの文
字情報コードが、それぞれ格納されている。更に、X“
4140’及びX“4i2’番地には漢字文字「亜」の
上の文字情報コードが、X“4144”及びX’414
6”番地には同じ漢字文字「亜」の下位の文字情報コー
ドが、X“4148′及びX“414A”番地には英字
文字rXJの文字情報コードが格納されている。
In FIG. 11, X'10 of the pointer table 112
X'1FFE at address 00' as the start address of the first line
If ' is set, the characters from address X'3FFC' in the character information code storage section 111 become the character information codes for each column on the first line. That is, X “3FFC”
and X"3FFB', the character information code for the character F is located at addresses X'4004' and X'4006', the lower character information code for the same kanji character "A" is located at
The character information code of the alphabetic character rAJ is stored at addresses 08' and X"40QC', respectively.
Addresses 4140' and X'4i2' have character information codes above the kanji character 'A', X'4144' and X'414.
The lower character information code of the same Kanji character "A" is stored at the address "6", and the character information code of the alphabetic character rXJ is stored at the addresses X"4148' and X"414A".

なお、文字情報コード格納部111及びポインタテーブ
ル112には、1行目の他の欄及び他の各行の欄に関す
る開始アドレス及び文字情報コードも格納されているが
、図示は省略されている。
Note that the character information code storage unit 111 and pointer table 112 also store start addresses and character information codes regarding other columns in the first row and columns in each other row, but are not shown.

この第11図に示すポインクチ−プル112及び文字情
報格納部111を用いて、前述の(B)項で説明した表
示処理を行うことにより、ディスプレイ151の1行目
には、第10図(A)に示すように、その1欄〜80欄
目に文字「亜」、「A」及び「亜」が表示される。しか
し、0欄目の英字文字Fは非表示期間内にあるため表示
されない。
10 (A ), the characters "A", "A", and "A" are displayed in the 1st to 80th columns. However, the alphabetical character F in the 0th column is not displayed because it is within the non-display period.

次に、これらの表示内容を右に1文字分スクロールする
ときは、第11図の文字情報コード格納部111の内容
はそのままにして、ポインタテーブル112の各開始ア
ドレスの内容を2番地だけ少なくなるように書き換える
。例えば、X“1000′番地にある1行目の開始アド
レスの内容は、X“I FFE ”番地からX’1FF
C’番地に書き換えられる。この書き換え処理は、CP
U161によって行われる。
Next, when these display contents are scrolled one character to the right, the contents of the character information code storage section 111 shown in FIG. Rewrite it as For example, the contents of the start address in the first line at address X"1000' are from address X"I FFE" to X'1FF
It is rewritten to address C'. This rewriting process
This is done by U161.

これにより、1行目のO横目の開始アドレスは文字情報
コード格納部111のX“3FF8′番地となり、以下
、各欄の開始アドレスは4番地ずつ少なくなり、一つ前
の欄の文字情報コードがスクロール後の文字情報コード
となる。
As a result, the start address of the first line next to O becomes the address X"3FF8' of the character information code storage section 111, and from then on, the start address of each column decreases by 4 addresses, and the character information code of the previous column becomes is the character information code after scrolling.

この場合、X“4144’及びX“4146’番地にあ
る右端の漢字文字「亜」の上位の文字情報コードは80
欄目に入り、下位の文字情報コードは81欄目に入るの
で、右端の漢字文字「亜」は正しく再生される。
In this case, the upper character information code of the rightmost kanji character “A” at addresses X “4144’ and X “4146” is 80.
Since the lower character information code is entered in the 81st column, the rightmost Kanji character "A" is correctly reproduced.

したがって、この文字情報コード格納部111及び書き
換えられたポインタテーブル112を用いて、前述の(
B)項で説明した表示処理を行うことにより、1文字分
の右水平スクロールが行われ、ディスプレイ151の1
行目には、第8図(B)に示すように、li目にrFJ
が、2欄及び3WA目に「亜」が、80欄目に「亜」の
前半分が表示される。なお、81欄目の「亜」の後半分
は、非表示期間内にあるために表示されない。
Therefore, using this character information code storage section 111 and the rewritten pointer table 112, the above-mentioned (
By performing the display processing described in section B), right horizontal scrolling for one character is performed, and 1 of the display 151
In the li-th row, as shown in FIG. 8(B), the rFJ
However, "A" is displayed in the 2nd column and the 3rd WA, and the first half of "A" is displayed in the 80th column. Note that the second half of "A" in the 81st column is not displayed because it is within the non-display period.

このようにして、水平スクロールにより泣き分れを生じ
させることなく、漢字文字「亜」の前半分を表示するこ
とができる。
In this way, the first half of the kanji character "A" can be displayed without causing separation due to horizontal scrolling.

逆に、第10図(A)の状態から左に一文字分スクロー
ルするときは、第11図の文字情報コード格納部i11
の内容はそのままにして、ポインタテーブル112の各
開始アドレスの内容を2番地だけ大きくなるように書き
換える。例えば、X“1000’番地にある1行目の開
始アドレスの内容は、X“l FFE ’番地からX’
2000’番地に書き換えられる。
Conversely, when scrolling one character to the left from the state shown in FIG. 10(A), the character information code storage section i11 shown in FIG.
The contents of each start address in the pointer table 112 are rewritten so as to be larger by two addresses, while leaving the contents as they are. For example, the content of the start address of the first line at address X"1000" is X"l FFE 'from address X'
It is rewritten to address 2000'.

これにより、1行目の0欄の開始アドレスは文字情報コ
ード格納ぶ111のX“4000’番地とてり、以下、
各欄の開始アドレスは4番地ずつ大きくなり、一つ後の
欄の文字情報コードがスクロール後の文字情報コードと
なる。
As a result, the starting address in the 0 column of the first line is address X "4000'" of the character information code storage section 111, and the following is as follows.
The start address of each column increases by four addresses, and the character information code of the next column becomes the character information code after scrolling.

この場合、X’40QO°及びX“4002゜番地にあ
る右端の漢字文字「亜」の上位の文字情報コードは0W
A目に入り、下位の文字情報コードはl種目に入るので
、左端の漢字文字「亜」は正しく再生される。
In this case, the upper character information code of the rightmost kanji character "A" at addresses X'40QO° and X"4002° is 0W.
Since it is in the A category and the lower character information code is in the L category, the leftmost Kanji character "A" is correctly reproduced.

したがって、この文字情報コード格納部111及び書き
換えられたポインタテーブル112を用いて、前述の(
B)項で説明した表示処理を行うことにより、1文字分
の左水平スクロールが行われ、ディスプレイ151の1
行目には、第8図(c)に示すように、ti目には「亜
」の後半分が、2欄目にrAJが、78欄及び79欄目
に「亜」が、80欄目にrXJがそれぞれ表示される。
Therefore, using this character information code storage section 111 and the rewritten pointer table 112, the above-mentioned (
By performing the display processing described in section B), left horizontal scrolling for one character is performed, and 1 of the display 151
As shown in Figure 8(c), in the tith row, the last half of "A" is in the tith column, rAJ is in the second column, "Ai" is in the 78th and 79th columns, and rXJ is in the 80th column. are displayed respectively.

なお、0欄目の「亜」の前半分は、非表示期間内にある
ために表示されない。
Note that the first half of "A" in column 0 is not displayed because it is within the non-display period.

以上のようにして、文字情報コード格納部111の内容
を書き換えることなく、ポインタテーブル112の内容
を書き換えるだけでスクロール表示を行うことができ、
かつ、両端に漢字文字が存在する場合も泣き分れを生じ
させることなく、前半分又は後半分を表示することがで
きる。このように前半分又は後半分を表示することによ
り、全体の漢字文字の内容を推定することが可能となる
ので好都合である。
As described above, scrolling display can be performed simply by rewriting the contents of the pointer table 112 without rewriting the contents of the character information code storage section 111.
In addition, even if there are Kanji characters at both ends, the first half or the second half can be displayed without causing any separation. By displaying the first half or the second half in this way, it is possible to estimate the content of the entire Kanji character, which is convenient.

以上本発明の一実施例について説明したが、本発明の実
施例は、この実施例に限定されるものではない。種数n
2行数m、付加欄数αは、n=30、m=25.α=2
以外の値をとることができる。ポインタテーブルは文字
バッファ以外の場合に設けるようにしてもよく、文字情
報コードの転送はDMA転送に限るものではない。
Although one embodiment of the present invention has been described above, the embodiment of the present invention is not limited to this embodiment. genus n
The number of two lines m and the number of additional columns α are n=30, m=25. α=2
can take other values. The pointer table may be provided in cases other than character buffers, and the transfer of character information codes is not limited to DMA transfer.

また、文字情報コードは、文字コードのみでもよく、ま
た、第9図のX“4000’及びX“4002′番地の
ように属性に関する情報コードのみの場合も含むもので
ある。
Further, the character information code may be only a character code, and also includes only information codes related to attributes, such as addresses X"4000" and X"4002' in FIG. 9.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、次の諸効果が得
られる。
As explained above, according to the present invention, the following effects can be obtained.

(イ)文字バッファメモリの内容を書き換えることなく
水平スクロール表示を行うことができる。
(b) Horizontal scrolling display can be performed without rewriting the contents of the character buffer memory.

したがって、水平スクロール処理を簡単化することがで
きる。
Therefore, horizontal scroll processing can be simplified.

(ロ)属性情報を持った不定様式の画面の水平スクロー
ルを行うことができる。
(b) It is possible to horizontally scroll an unformatted screen that has attribute information.

(ハ)漢字文字が画面の両端にある場合にも、泣き分れ
を生じさせることなく水平スクロールを行うことができ
る。
(c) Even when kanji characters are located at both ends of the screen, horizontal scrolling can be performed without causing separation.

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

第1図は本発明の基本構成の説明図、 第2図は本発明のスクロール表示動作の説明図、 第3図は本発明の一実施例の構成の説明図、第4図は同
実施例の文字バッファメモリの説明図、 第5図は同実施例の全体の動作タイミングチャート、 第6図は同実施例の水平走査終了及び開始動作部分の動
作タイミングチャート、 第7図は同実施例の一水平走査線の走査開始部分の動作
タイミングチャート、 第8図同実施例における属性情報付き文字の水平スクロ
ール表示動作の説明図、 第9図は同実施例における属性情報付き文字の水平スク
ロール表示動作時の文字バ ッファメモリの説明図、 第10図は同実施例における漢字文字の水平スクロール
表示動作の説明図、 第11図は同実施例における漢字文字の水平スクロール
表示動作時の文字バッファメ モリの説明図、 第12図は従来のキャラクタディスプレイ装置の説明図
、 第13図は従来のキャラクタディスプレイ装置の表示方
式の説明図、 第14図は従来のキャラクタディスプレイ装置の文字バ
ッファメモリの説明図、 第15図は従来のキャラクタディスプレイ装置の全体の
動作タイミングチャート、 第16図は従来のキャラクタディスプレイ装置の水平走
査終了及び開始部分の動作タ イミングチャート、 第17図は従来のキャラクタディスプレイ装置の一水平
走査線の走査開始部分の動作 タイミングチャートである。 第1図及び第3図において、 11・・・文字バッファメモリ、12・・・書込み・読
出しく R/W)制御手段、13・・・文字パターン信
号発生手段、14・・・水平・垂直(H・■)タイミン
グ発生手段、15・・・表示手段、16・・・ホスト、
111・・・文字情報コード格納部、112・・・ポイ
ンタテーブル、121・・・文字カウンタ(chr−C
NT) 、131・・・ラインバッファ、151・・・
ディスプレイ。
FIG. 1 is an explanatory diagram of the basic configuration of the present invention, FIG. 2 is an explanatory diagram of the scroll display operation of the present invention, FIG. 3 is an explanatory diagram of the configuration of an embodiment of the present invention, and FIG. 4 is an explanatory diagram of the same embodiment. FIG. 5 is an overall operation timing chart of the same embodiment. FIG. 6 is an operation timing chart of the horizontal scanning end and start operation portions of the same embodiment. An operation timing chart of the scanning start part of one horizontal scanning line. Figure 8 is an explanatory diagram of the horizontal scroll display operation of characters with attribute information in the same embodiment. Figure 9 is a horizontal scroll display operation of characters with attribute information in the same embodiment. FIG. 10 is an explanatory diagram of the horizontal scroll display operation of Kanji characters in the same embodiment. FIG. 11 is an explanation of the character buffer memory during the horizontal scroll display operation of Kanji characters in the same embodiment. 12 is an explanatory diagram of a conventional character display device; FIG. 13 is an explanatory diagram of a display method of a conventional character display device; FIG. 14 is an explanatory diagram of a character buffer memory of a conventional character display device; The figure is an overall operation timing chart of a conventional character display device, FIG. 16 is an operation timing chart of the horizontal scanning end and start portion of a conventional character display device, and FIG. 17 is an operation timing chart of one horizontal scanning line of a conventional character display device. It is an operation timing chart of a scanning start part. 1 and 3, 11...Character buffer memory, 12...Writing/reading (R/W) control means, 13...Character pattern signal generation means, 14...Horizontal/vertical ( H・■) Timing generation means, 15... Display means, 16... Host,
111...Character information code storage unit, 112...Pointer table, 121...Character counter (chr-C
NT), 131...line buffer, 151...
display.

Claims (2)

【特許請求の範囲】[Claims] (1)表示手段(15)の各行にn欄が表示可能なキャ
ラクタディスプレイ装置の表示制御方式において、 (a)表示手段(15)の各行に表示可能な欄数(n欄
)よりもα(αは1以上の整数)欄多いn+α欄を1行
として、各欄の文字に対する文字コードを含む文字情報
コードが格納される文字バッファメモリ(11)と、 (b)文字バッファメモリ(11)に対する書込み及び
読出しを制御し、読出し時はn+α欄の1行分単位で読
出しを行う書込み・読出し制御手段(12)と、 (c)文字バッファメモリ(11)よりn+α欄の1行
分単位で読み出された各文字情報コードに基づいて表示
手段(15)に表示する文字パターン信号を発生する文
字パターン信号発生手段(13)と、 (d)書込み・読出し制御手段(12)、文字パターン
信号発生手段(13)及び表示手段(15)の各動作を
制御するタイミング信号を発生する水平・垂直タイミン
グ発生手段(14)、 を備えたことを特徴とする表示制御方式。
(1) In a display control system of a character display device that can display n columns in each row of the display means (15), (a) the number of columns (n columns) that can be displayed in each row of the display means (15) is larger than α( (α is an integer greater than or equal to 1) A character buffer memory (11) in which character information codes including character codes for characters in each field are stored, with the number of columns (n+α) as one line; (b) character buffer memory (11); (c) a write/read control means (12) that controls writing and reading, and reads in units of one line from the n+α column during reading; (c) reads each line in the n+α column from the character buffer memory (11) character pattern signal generation means (13) for generating a character pattern signal to be displayed on the display means (15) based on each character information code issued; (d) writing/reading control means (12); character pattern signal generation means; A display control system comprising: horizontal/vertical timing generating means (14) for generating timing signals for controlling each operation of the means (13) and the display means (15).
(2)文字バッファメモリ(11)内の各行の開始アド
レスを指示するポインタ・テーブル(112)を備え、
このポインタ・テーブル(112)の指示に基づいて、
書込み・読出し制御手段(12)が、文字バッファメモ
リ(11)より各1行分単位の読出しを行うことを特徴
とする特許請求の範囲第1項記載の表示制御方式。
(2) A pointer table (112) indicating the start address of each line in the character buffer memory (11);
Based on the instructions in this pointer table (112),
2. The display control system according to claim 1, wherein the write/read control means (12) reads each line from the character buffer memory (11).
JP62117092A 1987-05-15 1987-05-15 Display control device Expired - Lifetime JP2642350B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62117092A JP2642350B2 (en) 1987-05-15 1987-05-15 Display control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62117092A JP2642350B2 (en) 1987-05-15 1987-05-15 Display control device

Publications (2)

Publication Number Publication Date
JPS63282791A true JPS63282791A (en) 1988-11-18
JP2642350B2 JP2642350B2 (en) 1997-08-20

Family

ID=14703197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62117092A Expired - Lifetime JP2642350B2 (en) 1987-05-15 1987-05-15 Display control device

Country Status (1)

Country Link
JP (1) JP2642350B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58168089A (en) * 1982-03-29 1983-10-04 三菱電機株式会社 Display unit
JPS5929292A (en) * 1982-08-11 1984-02-16 日本電信電話株式会社 Character information display
JPS59100493A (en) * 1982-11-30 1984-06-09 株式会社東芝 Data display unit
JPS59105683A (en) * 1982-12-10 1984-06-19 株式会社日立製作所 Display controller
JPS60121496A (en) * 1984-08-29 1985-06-28 株式会社東芝 Display control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58168089A (en) * 1982-03-29 1983-10-04 三菱電機株式会社 Display unit
JPS5929292A (en) * 1982-08-11 1984-02-16 日本電信電話株式会社 Character information display
JPS59100493A (en) * 1982-11-30 1984-06-09 株式会社東芝 Data display unit
JPS59105683A (en) * 1982-12-10 1984-06-19 株式会社日立製作所 Display controller
JPS60121496A (en) * 1984-08-29 1985-06-28 株式会社東芝 Display control system

Also Published As

Publication number Publication date
JP2642350B2 (en) 1997-08-20

Similar Documents

Publication Publication Date Title
EP0012793B1 (en) Method of displaying graphic pictures by a raster display apparatus and apparatus for carrying out the method
JPS59214079A (en) Video display control circuit
JPH0570832B2 (en)
JPS638488B2 (en)
US5642138A (en) Display control system using a different clock in the graphics mode from that in the text mode in accessing an image memory
US5699498A (en) Technique and apparatus for color expansion into a non-aligned 24 bit RGB color-space format
JPS63282791A (en) Display control system
US4882578A (en) Character display device
JP2765141B2 (en) External synchronization control device
JP2891429B2 (en) Liquid crystal display controller
JPS63250689A (en) Raster scan display system
JPS628192A (en) Cursor control circuit
JP2708841B2 (en) Writing method of bitmap memory
JP2837461B2 (en) Access method of external character memory
JPS59184A (en) Division control system
JPS6364798B2 (en)
JPS63131181A (en) Character display device
JPS6078481A (en) Character display
JPH0659652A (en) Display control device
JPS59148091A (en) Character graphic display unit
JPS5886589A (en) Display control system
JPS6152691A (en) Page splitting and scrolling system for screen
JPS63113598A (en) Expansion display system for character data
JPH01277890A (en) Display control system
JPH0245198B2 (en) KANJIHYOJISEIGYOHOSHIKI