JP2642350B2 - Display control device - Google Patents

Display control device

Info

Publication number
JP2642350B2
JP2642350B2 JP62117092A JP11709287A JP2642350B2 JP 2642350 B2 JP2642350 B2 JP 2642350B2 JP 62117092 A JP62117092 A JP 62117092A JP 11709287 A JP11709287 A JP 11709287A JP 2642350 B2 JP2642350 B2 JP 2642350B2
Authority
JP
Japan
Prior art keywords
character
column
signal
display
line
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.)
Expired - Lifetime
Application number
JP62117092A
Other languages
Japanese (ja)
Other versions
JPS63282791A (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

Description

【発明の詳細な説明】 〔概 要〕 表示手段の各行にn欄が表示可能なキャラクタディス
プレイ装置の表示制御装置において、n欄よりα欄多い
n+α欄を1行分として文字バッファメモリに格納し、
このn+α欄の1行分単位で読み出して文字パターン信
号を生成し、n欄分の表示を行う。これにより、文字バ
ッファメモリの内容を書き換えることなく水平スクロー
ル表示を行うことができ、かつ、属性情報を持った不定
様式の画面の水平スクロールができるとともに、漢字文
字が画面の両端にある場合にも泣き分れを生じさせるこ
となく水平スクロールを行うことができる。
DETAILED DESCRIPTION OF THE INVENTION [Summary] In a display control device of a character display device capable of displaying n columns on each line of a display means, an n + α column having α columns larger than n columns is stored in a character buffer memory as one line. ,
A character pattern signal is generated by reading out the data in units of one line in the n + α column, and the display in the n columns is performed. This makes it possible to perform horizontal scroll display without rewriting the contents of the character buffer memory, and to perform horizontal scrolling on an indefinite-format screen with attribute information, and when kanji characters are at both ends of the screen. Horizontal scrolling can be performed without causing tears.

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

本発明は、キャラクタディスプレイ装置における表示
制御装置、特に、水平スクロール表示処理を簡単化し、
属性情報を持った不定様式の画面の水平スクロールを可
能にするとともに、水平スクロール時に漢字文字に泣き
分れが生じないようにした表示制御装置に関する。
The present invention simplifies a display control device in a character display device, in particular, a horizontal scroll display process,
The present invention relates to a display control device that enables horizontal scrolling of an indefinite-format screen having attribute information and prevents kanji characters from tearing during horizontal scrolling.

〔従来の技術〕[Conventional technology]

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

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

第12図において、21は文字バッファメモリで、ディス
プレイのn欄×m行に表示されるn×m個の文字に対す
る文字情報コードが格納される。文字情報コードは、文
字パターン情報を指示する文字コードと文字の属性情報
を指示するアトリビュートコード(以下、Atriコードと
いう)で構成される。文字の属性情報には、例えばリバ
ース、ブリンク、罫線等がある。
In FIG. 12, reference numeral 21 denotes a character buffer memory which stores character information codes for n × m characters displayed in n columns × m rows of the display. The character information code is composed of a character code indicating character pattern information and an attribute code indicating character attribute information (hereinafter, referred to as an Atri code). The character attribute information includes, for example, reverse, blink, and ruled lines.

22は書込み・読出し制御手段(R/W制御手段)で、文
字バッファメモリ21に対する文字情報コードの書込み及
び読み出しを制御し、読出し時はn欄を1行とする行単
位で読み出しを行う。
Reference numeral 22 denotes a write / read control unit (R / W control unit) which controls writing and reading of a character information code to and from the character buffer memory 21. At the time of reading, reading is performed in units of rows with n columns as one line.

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

24は水平・垂直タイミング発生手段(H・Vタイミン
グ発生手段)で、水平同期信号(Hsync信号)、垂直同
期信号(Vsync信号)、水平及び垂直の各ブランキング
信号(H・Brank信号、V・Brank信号)、表示タイミン
グ信号(Dsp Tm信号)、垂直ブランキング終了信号(V
END信号)等の各タイミング信号を発生する。
Reference numeral 24 denotes a horizontal / vertical timing generating means (HV timing generating means), which includes a horizontal synchronizing signal (Hsync signal), a vertical synchronizing signal (Vsync signal), and horizontal and vertical blanking signals (H / Brank signal, V / V signal). Brank signal), display timing signal (Dsp Tm signal), vertical blanking end signal (V
END signal).

25は表示手段で、内部にディスプレイ251を備え、文
字パターン信号発生手段23からの文字パターン信号及び
H・Vタイミング発生手段24からのHsync信号、Vsync信
号等を受けて、ディスプレイ251にn欄×m行の文字表
示を行う。
Reference numeral 25 denotes a display unit, which has a display 251 therein, and receives a character pattern signal from the character pattern signal generation unit 23, an Hsync signal from the HV timing generation unit 24, a Vsync signal, and the like. Display m lines of characters.

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

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・C
NT)で、表示画面の一つの垂直走査が終了する毎に発生
するVEND信号に制御されて、走査開始時のアドレスの初
期値、すなわち1行目1欄目のアドレス値N0(固定値)
がセットされ、以下、文字単位で発生する文字クロック
(CCLK)を受けて、2CCLK毎にカウントアップする(な
お、2CCLK毎にカウントアップされる点については、後
述する第17図のタイミングチャートにおいて、詳細に説
明する)。
In the R / W control means 22, 221 is a character counter (Chr · C
NT), controlled by the VEND signal generated each time one vertical scan of the display screen is completed, the initial value of the address at the start of scanning, that is, the address value N 0 of the first row and first column (fixed value)
In the following, a character clock (CCLK) generated in units of characters is received, and count-up is performed every 2 CCLKs. (Note that the count-up is performed every 2 CCLKs in the timing chart of FIG. 17 described later. Detailed explanation).

222はマルチプレクサ(MPX)で、Chr・CNT221、H・
Vタイミング発生手段24からの各タイミング信号及びCP
U261からのアドレスを選択し、文字バッファメモリ21を
アクセスするアドレスを出力する。
222 is a multiplexer (MPX), Chr · CNT221, H ·
Each timing signal from the V timing generation means 24 and CP
The address from U261 is selected, and the address for accessing the character buffer memory 21 is output.

223は文字バッファ調停部、224は書込みアドレスカウ
ンタ(W・AdCNT)、225はマルサプクサ(MPX)で、こ
れらにより、文字バッファメモリ21より1行単位で、か
つ、H・Vタイミング発生手段24からのHsync信号及びV
sync信号に同期して各文字情報コードを読み出し、文字
パターン信号発生手段23のラインバッファに書込みを行
い、更に、表示時は、ラインバッファよりHsync信号及
びVsync信号に同期して各文字情報コードの読出しを行
う(なお、具体的な動作については、次の動作説明にお
いて説明する)。
223, a character buffer arbitration unit; 224, a write address counter (W.AdCNT); 225, a marsupuxer (MPX); Hsync signal and V
Each character information code is read out in synchronization with the sync signal, and written to the line buffer of the character pattern signal generating means 23. Further, at the time of display, each character information code is read out from the line buffer in synchronization with the Hsync signal and the Vsync signal. Reading is performed (specific operation will be described in the following operation description).

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

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

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

234は第3レジスタ(第3REG)で、第1REG232にセット
された文字情報コード中のAtriコードがセットされる。
Reference numeral 234 denotes a third register (third REG) in which the Atri code in the character information code set in the first REG 232 is set.

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

236はアトリビュート処理部で、第1REG232及び第3REG
234からの各Atriコードに基づいて文字パターン発生部2
35から出力された文字パターンデータに対して所定のア
トリビュート処理を施した文字ドットパターンデータを
発生する。アトリビュート処理部236に対し、第1REG232
からは、複数の連続した表示文字に共通する属性情報
(フイールド・アトリビュートコード:F・Atriコード)
が送られ、第3REG234からは、対応する文字コードに対
するAtriコードが送られる。
Reference numeral 236 denotes an attribute processing unit, which is a first REG 232 and a third REG
Character pattern generator 2 based on each Atri code from 234
Character dot pattern data is generated by subjecting the character pattern data output from 35 to predetermined attribute processing. For the attribute processing unit 236, the first REG232
From, attribute information common to multiple consecutive display characters (field attribute code: F · Atri code)
Is transmitted from the third REG234, and an Atri code corresponding to the corresponding character code is transmitted.

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

第13図は、n=80欄、m=25行の場合のディスプレイ
251に表示される表示画面を示したものである。各行は8
0欄からなり、合計2000欄分の表示が行われる。英数字
は1欄当り1文字が表示されるので、全体で2000文字の
英数字を表示することが可能である。漢字の場合は2欄
で一文字が表示されるので、漢字が入る場合は2000文字
よりも少なくなる。
FIG. 13 shows a display when n = 80 columns and m = 25 lines.
251 shows a display screen displayed. Each row is 8
There are 0 columns, and a total of 2000 columns are displayed. Since one alphanumeric character is displayed per column, a total of 2000 alphanumeric characters can be displayed. In the case of kanji, one character is displayed in two columns, so if a kanji is 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 configuration of the memory area in the character buffer memory 21 when the display of n = 80 columns and m = 25 lines shown in FIG. 13 is performed. X'N 'is an address in byte units expressed in hexadecimal, and the address in the first column of one row, that is, the initial value N 0 of Chr · CNT 221 is selected to be 1000.

各文字コード及びAtriコードは16ビット(=2バイト
=1ワード)で構成される。したがって、1欄で1文字
を形成する英数字の文字情報コードは、各1個の文字コ
ード及びAtriコードを含む4バイト(=2ワード)で形
成される。また、2欄で1文字を形成する漢字文字の文
字情報コードは、各2個の文字コード及びAtriコードを
含む8バイト(=4ワード)で形成される。なお、以下
単に文字というときは1欄で表示される文字(英数字
等)を指すものとする。
Each character code and Atri code are composed of 16 bits (= 2 bytes = 1 word). Therefore, an alphanumeric character information code that forms one character in one column is formed of 4 bytes (= 2 words) including each one character code and Atri code. The character information code of a kanji character that forms one character in two columns is formed of 8 bytes (= 4 words) including each of two character codes and an Atri code. Hereinafter, the term “character” simply refers to a character (alphanumeric character or the like) displayed in one column.

次に、第12図の動作を、第13図に示すようにn=80
欄、m=25行の表示が行われる場合を例にとり、第15図
〜第17図の各タイミングチャートを参照して説明する。
文字バッファメモリ21には、第14図に示すように、アド
レスX‘1000'〜X‘1F3F'の領域に1行目から順番に25
行目までの各欄の文字コード及びAtriコードが格納され
る。
Next, the operation of FIG. 12 is performed as shown in FIG.
The description will be made with reference to the respective timing charts of FIGS. 15 to 17, taking as an example a case where the display of the column, m = 25 rows is performed.
As shown in FIG. 14, the character buffer memory 21 stores 25 addresses in the area of addresses X'1000 'to X'1F3F' sequentially from the first line.
The character code and Atri code of each column up to the line are stored.

いま、水平走査は、1行につき28回行われ、インタレ
ースにより、偶数フィールドと奇数フィールドが交互に
表示され、垂直ブランキング帰間は2行分(28H)であ
るとする。
Now, 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 interval is two rows (28H).

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

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

Vsync信号は、奇数フィールドでは26行目の最初で発
生し、偶数フィールドでは、インタレースを行うため、
26行目の最初から0.5H遅れて発生する(第15図(a),
(c),(d)参照)。
The Vsync signal occurs at the beginning of row 26 in odd fields and interlaces in even fields,
Occurs 0.5H later from the beginning of line 26 (Fig. 15 (a),
(C) and (d)).

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

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

また、一水平走査線当りの欄数は100欄、すなわち100
文字分であり、その中の80文字が表示され、残りの20文
字分の期間が水平ブランキング期間(H・Brank信号の
オン期間)であるとする。したがって、H・Brank信号
と表示タイミング信号(DspTm信号)間には、H・Brank
ing=*DspTm(*は反転符号)の関係がある。
The number of columns per horizontal scanning line is 100, that is, 100 columns.
It is assumed that 80 characters are displayed, and the period of the remaining 20 characters is a horizontal blanking period (H-Brank signal ON period). Therefore, between the H.Brank signal and the display timing signal (DspTm signal), the H.Brank signal is provided.
ing = * DspTm (* is an inverted sign).

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

以上のような各タイミング関係でもって、H・Vタイ
ミング発生手段24からは、Hsync,Vsync、H・Brank,V・
Brank、VEND、等の各タイミング信号が発生される。
With the above timing relationships, Hsync, Vsync, HBrank, V
Each timing signal such as Brank, VEND, etc. is generated.

このような表示及び走査方式において、奇数フィール
ドの走査が終了してVEND信号が発生すると、Chr・CNT22
1のアドレスは初期値N0(=X‘1000')セットされる
(第15図(f),(h)及び第17図(c),(e)参
照)。
In such a display and scanning method, when the scanning of the odd field is completed and the VEND signal is generated, the Chr.CNT 22
The address of 1 is set to an initial value N 0 (= X'1000 ') (see FIGS. 15 (f) and (h) and FIGS. 17 (c) and 17 (e)).

第17図は、1行目における最初の一本目の水平捜査開
始部分のタイミングチャートを示したものである。同図
(a)の各サイクルにおいて、MはCPU261から文字バッ
ファメモリ21に対するアクセス可能な期間を示すサイク
ルである。Txi(Txia,Txib)は文字バッファメモリ21よ
りラインバッファ231にi欄目の文字情報コードの転送
が行われるサイクルで、Txiaはi欄目の文字コード、Tx
ibはi欄目のAtriコードが転送されるサイクルである。
また、PMLODはパラメータロードサイクルで、偶数及び
奇数フィールドの開始時点すなわちVEND信号の発生時点
において、Chr・CNT221にアドレス(初期値N0)のセッ
トが行われる。
FIG. 17 shows a timing chart of the first horizontal search start portion on the first line. In each cycle of FIG. 7A, M is a cycle indicating a period during which the CPU 261 can access the character buffer memory 21. Txi (Txia, Txib) is a cycle in which the character information code in the i-th column is transferred from the character buffer memory 21 to the line buffer 231. Txia is the character code in the i-th column, Tx
ib is a cycle in which the Atri code in the i-th column is transferred.
PMLOD is a parameter load cycle, in which an address (initial value N 0 ) is set in Chr · CNT 221 at the start of even and odd fields, that is, at the time of generation of a VEND signal.

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

W・AdCNT224は、第17図(f)及び(g)に示す文字
コード書込みクロックLBCK0及びAtriコード書込みクロ
ックLBCK1を交互に発生して文字バッファ調停部223及び
MPX225を介してラインバッファ231に供給する。
The W • AdCNT 224 alternately generates the character code write clock LBCK 0 and the Atri code write clock LBCK 1 shown in FIGS.
The signal is supplied to the line buffer 231 via the MPX 225.

文字バッファ調停部223は、この各書込みクロックLBC
K0,LBCK1及びH・Vタイミング発生手段24からのHsync,
Vsyncの各タイミング信号に従ってMPX222を制御し、Chr
・CNT221からの文字アドレス及びH・Vタイミング発生
手段24からのリフレッシュアドレスを選択して、文字バ
ッファメモリ21をアドレスする。これにより、文字バッ
ファメモリ21からは1行目の1〜80欄の各文字情報コー
ドがHsync,Vsyncの各信号に同期してDMA転送で、ライン
バッファ231に転送される。
The character buffer arbitration unit 223 receives the write clock LBC
K 0 , LBCK 1 and Hsync from the HV timing generation means 24,
Control MPX222 according to each timing signal of Vsync, and
Select the character address from the CNT 221 and the refresh address from the HV timing generator 24 to address the character buffer memory 21. As a result, the character information codes in the 1st to 80th columns of 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のカウント値がN0,N0+2,N0+4,…
…,N0+2pのときは、0欄目,1欄目,2欄目,……P欄目
の文字コードがラインバッファ231に書き込まれ、N0
1,N0+3,N0+5,……N0+2p+1のときは、0欄目,1欄
目,………P欄目のAtriコードがラインバッファ231に
書き込まれる。
Thus, view the 17 (a), (d) ~ (g), the count value N 0 of Chr · CNT221, N 0 + 2 , N 0 + 4, ...
..., when the N 0 + 2p, 0 orchidales, Column 1, Column 2, ...... P column th character code is written into the line buffer 231, N 0 +
In the case of 1, N 0 +3, N 0 +5,..., N 0 + 2p + 1, the Atri code in the 0th column, the 1st column,.

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

ラインバッファ231からの読出しは、MPX225を介して
H・Vタイミング発生手段24から供給されるHsync信号
及びVsync信号に同期して1欄目から順次読み出されて
第1REG232にセットされる。
Reading from the line buffer 231 is sequentially read from the first column in synchronization with the Hsync signal and the Vsync signal supplied from the HV timing generating means 24 via the MPX 225, and is set in the first REG232.

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

P/S変換部237より76欄目の文字ビデオ信号終了時点す
なわちH・Brank1信号の立上り時点に同期して、第1REG
232から80欄目の文字情報コード中の文字コードが第2RE
G233にセットされ、その文字コードに関するAtriコード
は第3REG234にセットされ、複数欄に関するフィールド
アトリビューコード(F・Atriコード)は、アトリビュ
ート処理部236に送られる(第16図(j),(k),
(p)参照)。
The P / S converter 237 outputs the first REG in synchronization with the end of the character video signal in the 76th column, that is, the rising of the HBrank1 signal.
The character code in the character information code in columns 232 to 80 is the second RE
G233, the Atri code for the character code is set to the third REG234, and the field attribute code (F · Atri code) for a plurality of fields is sent to the attribute processing unit 236 (FIGS. 16 (j) and (k)). ),
(P)).

77欄目の文字ビデオ信号終了時点すなわちH・Brank2
信号の立上り時点に同期して、第2REG233から80欄目の
文字コードが文字パターン発生部235に送られ、80欄目
の文字パターンデータが発生される(第16図(k),
(l),(p)参照)。
The end point of the character video signal in column 77, ie, HBrank2
In synchronization with the rising edge of the signal, the character code in the 80th column is sent from the second REG 233 to the character pattern generation unit 235, and character pattern data in the 80th column is generated (FIG. 16 (k),
(L), (p)).

78欄目の文字ビデオ信号終了時点すなわち、H・Bran
k3信号の立上り時点に同期して、文字パターン発生部23
5及び第3REG234より文字パターンデータ及びAtriコード
がアトリビュート処理部236に送られる。アトリビュー
ト処理部236は、第1REG233及び第3REG234から送られた
アトリビュートコード並びにH・Vタイミング発生手段
24からのHsync信号及びVsync信号に基づいて文字パター
ンデータに所定のアトリビュート処理を行い、Hsync信
号及びVsync信号に同期して出力する(第16図(m),
(p)参照)。
The end point of the character video signal in column 78, that is, H · Bran
In synchronization with the rise of the k3 signal, the character pattern generator 23
The character pattern data and the Atri code are sent from the fifth and third REG 234 to the attribute processing unit 236. The attribute processing unit 236 includes an attribute code transmitted from the first REG233 and the third REG234, and an HV timing generation unit.
The character pattern data is subjected to predetermined attribute processing based on the Hsync signal and the Vsync signal from 24, and is output in synchronization with the Hsync signal and the Vsync signal (FIG. 16 (m),
(P)).

79欄目の文字ビデオ信号終了時点すなわちH・Brank4
信号の立上り時点に同期してDspTm信号がオフになると
ともに、H・Vタイミング発生手段24よりP/Sロード信
号がP/S変換部237に加えられる。P/S変換部237は、アト
リビュート処理部236から転送された並列の文字パター
ン信号を直列の文字ビデオ信号に変換して出力する。
The end point of the character video signal in column 79, ie, HBrank4
The DspTm signal is turned off in synchronization with the rising edge of the signal, and the P / S load signal is applied from the HV timing generator 24 to the P / S converter 237. The P / S converter 237 converts the parallel character pattern signal transferred from the attribute processor 236 into a serial character video signal and outputs the signal.

80欄目の文字ビデオ信号は表示手段25に送られ、ディ
スプレイ251に表示される。80欄目の文字ビデオ信号終
了時点すなわちH/Brank5信号の立上り時点に同期して非
表示期間が開始され、続く20欄は非表示となり、一水平
走査線による表示処理が終了する。
The character video signal in column 80 is sent to the display means 25 and displayed on the display 251. The non-display period is started in synchronization with the end point of the character video signal in column 80, that is, the rising point of the H / Brank5 signal, and the subsequent column 20 is not displayed, and the display processing by one horizontal scanning line is completed.

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

以下、同様にして、1行目毎に14本の水平走査表示で
1〜80欄の文字表示を行うことにより、第13図に示すよ
うに、80欄×25行の2000文字分の表示が行われる(第15
図(a)〜(h)のタイミングチャート参照)。
Hereinafter, similarly, by performing character display of 1 to 80 columns by 14 horizontal scanning displays for each first line, as shown in FIG. 13, display of 2000 characters of 80 columns × 25 lines is performed. Done (No. 15
(Refer to the timing charts in FIGS. (A) to (h).)

以上の表示方式において水平スクロールを行う場合
は、水平スクロールされる画面に合せて文字バッファメ
モリ21の全内容が書き換えられる。これは、文字バッフ
ァメモリ21から読み出される1行分の文字情報コードが
ディスプレイ251に表示される80欄分の文字情報コード
であり、かつ、各文字情報コードのアドレスが固定され
ているためである。
When performing horizontal scrolling in the above display method, the entire contents of the character buffer memory 21 are rewritten according to the screen to be horizontally scrolled. 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. .

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

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

また、文字バッファメモリから読み出される文字情報
コード数がディスプレイに表示可能な1行分の文字数と
等しいため、属性情報を持った不定様式の画面を水平ス
クロールすることができなかった。例えば、第13図にお
いて2欄目〜5欄目の文字(A〜D)がリバース表示さ
れている場合、1欄目の文字情報コードに以降の文字の
リバース表示を指示するフィールドアトリビュート(F
・Atri)コードがセットされ、6欄目の文字情報コード
にリバース表示の終止を指示するF・Atriコードがセッ
トされるが、左に1文字スクロールすると1欄目のF・
Atriコードがなくなるので、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 is not possible to horizontally scroll an indefinite-format screen having attribute information. For example, in the case where characters (A to D) in the second to fifth columns in FIG. 13 are displayed in reverse, a field attribute (F
• Atri) code is set, and the F • Atri code for instructing the end of the reverse display is set in the character information code in the sixth column.
Since there is no Atri code, the reverse display of two or more characters is not performed.

更に、漢字文字の場合は英数字文字の2倍の2欄を使
用して表示されるので、文字バッファメモリでは2欄分
の領域を専有し、文字情報コードの前半と後半がそれぞ
れ一つの欄に格納される。このため、漢字文字が画面の
両端にある場合に水平スクロールを行うと、いわゆる泣
き分れが発生し、表示画面で漢字文字を表示することが
できなくなる。例えば、第13図において、漢字文字
「字」が2行目の右端(79及び80欄目)にあるとき、1
文字(1欄)右に水平スクロールすると、第3行目に示
すように、漢字文字「字」の右半分に当る80欄目の文字
情報コードがなくなるため漢字文字「字」の文字コード
を生成することが不可能となり、3行目の右端にも4行
目の左端にも漢字文字「字」を表示することができなく
なる。
Furthermore, since the kanji character is displayed using two columns twice as large as the alphanumeric character, the character buffer memory occupies an area for two columns, and the first half and the second half of the character information code are each one column. Is stored in Therefore, when horizontal scrolling is performed when kanji characters are present at both ends of the screen, so-called tearing occurs, and kanji characters cannot be displayed on the display screen. For example, in FIG. 13, when the kanji character “character” is at the right end of the second line (columns 79 and 80), 1
If the character (column 1) is horizontally scrolled to the right, as shown in the third line, the character information code in column 80 corresponding to the right half of the kanji character "character" is lost, so the character code of the kanji character "character" is generated. This makes it impossible to display the kanji character "" at the right end of the third line or at the left end of the fourth line.

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

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

本発明が講じた解決手段を、第1図を参照して説明す
る。第1図は、本発明の基本構成をブロック図で示した
ものである。
The solution taken by the present invention will be described 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 denotes a character buffer memory which is larger than the number of columns (n columns) that can be displayed on each line of the display means 15 (α is 1
Character information codes including attribute information (attributes) for the characters in each column are stored, with the n + α column having many (the above integer) columns as one line. The value of α is appropriately selected based on the number of characters scrolled left and right, the number of attribute information associated therewith, and the like.

112はポインタ・テーブルで、文字バッファメモリ11
内の各行の開始アドレスを指示する。
112 is a pointer table, which is a character buffer memory 11
Indicate the start address of each line in.

12は書込み・読出制御手段(R/W制御手段で、文字バ
ッファメモリ11に対する文字及びアトリビュート情報の
書込み及び読出しを制御し、読出し時はポインタ・テー
ブル112の指示に基づいてn+α欄個の行分単位で文字
及びアトリビュート情報の読出しを行う。
Numeral 12 denotes a write / read control means (R / W control means) which controls writing and reading of character and attribute information to and from the character buffer memory 11, and performs reading for n + α columns based on an instruction of the pointer table 112. The character and attribute information are read in units.

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

14は、水平・垂直タイミング発生手段(H・Vタイミ
ング発生手段)で、文字パターン発生手段13で発生され
た文字パターン信号のn欄を表示手段15に表示させ、α
欄をブランキングするタイミング信号を発生する。
Reference numeral 14 denotes a horizontal / vertical timing generating means (HV timing generating means) which causes the display means 15 to display an n column of the character pattern signal generated by the character pattern generating means 13;
Generate a timing signal to blank the column.

〔作 用〕(Operation)

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

文字バッファメモリ11には、n+2欄を1行分とし
(n+2)×m欄の文字に対する文字情報コードが格納
される。
The character buffer memory 11 stores character information codes for characters in the (n + 2) × m column, with the n + 2 column as one line.

R/W制御手段12は、H・Vタイミング発生手段14から
のタイミング信号を受けてn+2欄の1行分単位で読出
しを行い、文字パターン信号発生手段13に転送する。
The R / W control unit 12 receives the timing signal from the HV timing generation unit 14, reads the data in units of one line in the (n + 2) column, and transfers the read data to the character pattern signal generation unit 13.

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

次に、本発明の水平スクロール動作について説明す
る。いま、1行目の2〜5欄に英字文字A,B,C,Dがリバ
ース表示され、n−3〜n欄にアルファベッドのPQRSが
表示され、2行目のn−3〜n欄に漢字文字「漢字」が
表示されているとする。
Next, the horizontal scroll operation of the present invention will be described. Now, alphabetic characters A, B, C, and D are displayed reversely in columns 2 to 5 on the first line, PQRS of the alpha bed is displayed in columns n-3 to n, and columns n-3 to n on the second line. Is displayed with the kanji character "kanji".

右に1文字(1欄)分水平スクロールする場合は、各
行の1欄より1つ前の0欄をポインタ・テーブル112に
よって、各行の開始アドレスとして指定することによ
り、文字バッファメモリ11の文字情報コード部分の内容
を書き換えることなく、1文字分の右水平スクロールが
行われる。
When performing horizontal scrolling by one character (one column) to the right, the character table in the character buffer memory 11 is designated by designating the zero column immediately before the one column of each line as the start address of each line by the pointer table 112. The right horizontal scroll of one character is performed without rewriting the contents of the code portion.

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

次に、1行目を左に1文字(1欄)分水平スクロール
する場合は、各行の1欄目を各行の開始アドレスとして
ポインタ・テーブル112によって指定することにより、
文字バッファメモリ11の文字情報コード部分の内容を書
き換えることなく、1文字分の左水平スクロールが行わ
れる。
Next, when the first line is horizontally scrolled to the left by one character (one column), the first column of each line is designated by the pointer table 112 as the start address of each line.
The left horizontal scroll of one character is performed without rewriting the contents of the character information code portion of the character buffer memory 11.

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

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

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

〔実施例〕〔Example〕

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

(A)実施例の構成 第3図において、文字バッファメモリ11、R/W制御手
段12、文字パターン信号発生手段13、H・Vタイミング
発生手段14及び表示手段15については、第1図で説明し
たとおりである。
(A) Configuration of Embodiment In FIG. 3, the character buffer memory 11, the R / W control means 12, the character pattern signal generating means 13, the HV timing generating means 14, and the display means 15 are described with reference to FIG. As you did.

H・Vタイミング発生手段14は、Hsync信号、Vsync信
号、H・Brank信号、DspTm信号、R/Sロード信号、パラ
メータロード信号(PMロード信号)等、各種のタイミン
グ信号を発生する。PMロード信号は、後述する文字カウ
ンタ(Chr・CNT)にアドレス値をロードする信号であ
り、P/Sロード信号は後述するP/S変換部に並列/直列変
換を指示する信号である。
The HV timing generator 14 generates various timing signals such as an Hsync signal, a Vsync signal, an H.Brank signal, a DspTm signal, an R / S load signal, and a parameter load signal (PM load signal). The PM load signal is a signal for loading an address value into a character counter (Chr · CNT) described later, and the P / S load signal is a signal for instructing a P / S converter described later to perform parallel / serial conversion.

表示手段15は、内部にディスプレイ151を備え、文字
パターン信号発生手段13からの文字パターン信号及びH
・Vタイミング発生手段14からのHsync信号、Vsync信
号、H・Brank信号、V・Brank信号、DspTm信号等を受
けて、ディスプレイにn欄×m行の文字表示を行う。
The display means 15 includes a display 151 therein, and receives a character pattern signal from the character pattern signal generation means 13 and an H signal.
In response to the Hsync signal, the Vsync signal, the H.Brank signal, the V.Brank signal, the DspTm signal, and the like from the V timing generation means 14, a character display of n columns × m lines is performed on the display.

16はホストで、CPU161、各種制御プログラムや初期化
プログラム等が格納されているROM162、処理中の命令及
びデータ等が格納されるRAM163を備え、文字情報コード
や各種のデータ、アドレス、制御信号の転送、授受を行
って、システムの動作を制御する。
A host 16 includes a CPU 161, a ROM 162 storing various control programs and an initialization program, and a RAM 163 storing instructions and data being processed, and stores character information codes, various data, addresses, and control signals. It performs transfer and transfer to control the operation of the system.

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

R/W制御手段12において、121は文字カウンタ(Chr・C
NT)で、PMロード信号に制御されて、文字バッファメモ
リ11から転送される各行の開始アドレスがセットされ、
以下文字クロックCCLKを受けて2CCLK毎にカウントアッ
プする。
In the R / W control means 12, 121 is a character counter (Chr · C
NT), the start address of each line transferred from the character buffer memory 11 is set under the control of the PM load signal,
Hereinafter, the character clock CCLK is counted up every 2 CCLKs.

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

123は文字バッファ調停部、124は書込みアドレスカウ
ンタ(W・AdCNT)、125はマルチプレクタ(MPX)て、
これらにより、文字バッファメモリ11より1行分単位
で、かつ、H・Vタイミング発生手段14からのHsync信
号及びVsync信号に同期して各文字情報コードを読み出
し、文字パターン信号発生手段13のラインバッファに書
込みを行い、更に表示時は、ラインバッファよりHsync
信号及びVsync信号に同期して各文字情報コードの読出
しを行う(なお、具体的な動作については、次の動作説
明において説明する)。
123 is a character buffer arbitration unit, 124 is a write address counter (W · AdCNT), 125 is a multiplexer (MPX),
As a result, each character information code is read out from the character buffer memory 11 in units of one line and in synchronization with the Hsync signal and the Vsync signal from the HV timing generation means 14, and the line buffer of the character pattern signal generation means 13 is read out. To the line buffer.
Each character information code is read out in synchronization with the signal and the Vsync signal (a specific operation will be described in the following operation description).

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

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

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

134は第3レジスタ(第3REG)で、第1REG132にセット
された文字情報コード中のAtriコードがセットされる。
Reference numeral 134 denotes a third register (third REG) in which the Atri code in the character information code set in the first REG 132 is set.

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

136はアトリビュート処理部で、第1REG132及び第3REG
134からの各Atriコードに基づいて文字パターン発生部1
35から入力された文字パターンデータに対して所定のア
トリビュート処理を施した文字ドットパターンデータを
発生する。アトリビュート処理部136に対し、第1REG132
からは、複数の連続した表示文字に共通する属性情報
(フィールド・アトリビュートコード;F・Atriコード)
が送られ、第3REG134からは、対応する文字コードに対
するAtriコードが送られる。
136 is an attribute processing unit, which is a first REG 132 and a third REG 132
Character pattern generator 1 based on each Atri code from 134
Character dot pattern data is generated by subjecting the character pattern data input from 35 to predetermined attribute processing. For the attribute processing unit 136, the first REG 132
From, attribute information common to multiple consecutive display characters (field attribute code; F · Atri code)
Is transmitted from the third REG 134, and an Atri code corresponding to the corresponding character code is transmitted.

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

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

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

ポインタテーブル112には、アドレスX‘1000'〜X
‘1030'番地に1〜25行目の開始アドレスが格納され
る。
In the pointer table 112, addresses X'1000 'to X
The start address of the 1st to 25th rows is stored in the address '1030'.

文字情報コード格納部111には、X‘4000'番地以後に
1〜25行目の0欄目〜81欄目の文字情報コードが格納さ
れる。文字情報コードは、従来方式と同様に、一欄当り
各2バイトの文字コード及びAtriコードで形成される。
The character information code storage unit 111 stores the character information codes in the 0th column to the 81st column of the 1st to 25th lines after the address X'4000 '. The character information code is formed of a 2-byte character code and an Atri code per column, as in the conventional method.

CPU161はバイト単位でアドレスを発生するが、文字バ
ッファメモリ11の文字コード及びAtriコードを2バイト
単位でアクセスするため、ポインタテーブル112の指示
する行開始アドレスの内容の2倍が、その行の0欄目の
文字情報コードの実際の開始アドレスとなる。また、従
来と同様に、英数字文字は1欄で一文字が形成され、漢
字文字は2欄で1文字が形成される。
The CPU 161 generates an address in byte units. However, since the character code and the Atri code in the character buffer memory 11 are accessed in units of 2 bytes, twice the content of the line start address indicated by the pointer table 112 becomes 0 in the line. This is the actual start address of the character information code in the column. As in the conventional case, one character is formed in one column for alphanumeric characters, and one character is formed in two columns for kanji characters.

(B)実施例の動作 第3図の実施例の動作を、第2図において、n=80
欄,α=2欄,m=25行,n+α=82欄とし、(1欄目〜80
欄目)×25行の表示が行われる場合を例にとり、第4図
〜第7図を参照して説明する。文字バッファメモリ11の
ポインタテーブル112及び文字情報格納部111には、第4
図に示すように、各行の開始アドレス及び各行の0〜81
欄目の文字コード及びAtriコードが格納される。
(B) Operation of the embodiment The operation of the embodiment of FIG. 3 is shown in FIG.
Column, α = 2 columns, m = 25 lines, n + α = 82 columns, (columns 1 to 80)
(Column) × 25 lines will be described as an example with reference to FIGS. 4 to 7. The pointer table 112 and the character information storage unit 111 of the character buffer memory 11 have the fourth
As shown in the figure, the start address of each row and 0-81
The character code and Atri code of the column are stored.

水平走査は一行につき28回行われ、インタレースによ
り、偶数フィールドと奇数フィールドが交互に表示さ
れ、垂直ブランキング帰間は2行分(28H)であるとす
る。したがって、水平走査帰間を1Hとすると、各行の期
間は、第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 a vertical blanking interval is two rows (28H). Therefore, assuming that the horizontal scanning return period is 1H, the period of each row is 14H as shown in FIG. 5, 14 horizontal scans are performed for each row, and the total number of rows including the vertical blanking period is 27. Line.

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

Vsync信号は、奇数フィールドでは26行目の最初で発
生し、偶数フィールドでは、インタレースを行うため、
26行目の最初から0.5H遅れて発生する(第5図(a),
(c),(d)参照)。
The Vsync signal occurs at the beginning of row 26 in odd fields and interlaces in even fields,
Occurs 0.5H later from the beginning of line 26 (Fig. 5 (a),
(C) and (d)).

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

Chr・CNT121に各行の開始アドレスロードを指示するP
Mロード信号(PMLOD信号、PML1〜PML25)、各行アドレ
スの開始時に同期して発生される。i行目開始アドレス
を指示するPMロード信号PMiは、i−1行アドレスの開
始時に同期して発生される(第5図(a),(f)参
照)。そして、文字バッファメモリ11の文字情報コード
格納部111からのi行目の読出しは、1行の表示開始の
1つ前のi−1行のタイミングで行われる(第5図、
(a),(f),(g),(h)参照)。
P to instruct Chr / CNT121 to load the start address of each line
M load signal (PMLOD signal, PML 1 ~PML 25), is generated in synchronization with the start of each line address. The PM load signal PMi indicating the start address of the i-th row is generated in synchronization with the start of the (i-1) -th row address (see FIGS. 5A and 5F). The reading of the i-th line from the character information code storage unit 111 of the character buffer memory 11 is performed at the timing of the (i-1) -th line immediately before the start of the one-line display (FIG. 5, FIG.
(A), (f), (g) and (h)).

また、一水平走査線当りの欄数は100欄、すなわち100
文字分であり、その中の80文字が表示され、残りの20文
字分の期間が非表示期間であるとする。この実施例では
80文字分の表示画面の左右に、第2図に示すように1文
字ずつ余分な82文字(82欄)を1行分として読出しを行
っているため、H・Brank信号は1H−22文字(=18文字
(18欄))である(第6図(a)〜(h),(p)参
照)。したがって、H・Brank信号とDspTm信号の間に
は、 H・Brank+α=*DspTm(*は反転符号)の関係があ
る。
The number of columns per horizontal scanning line is 100, that is, 100 columns.
It is assumed that 80 characters are displayed and the period of the remaining 20 characters is a non-display period. In this example
As shown in FIG. 2, extra 82 characters (column 82) are read as one line on the left and right sides of the display screen for 80 characters, so that the H.Brank signal is 1H-22 characters ( = 18 characters (column 18)) (see FIGS. 6 (a) to (h) and (p)). Therefore, there is a relationship of H · Brank + α = * DspTm (* is an inverted sign) between the H · Brank signal and the DspTm signal.

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

以上のような各タイミング関係でもって、H・Vタイ
ミング発生手段14からは、Hsync,Vsync,H・Brank,V・Br
ank,PMロード,DspTm等の各タイミング信号が発生され
る。
With the above timing relationships, Hsync, Vsync, HBrank, VBr
Timing signals such as ank, PM load, and DspTm are generated.

このような表示及び走査方式において、奇数フィール
ドの走査が終了してPMロード信号PML1が発生すると、文
字バッファメモリ11のポインタテーブルより第1行目の
開始アドレスA(=X‘2000')が、Chr・CNT121にセッ
トされる(第5図(f),(h)及び第7図(c),
(e)参照)。
In such a display, and scanning method, the scanning of the odd fields PM load signal PML 1 is generated ended, the start address of from pointer table of the character buffer memory 11 first row A (= X'2000 ') is , Chr · CNT 121 (FIGS. 5 (f), (h) and 7 (c),
(E)).

第7図は1行目における最初の一本目の水平走査開始
部分のタイミングチャートを示したものである。同図
(a)の各サイクルにおいて、MはCPU161から文字バッ
ファメモリ11に対するアクセス可能な期間を示すサイク
ルである。Txi(Txia,Txib)は文字バッファメモリ11よ
りラインバッファ131にi欄目の文字情報コードの転送
が行われるサイクルであり、Txiaはi欄目の文字コー
ド、Txibはi欄目Atriコードが転送されるサイクルであ
る。また、PMLODはパラメータロードサイクルで、PMロ
ード信号(PML1)により1行目の行開始アドレスAが文
字バッファメモリ11のホインタテーブル112より読み出
され、Chr・CNT121に転送される。
FIG. 7 shows a timing chart of the first horizontal scanning start portion of the first row. In each cycle of FIG. 7A, M is a cycle indicating a period during which the CPU 161 can access the character buffer memory 11. Txi (Txia, Txib) is a cycle in which the character information code in the i-th column is transferred from the character buffer memory 11 to the line buffer 131, Txia is a cycle in which the character code in the i-th column is transferred, and Txib is a cycle in which the Atri code in the i-th column is transferred. It is. PMLOD is a parameter load cycle, and the first row start address A is read from the pointer table 112 of the character buffer memory 11 by the PM load signal (PML 1 ) and transferred to the Chr · CNT 121.

文字バッファ調停部123は、HVタイミング発生回路よ
り転送指令(Hsync信号の立下時にラスタアドレスLA1〜
4が‘0'の場合)を受けると、PMOLOD信号を出力し、書
込みアドレスカウンタ(W・AdCNT)124をイネーブルに
する。
The character buffer arbitration unit 123 sends a transfer command (when the Hsync signal falls, the raster addresses LA1 to LA1)
When 4 is '0'), a PMOLOD signal is output, and the write address counter (W · AdCNT) 124 is enabled.

W/AdCNT124は、第7図(f)及び(g)に示す文字コ
ード書込みクロックLBCK0及びAtriコード書込みクロッ
クLBCK1を交互に発生して文字バッファ調停部123及びMP
X125を介してラインバッファ131に供給する。
The W / AdCNT 124 alternately generates the character code write clock LBCK 0 and the Atri code write clock LBCK 1 shown in FIGS.
It is supplied to the line buffer 131 via X125.

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

これにより、第7図(a),(d)〜(g)に示すよ
うに、Chr・CNT121のカウント値がA,A+2,A+4……,A
+2pのときは、0欄目,1欄目,2欄目,……,P欄目の文字
コードがラインバッファ131に書き込まれ、A+1,A+3,
A+5,……,A+2p+1のときは、0欄目,1欄目,……,P
欄目のAtriコードがラインバッファ131に書き込まれ
る。
As a result, as shown in FIGS. 7 (a) and (d) to (g), the count value of Chr · CNT 121 becomes A, A + 2, A + 4,.
In the case of + 2p, the character codes in the 0th column, 1st column, 2nd column,..., P column are written into the line buffer 131, and A + 1, A + 3,
When A + 5, ..., A + 2p + 1, Column 0, Column 1, ..., P
The Atri code in the column is written to the line buffer 131.

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

ラインバッファ131からの読出しは、MPX125を介して
H・Vタイミング発生手段14から供給されるHsync信号
及びVsync信号に同期して0欄目から順次読み出されて
第1REG132にセットされる。
Reading from the line buffer 131 is sequentially read from the 0th column in synchronization with the Hsync signal and the Vsync signal supplied from the HV timing generating means 14 via the MPX 125, and is set in the first REG 132.

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

P/S変換部137より76欄目の文字ビデオ信号終了時点に
同期して、第1REG132から80欄目の文字情報コード中の
文字コードが第2REG133にセットされ、その文字コード
に関するAtriコードは第3REG134にセットされ、複数欄
に関するフィールドアトリビュートコード(F・Atriコ
ード)はアトリビュート処理部136に送られる(第6図
(j),(k),(p)参照)。
In synchronization 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 from the first REG132 is set to the second REG133, and the Atri code for that character code is set to the third REG134. The field attribute code (F · Atri code) for the plurality of columns is set and sent to the attribute processing unit 136 (see FIGS. 6 (j), (k), (p)).

77欄目の文字ビデオ信号終了時点すなわちH・Brank1
信号の立上り時点に同期して、第2REG133から80欄目の
文字コードが文字パターン発生部135に送られ、80欄目
の文字パターンデータが発生される(第6図(k),
(l),(p)参照)。
The end point of the character video signal in column 77, ie, HBrank1
In synchronization with the rising edge of the signal, the character code in the 80th column is sent from the second REG 133 to the character pattern generation unit 135, and character pattern data in the 80th column is generated (FIG. 6 (k),
(L), (p)).

78欄目の文字ビデオ信号終了時点すなわち、H・Bran
k2信号の立上り時点に同期して、文字パターン発生部13
5及び第3REG134より文字パターンデータ及びAtriコード
がアトリビュート処理部136に送られる。アトリビュー
ト処理部136は、第1REG132及び第3REG134から送られた
アトリビュートコード並びにH・Vタイミング発生部14
からのHsync信号及びVsync信号に基づいて文字パターン
データに所定のアトリビュート処理を行い、Hsync信号
及びVsync信号に同期して出力する(第6図(m),
(p)参照)。
The end point of the character video signal in column 78, that is, H · Bran
In synchronization with the rise of the k2 signal, the character pattern generator 13
The character pattern data and the Atri code are sent from the fifth and third REGs 134 to the attribute processing unit 136. The attribute processing unit 136 includes the attribute code sent from the first REG 132 and the third REG 134 and the HV timing generation unit 14.
The character pattern data is subjected to predetermined attribute processing based on the Hsync signal and the Vsync signal from the CPU and output in synchronization with the Hsync signal and the Vsync signal (FIG. 6 (m),
(P)).

79欄目の文字ビデオ信号終了時点すなわち、H・Bran
k3信号の立上り時点に同期してDspTm信号がオフになる
とともに、H・Vタイミング発生手段14よりP/Sロード
信号がP/S変換部137に加えられる。P/S変換部137は、ア
トリビュート処理部136から転送された並列の文字パタ
ーン信号を直列の文字ビデオ信号に変換して出力する。
The end point of the character video signal in column 79, that is, H · Bran
The DspTm signal is turned off in synchronization with the rise of the k3 signal, and the P / S load signal is applied from the HV timing generation means 14 to the P / S converter 137. The P / S conversion section 137 converts the parallel character pattern signals transferred from the attribute processing section 136 into a serial character video signal and outputs it.

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

81欄目の文字コード及びAtriコードは第2REG133及び
第3REG134にセットされるが、表示されないので、文字
パターンの発生処理は行われない。左に1文字水平スク
ロールするときは、この81欄目の文字コードにより文字
パターンが発生される。H・Brank5信号は、この81欄目
の文字に対するものである。
The character code and the Atri code in the 81st column are set in the second REG133 and the third REG134, but are not displayed, so that the character pattern generation processing is not performed. When horizontally scrolling one character to the left, a character pattern is generated by the character code in the 81st column. The H.Brank5 signal is for the character in column 81.

なお、第6図に示されている1欄目部分の表示処理動
作は、これまでの80欄目の表示処理動作説明から明らか
であるので、その詳細な説明は省略する。
The display processing operation in the first column shown in FIG. 6 is apparent from the description of the display processing operation in the 80th column so far, and thus the detailed description is omitted.

以下同様にして、1行毎に14回の水平走査表示で1〜
80欄の文字表示を行うことにより、80欄×25行の2000文
字部分の表示が行われる。(第5図(a)〜(h)のタ
イミングチャート参照)。なお、0欄目及び81欄目は、
DspTm信号がオフの期間内のために表示されない。
In the same manner, 1 to 14 horizontal scanning displays per line
By displaying characters in 80 columns, a display of 2000 characters in 80 columns × 25 lines is performed. (Refer to the timing charts of FIGS. 5A to 5H). In addition, the 0th column and the 81st column
The DspTm signal is not displayed because it is in the off period.

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

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

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

第9図において、ポインタテーブル112のX‘1000'番
地に1行目の開始アドレスとしてX‘1FFE'がセットさ
れているとすると、文字情報コード格納部111のX‘3FF
C'番地以降のものが1行目の各欄の文字情報コードとな
る。すなわち、X‘3FFC'及び‘3FFE'番地には0欄目の
文字Eに関する文字情報コードが、X‘4000'及びX‘4
002'番地には1欄目の文字情報コードが、X‘4004'及
びX4006'番地には2欄目の文字Aに関する文字情報コー
ドが、X‘4008'及びX‘400A'番地には3欄目の文字B
に関する文字情報コードが、X‘400C'及びX‘400E'番
地には4欄目の文字Cに関する文字情報コードが、X
‘4010'及びX‘4012'番地には5欄目の文字Dに関する
文字情報コードが、X‘4014'及びX‘4016'番地には6
欄目の文字情報コードが、それぞれ格納されている。
In FIG. 9, if X'1FFE 'is set as the start address of the first line at X'1000' of the pointer table 112, X'3FF of the character information code storage unit 111 is assumed.
The information after the address C 'is the character information code in each column of the first line. That is, at the addresses X'3FFC 'and' 3FFE ', the character information codes relating to the character E in the 0th column are X'4000' and X'4
The address 002 'is the character information code in the first column, the addresses X'4004' and X4006 'are the character information codes for character A in the second column, and the addresses X'4008' and X'400A 'are the characters in the third column. B
The character information code relating to character C in the fourth column is located at addresses X'400C 'and X'400E'.
The character information code relating to the character D in the fifth column is stored at addresses "4010" and X'4012 ', and 6 is stored at addresses X'4014' and X'4016 '.
The character information codes in the columns are stored.

2欄目〜5欄目の文字A,B,C,Dをリバース表示するた
め、1欄目の文字情報コードとして、X‘4000'番地に
F・Atriコードが、X‘4002'番地にリバースコードが
格納されている。また、6欄目の文字情報コードとし
て、X‘4016'番地にF・Atriコードが、X‘4016'番地
には属性無しを示すデフォルトコードが格納されてい
る。
To display characters A, B, C, and D in the second to fifth columns in reverse, as the character information code in the first column, an F • Atri code is stored at address X'4000 'and a reverse code is stored at address X'4002'. Have been. As the character information code in the sixth column, an F • Atri code is stored at address X'4016 ', and a default code indicating no attribute is stored at address X'4016'.

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

この第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 to perform the display processing described in the above section (B), the first line of the display 151 becomes
As shown in FIG. 8 (A), the letters A,
B, C and D are displayed in reverse. However, the character E in column 0
Is not displayed because it is within the non-display period.

次に、文字A〜Dを右に1文字分スクロールするとき
は、第9図の文字情報コード格納部111の内容はそのま
まにして、ポインタテーブル112の各開始アドレスの内
容を2番地だけ少なくなるように書き換える。例えば、
X‘1000'番地にある1行目の開始アドレスの内容は、
X‘1FFE'番地からX‘1FFC'番地に書き換えられる。こ
の書き換え処理は、CPU161によって行われる。
Next, when the characters A to D are scrolled to the right by one character, the contents of the start addresses of the pointer table 112 are reduced by two addresses while the contents of the character information code storage unit 111 in FIG. Rewrite as follows. For example,
The contents of the start address on the first line at the address X'1000 '
Address X'1FFE 'is rewritten to address X'1FFC'. This rewriting process is performed by the CPU 161.

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

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

逆に、第8図(A)の状態から文字A〜Dを左に1文
字分スクロールするときは、第9図の文字情報コード格
納部111の内容はそのままにして、ポインタテーブル112
の各開始アドレスの内容を2番地だけ大きくなるように
書き換える。例えば、X‘1000'番地にある1行目の開
始アドレスの内容は、X‘1FFE'番地からX‘2000'番地
に書き換えられる。
Conversely, when the characters A to D are scrolled one character to the left from the state of FIG. 8A, the contents of the character information code storage unit 111 in FIG.
Is rewritten so that the content of each start address is increased by 2 addresses. For example, the contents of the start address in the first row at the address X'1000 'are rewritten from the address X'1FFE' to the address X'2000 '.

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

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

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

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

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

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

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

第11図において、ポインタテーブル112のX‘1000'番
地に1行目の開始アドレスとしてX‘1FFE'がセットさ
れているとすると、文字情報コード格納部111のX‘3FF
C'番地以降のものが、1行目の各欄の文字情報コードと
なる。すなわち、X‘3FFC'及びX‘3FFE'番地には文字
Fに関する文字情報コードが、X‘4004'及びX‘4006'
番地には同じ漢字文字「亜」の下位の文字情報コード
が、X‘4008'及びX‘400C'番地には英字文字「A」の
文字情報コードが、それぞれ格納されている。更に、X
‘4140'及びX‘4142'番地には漢字文字「亜」の上の文
字情報コードが、X‘4144'及びX‘4146'番地には同じ
漢字文字「亜」の下位の文字情報コードが、X‘4148'
及びX‘414A'番地には英字文字「A」の文字情報コー
ドが格納されている。
In FIG. 11, if X'1FFE 'is set as the start address of the first row at X'1000' in the pointer table 112, X'3FF in the character information code storage unit 111 is assumed.
The data after the address C 'is the character information code in each column of the first line. That is, the character information code relating to the character F is stored at addresses X'3FFC 'and X'3FFE', and X'4004 'and X'4006'.
The address stores the lower-order character information code of the same kanji character "A", and the addresses X'4008 'and X'400C' store the character information code of the alphabetic character "A". Furthermore, X
At the addresses' 4140 'and X'4142', the character information code above the kanji character “A”, and at the addresses X'4144 'and X'4146', the character information code below the same kanji character “A”, X'4148 '
The character information code of the alphabetical character "A" is stored at the address X'414A '.

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

この第11図に示すポインタテーブル112及び文字情報
格納部111を用いて、前述の(B)項で説明した表示処
理を行うことにより、ディスプレイ151の1行目には、
第10図(A)に示すように、その1欄〜80欄目の文字
「亜」,「A」及び「亜」が表示される。しかし、0欄
目の英字文字Fおよび81欄目の文字Xは非表示期間内に
あるため表示されない。
By using the pointer table 112 and the character information storage unit 111 shown in FIG. 11 to perform the display processing described in the above section (B), the first line of the display 151 becomes
As shown in FIG. 10 (A), the characters "A", "A", and "A" in columns 1 to 80 are displayed. However, the alphabetic character F in column 0 and the character X in column 81 are not displayed because they are within the non-display period.

次に、これらの表示内容を右に1文字分スクロールす
るときは、第11図の文字情報コード格納部111の内容は
そのままにして、ポインタテーブル112の各開始アドレ
スの内容を2番地だけ少なくなるように書き換える。例
えば、X‘1000'番地にある1行目の開始アドレスの内
容は、X‘1FFE'番地からX‘1FFC'番地に書き換えられ
る。この書き換え処理は、CPU161によって行われる。
Next, when these display contents are scrolled rightward by one character, the contents of the start address of the pointer table 112 are reduced by two addresses while keeping the contents of the character information code storage unit 111 in FIG. Rewrite as follows. For example, the contents of the start address in the first row at the address X'1000 'are rewritten from the address X'1FFE' to the address X'1FFC '. This rewriting process is performed by the CPU 161.

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

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

したがって、この文字情報コード格納部111及び書き
換えられたポインタテーブル112を用いて、前述の
(B)項で説明した表示処理を行うことにより、1文字
分の右水平スクロールが行われ、ディスプレイ151の1
行目には、第8図(B)に示すように、1欄目に「F」
が、2欄及び3欄目に「亜」が、80欄目に「亜」の前半
分が表示される。なお、81欄目の「亜」の後半分は、非
表示期間内にあるために表示されない。
Therefore, by performing the display processing described in the above item (B) using the character information code storage unit 111 and the rewritten pointer table 112, the right horizontal scroll of one character is performed, and 1
In the row, as shown in FIG.
In the second and third columns, “A” is displayed, and in the 80th column, the first half of “A” is displayed. Note that the latter 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 tearing due to horizontal scrolling.

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

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

この場合、X‘4000'及びX‘4002'番地にある右端の
漢字文字「亜」の上位の文字情報コードは0欄目に入
り、下位の文字情報コードは1欄目に入るので、左端の
漢字文字「亜」は正しく再生される。
In this case, the upper character information code of the rightmost kanji character "A" at addresses X'4000 'and X'4002' is in column 0, and the lower character information code is in column 1, so the leftmost kanji character "A" is played correctly.

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

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

以上本発明の一実施例について説明したが、本発明の
実施例は、この実施例に限定されるものではない。欄数
n,行数m,付加欄数αは、n=80,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. Number of columns
n, the number of lines m, and the number of additional columns α can take values other than n = 80, m = 25, and α = 2. The pointer table may be provided in a case other than the character buffer, and the transfer of the character information code is not limited to the DMA transfer.

〔発明の効果〕〔The invention's effect〕

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

(イ)文字バッファメモリの内容を書き換えることなく
水平スクロール表示を行うことができる。したがって、
水平スクロール処理を簡単化することができる。
(A) Horizontal scroll display can be performed without rewriting the contents of the character buffer memory. Therefore,
Horizontal scroll processing can be simplified.

(ロ)属性情報を持った不定様式の画面の水平スクロー
ルを行うことができる。
(B) Horizontal scrolling of an indefinite-format screen having attribute information can be performed.

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

【図面の簡単な説明】 第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・V)タイミング発生手段、15……表
示手段、16……ホスト、111……文字情報コード格納
部、112……ポインタテーブル、121……文字カウンタ
(Chr・CNT)、131……ラインバッファ、151……ディス
プレイ。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an explanatory diagram of a basic configuration of the present invention, FIG. 2 is an explanatory diagram of a scroll display operation of the present invention, FIG. 3 is an explanatory diagram of a configuration of an embodiment of the present invention, 4 is an explanatory diagram of the character buffer memory of the embodiment, FIG. 5 is an overall operation timing chart of the embodiment, FIG. 6 is an operation timing chart of a horizontal scanning end and start operation portion of the embodiment, 7 is an operation timing chart of a scanning start portion of one horizontal scanning line of the embodiment, FIG. 8 is an explanatory diagram of a horizontal scroll display operation of characters with attribute information in the embodiment, and FIG. 9 is attribute information in the embodiment. FIG. 10 is an explanatory diagram of a character buffer memory at the time of horizontal scroll display operation of attached characters. FIG. 10 is an explanatory diagram of a horizontal scroll display operation of kanji characters in the embodiment. FIG. 11 is a horizontal scroll display of kanji characters in the embodiment. FIG. 12 is an explanatory diagram of a character buffer memory at the time of operation, FIG. 12 is an explanatory diagram of a conventional character display device, FIG. 13 is an explanatory diagram of a display method of the conventional character display device, and FIG. 15 is an explanatory diagram of a buffer memory, FIG. 15 is an overall operation timing chart of a conventional character display device, FIG. 16 is an operation timing chart of horizontal scanning end and start portions of the conventional character display device, and FIG. 17 is a conventional character display device. 6 is an operation timing chart of a scanning start portion of one horizontal scanning line of the display device. In FIG. 1 and FIG. 3, 11 ... Character buffer memory, 12 ... Write / read (R /
W) Control means, 13 ... Character pattern signal generating means, 14 ...
... Horizontal / vertical (H / V) timing generating means, 15 ... display means, 16 ... host, 111 ... character information code storage unit, 112 ... pointer table, 121 ... character counter (Chr.CNT) 131 ... line buffer, 151 ... display.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 村田 英己 川崎市中原区上小田中1015番地 富士通 株式会社内 (56)参考文献 特開 昭58−168089(JP,A) 特開 昭59−29292(JP,A) 特開 昭52−44529(JP,A) 特開 昭59−100493(JP,A) 特開 昭59−105683(JP,A) 特開 昭60−121496(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Hidemi Murata 1015 Uedanaka, Nakahara-ku, Kawasaki Fujitsu Limited (56) References JP-A-58-168089 (JP, A) JP-A-59-29292 (JP) JP-A-52-44529 (JP, A) JP-A-59-100493 (JP, A) JP-A-59-105683 (JP, A) JP-A-60-121496 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】表示手段の各行に表示可能な欄数よりも多
い所定の欄数を1行として、当該表示手段の各欄の文字
に対する属性情報を含む文字情報コードが格納される文
字バッファメモリと、 前記文字バッファメモリ内の各行の開始アドレスを指示
するポインタ・テーブルと、 前記文字バッファメモリに対する書込み及び読出しを制
御し、読出し時は前記ポインタ・テーブルの指示に基づ
いて前記文字バッファメモリから1行分単位で文字情報
コードの読出しを行う書込み・読出し制御手段と、 前記文字バッファメモリより1行分単位で読み出された
各文字情報コードに基づいて表示手段に表示する文字パ
ターン信号を発生する文字パターン信号発生手段と、 前記文字バッファメモリの1行分の欄の内、前記文字パ
ターン信号発生手段で発生された前記表示手段の各行の
表示可能な欄数分の文字パターン信号を表示手段に表示
させ、残りの欄をブランキングするタイミング信号を発
生する水平・垂直タイミング発生手段と、 を備えたことを特徴とする表示制御装置。
1. A character buffer memory in which a predetermined number of columns larger than the number of columns that can be displayed on each line of a display means one line, and a character information code including attribute information on characters in each column of the display means is stored. A pointer table indicating a start address of each line in the character buffer memory; controlling writing and reading to and from the character buffer memory; Writing / reading control means for reading character information codes in line units; and generating a character pattern signal to be displayed on the display means based on each character information code read from the character buffer memory in line units. A character pattern signal generating means, and a character pattern signal generating means for generating a character pattern signal in one column of the character buffer memory. Horizontal and vertical timing generating means for causing the display means to display character pattern signals for the number of displayable columns of each row of the display means, and generating a timing signal for blanking the remaining columns. Characteristic display control device.
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 JPS63282791A (en) 1988-11-18
JP2642350B2 true 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)

Family Cites Families (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
JPS63282791A (en) 1988-11-18

Similar Documents

Publication Publication Date Title
US6005537A (en) Liquid-crystal display control apparatus
JPS5858674B2 (en) cathode ray tube display
JPH0570832B2 (en)
JPS638488B2 (en)
US4581611A (en) Character display system
JP2642350B2 (en) Display control device
US5699498A (en) Technique and apparatus for color expansion into a non-aligned 24 bit RGB color-space format
JPH0234894A (en) Display controller
JP2761335B2 (en) Screen display device
US4882578A (en) Character display device
JPS62166392A (en) Address circuit for multi-panel display unit
JPS63250689A (en) Raster scan display system
EP0420291B1 (en) Display control device
JP3109906B2 (en) Display control method and display control device
JPS622298A (en) Display control system for liquid crystal display crt controller
JP3074378B2 (en) Display control method and device
JP2817483B2 (en) Video display control circuit
JPS6078481A (en) Character display
JP2943067B1 (en) Display control method and device
JP3226939B2 (en) Image display device
JPS60209785A (en) Screen shifter for display unit
JPS63210993A (en) Lcd control system
JPS63131181A (en) Character display device
JPS59184A (en) Division control system
JPS63269192A (en) Display device