JPS59167748A - Information storage device - Google Patents

Information storage device

Info

Publication number
JPS59167748A
JPS59167748A JP58042581A JP4258183A JPS59167748A JP S59167748 A JPS59167748 A JP S59167748A JP 58042581 A JP58042581 A JP 58042581A JP 4258183 A JP4258183 A JP 4258183A JP S59167748 A JPS59167748 A JP S59167748A
Authority
JP
Japan
Prior art keywords
data
writing
memory
character
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP58042581A
Other languages
Japanese (ja)
Inventor
Noboru Murayama
村山 登
Masahiro Ito
正博 伊藤
Toshiya Ogawa
俊也 小川
Takashi Sato
敬 佐藤
Koichi Suzuki
宏一 鈴木
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP58042581A priority Critical patent/JPS59167748A/en
Publication of JPS59167748A publication Critical patent/JPS59167748A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To extend many functions by connecting a hose and an output device without changing specially their functions. CONSTITUTION:An information storage device 100 receives information from a host 200 and writes bit information in a page memory of the device 100 and gives bit information in this page memory to a plotter 300. A host 200 inputs, processes, and accumulates picture information such as character data, coordinate data, bit information, density gradation data, or the like of a word processor, plotting and tabulating device, computer, scanner, keyboard, data accumulating device, etc. The plotter 300 is a recorder capable of dot recording. The plotter is provided as the output device, and the information storage device 100 consists essetially of a microprocessor board 10, page memory 20, pattern memory 30, interface board 40, and a common bus 50. In the initialization just after power-on, a control program in an ROM11 is written in a work memory RAM12.

Description

【発明の詳細な説明】 ■技術分野 本発明は、コンピュータ、ワードプロセッサ。[Detailed description of the invention] ■Technical field The present invention relates to a computer and a word processor.

入力ボード9作図装置等々の情報処理装置(以下単にホ
ストと称する)の指示に応じて、ビット情報分布のペー
ジデータを作成して、プロッタ。
Input board 9 Creates page data of bit information distribution in response to instructions from an information processing device (hereinafter simply referred to as host) such as a plotter, and serves as a plotter.

CRTディスプレイ等々の出方装置に出力する情報記憶
装置に関し、特に、インテリジェントインターフェイス
とでも呼称される如き、データ処理をも行なう情報処理
装置に関する。
The present invention relates to an information storage device for outputting to an output device such as a CRT display, and particularly relates to an information processing device, also called an intelligent interface, which also performs data processing.

■従来技術 従来においては、ホスト自身においてビット情報を作!
戊して出力装置に与えるが、あるいは出力装置にキャラ
クタゼネレータなどとバッファメモリを備えて出方装置
でビット情報を作成してプリントアウf〜、ディスプレ
イ等を行なっている。
■Prior art In the past, the host itself created bit information!
Alternatively, the output device may be equipped with a character generator or the like and a buffer memory, and the output device may generate bit information for printing, display, etc.

シタ力って、ホスト自身の処理規格ならびに出方装置の
処理規格がそれぞれ厳密に定まっており、相互に結線し
て使用し得るホストニ出カ装置の組合せは極く限られて
おり、各種の不便がある。たとえば動作モードを変えた
くても不可能であり、文字とグラフの作文偏集は出来る
がピントイメージの偏集は出来ない。ビットイメージと
中間調イメージの偏集は出来るが文字の作文偏集は出来
ないなどの不便がある。したがって、ホストや出力装置
の機能を格別に変更することな゛く、それらの間を結ん
で、多くの機能を拡張する情報記憶装置、すなわちイン
テリジェントインターフェイスの出現が望まれる。
When it comes to output power, the processing standards of the host itself and the output device are strictly determined, and the combinations of host output devices that can be connected to each other are extremely limited, resulting in various inconveniences. There is. For example, even if you wanted to change the operating mode, it would be impossible, and although it is possible to concentrate text and graphs in a concentrated manner, it is not possible to concentrate images in focus. There are inconveniences such as being able to collect bit images and halftone images, but not writing text. Therefore, there is a desire for an information storage device, ie, an intelligent interface, that connects the host or output device and expands many functions without significantly changing the functions of the host or output device.

■目的 本発明は、ホスl−および出力装置の機能を格別に変更
することなく、ホスト−出力装置の各種の組合せを可能
にする情報記憶装置を提供することを第1の目的とし、
ボスト−出力装置の組合せの機能を拡張する情報記憶装
置を提供することを第2の目的とし、1ペ一ジ全体ある
いは1ページの指定領域に、文字文章(テキス(−モー
ト)、中間調イメージ(中間調モード)およびピントイ
メージ(ビットイメージモード)を選択的に、あるいは
必要に応じて重ね合せて、ビット情報を作成する情報記
憶装置を提供することを第3の目的とし、文章文字、中
間調イメージおよびビットイメージそれぞれの訃込領域
処理が比較的に簡単で、それらの整合性かある情報記憶
装置を提供することを第4の目的とする。
■Objective The first object of the present invention is to provide an information storage device that enables various combinations of host and output device without particularly changing the functions of the host and output device.
The second purpose is to provide an information storage device that expands the functionality of the Bost-output device combination. The third objective is to provide an information storage device that creates bit information by selectively or as needed superimposing a focused image (halftone mode) and a focused image (bit image mode). A fourth object of the present invention is to provide an information storage device in which processing of corrupted areas of tone images and bit images is relatively simple and consistent.

・、り構成 以下図面に示す実施例に基・づき゛本発明を説明する。・Constitution The present invention will be explained below based on embodiments shown in the drawings.

第1図に本発明の1実施例の構成概略を示す。FIG. 1 shows a schematic configuration of one embodiment of the present invention.

第1図において、100が本発明の一実施例である情報
記憶装置であり、ホスト200から情報を受けて、装置
100のページメモリにビット情報を書・込み、プロッ
タ300に該ページメモリのビット情報を与える。
In FIG. 1, an information storage device 100 is an embodiment of the present invention, which receives information from a host 200, writes bit information to a page memory of the device 100, and writes bit information to a plotter 300 in the page memory. give information.

ホス1〜200は、ワードプロセッサ、作図・作表装置
、コンピュータ、スキャナ、キーボード、データ蓄積装
置等々の、文字データ、座標データ。
The hosts 1 to 200 are character data and coordinate data of word processors, plotting/tableting devices, computers, scanners, keyboards, data storage devices, etc.

ビット情報、;震度階調データ等々の画像情報を入力、
処理、蓄′vL等を行なうものである。
Input image information such as bit information, seismic intensity gradation data, etc.
It performs processing, storage, etc.

プロッタ300はドラ1−記録しうる記録装置である。The plotter 300 is a recording device that can perform one-drum recording.

なお、出力装置としてはプロッタの他に。Note that the output device can be used in addition to a plotter.

CRTディスプレイであってもよく、また、コンピュー
タ、ワードプロセッサ、データ蓄積装置などの情報処理
装置であってもよい。
It may be a CRT display, or it may be an information processing device such as a computer, word processor, or data storage device.

情報記憶装置100は、大きくは、マイクロプロセッサ
(以下CPUと略称する)ボード10゜ページメモリ2
0.パターンメモリ30.インターフェイスボード40
およびコモンバス50で構成されている。電源オン直後
の初期化において、ROMIIの制御プログラムがワー
クメモリRA’M12に書き込まれる。
The information storage device 100 mainly includes a microprocessor (hereinafter abbreviated as CPU) board 10 and a page memory 2.
0. Pattern memory 30. Interface board 40
and a common bus 50. At initialization immediately after power-on, the ROMII control program is written into the work memory RA'M12.

第2図に、CPUボード10の電気要素の構成・を示す
。CPUボード10は、制御プログラムを格納したRO
MII、ワークメモリとしてのRAM12.マイクロプ
ロセッサ(CPU)13゜クロックパルス発生器14.
制御信号デコード回路15.アドレスランチ回路1G、
データバスドライバ17.データバッファ18.パリテ
ィチェック回路19.アドレスマルチプレクサ11aJ
kメモリリフレツシユ制御回路12a、バスタイミング
パルス発生器13a、アドレスバスバッファ14a、デ
ータバスバッファ15a、リードライ1−コントロール
1’6a、割込制御回路17a、タイマ18aおよびコ
モンバス50を含む。
FIG. 2 shows the configuration of electrical elements of the CPU board 10. The CPU board 10 is an RO that stores a control program.
MII, RAM12 as work memory. Microprocessor (CPU) 13° Clock pulse generator 14.
Control signal decoding circuit 15. address launch circuit 1G,
Data bus driver 17. Data buffer 18. Parity check circuit 19. Address multiplexer 11aJ
It includes a k memory refresh control circuit 12a, a bus timing pulse generator 13a, an address bus buffer 14a, a data bus buffer 15a, a read/write 1-control 1'6a, an interrupt control circuit 17a, a timer 18a, and a common bus 50.

第3図にページメモリ20の構成を示す。ページメモリ
20は、64 K13itのD−RAM  144個を
1024 K 13yt、eメモリアレイとしたメモリ
アレイ1−2 ] 、アドレスマルチプレクサ22.入
出力バノファ23.リフレッシ゛ユ制御回路24および
ユニソ1〜選択回路25で構成されている。
FIG. 3 shows the configuration of the page memory 20. The page memory 20 includes a memory array 1-2 consisting of 144 64K13it D-RAMs as a 1024K13yt, e-memory array, an address multiplexer 22. Input/output banofer23. It is composed of a refresh control circuit 24 and a UNISO 1 to selection circuit 25.

第4図にパターンメモリ30の構成を示す。パターンメ
モリ30は5文字パターン(1文字縦48ライン=48
ドツト、横3 Byte== 24ドツト)のビン1〜
情報と、濃度階調パターン(■パターン8×8ドツト)
のビット情報とを記憶するメモリアレイ31を備える。
FIG. 4 shows the configuration of the pattern memory 30. The pattern memory 30 has 5 character patterns (1 character 48 vertical lines = 48
Dot, horizontal 3 Bytes == 24 dots) Bin 1~
Information and density gradation pattern (■pattern 8 x 8 dots)
A memory array 31 is provided for storing bit information.

文字パターンは、日本語文字、アルファベラ1〜.数字
、およびその他の所要の文字および記号を含み、濃度階
調パターンはコン1−ラスl−,11淡等の調子が異ケ
る4グループ、各グ・ル−プ64パターン(64階調)
で計4×64パターンを含む。パターン情報り30は、
メモリアレイ3jの他に、メモリアレイ31にパターン
情報を書込み、メモリアレイ31よりパターン情報を読
み出すための、メモリアドレスセレクタ32.メモリバ
ンクセレクタ33.タイミングパルス発生器34および
バッファ35を備える。
The character pattern is Japanese characters, Alphabella 1~. Contains numbers and other required characters and symbols, and the density gradation patterns are 4 groups with different tones such as contrast 1-, 11 light, etc., and each group has 64 patterns (64 gradations).
Includes a total of 4 x 64 patterns. The pattern information 30 is
In addition to the memory array 3j, there is also a memory address selector 32 for writing pattern information into the memory array 31 and reading pattern information from the memory array 31. Memory bank selector 33. A timing pulse generator 34 and a buffer 35 are provided.

J2は接続端子部を示す。J2 indicates a connection terminal portion.

第5図にインターフェイスボー210の構成を示す。イ
ンターフェイスポード40は、ホスト200とのインタ
ーフェイスであるセントロニクスインターフェイス41
.プロッタ300とのインターフェイスであるプロッタ
インターフェイス42、その他の外部機器とシリアルで
データのやり取りをするシリアルインターフェイス44
゜D M A (Direct Memory Acc
ess)コントローラ43、バスインターフェイス45
2人出カバソファメモリ46 、 R5232C(パラ
レルインターフェイス)47およびR54224,8で
構成されている。
FIG. 5 shows the configuration of the interface board 210. The interface port 40 is a Centronics interface 41 that is an interface with the host 200.
.. A plotter interface 42 is an interface with the plotter 300, and a serial interface 44 is a serial interface for exchanging data with other external devices.
゜DMA (Direct Memory Acc
ess) controller 43, bus interface 45
It consists of a two-person sofa memory 46, an R5232C (parallel interface) 47, and an R54224,8.

セントロインターフェイス41は、パラレルインターフ
ェイスであり、ホスト200よりのデ〜りを受は入れる
。プロッタインターフェイス42は出力インターフェイ
スであり、ページデータをプロッタに出力する。シリア
ルインターフェイス44は双方向インターフェイスであ
り、データの送出および受は入れkする。バッファメモ
リ46は、ワークメモリ、ピッ1−メモリ(ページメモ
リ)の一部として波長用に使用可である。
The centro interface 41 is a parallel interface and receives data from the host 200. Plotter interface 42 is an output interface and outputs page data to a plotter. The serial interface 44 is a bidirectional interface, and allows data to be sent and received. The buffer memory 46 can be used for wavelengths as part of the work memory, p1-memory (page memory).

次に、各要素の機能を更に詳細に説明する。Next, the functions of each element will be explained in more detail.

メモリユニット21 メモリユニット21は、アドレス区分上、4サブページ
に分けられ、更に、各サブページが4バンクに分けられ
ている。この様子を第6図に示す。
Memory Unit 21 The memory unit 21 is divided into four subpages based on address classification, and each subpage is further divided into four banks. This situation is shown in FIG.

第6図のアドレスの数値表示はヘキサデシマルノーテー
ションである(通常はHであわらされる)。
The numerical representation of the address in FIG. 6 is in hexadecimal notation (usually represented by H).

DMA転送を行なう場合は、DMAコントローラ43が
CPU Noを持っているため、コントローラ43の、
CPU]3に対応する110エリアに、転送データのP
AGENOをIIIRITIEL、DMAコン1−ロー
ラ43を制御する。
When performing DMA transfer, since the DMA controller 43 has the CPU No.
Transfer data P is placed in the 110 area corresponding to CPU] 3.
AGENO is controlled by IIIRITIEL, and the DMA controller 1-roller 43 is controlled.

メモリユニット2Jのメモリ消去のときには、PAGE
NOは任意とし、I10エリアにMSBビットONデー
タを1ilRITE L、8000B−8F”FFFH
の64KByteにデータを書込む。64Byte単位
で全メモリ同時に書込みができる。データ(消去で「0
」)を書込むと、第6図の矢印の方向に、64Byte
単位に同時に同一データが書き込まれる。したがって、
メモリ消去時間が極く短い。
When erasing the memory of memory unit 2J, PAGE
NO is optional, and the MSB bit ON data is set in the I10 area.
Write data to 64KByte. All memories can be written simultaneously in 64-byte units. Data (delete “0”
"), 64 bytes are written in the direction of the arrow in Figure 6.
The same data is written to the unit at the same time. therefore,
Memory erasing time is extremely short.

インターフェイスポート40 プロッタインターフェイス42は、プロッタ300から
のクロックに同期し、DMAコントローラ43の動作に
従ってメモリユニット30のデータを転送する。
Interface Port 40 The plotter interface 42 is synchronized with the clock from the plotter 300 and transfers data in the memory unit 30 according to the operation of the DMA controller 43.

DMAコントローラ43は、300Byje単位のブロ
ック転送をし、300Byjeの転送が終る度にコモン
ハス50をCPU]、3に返す。プロッタ300へのコ
マンド、プロッタからのステータスは、CPU 13に
よって読み出される。
The DMA controller 43 performs block transfer in units of 300 Byje, and returns the common hash 50 to the CPU 3 every time the transfer of 300 Byje is completed. Commands to the plotter 300 and status from the plotter are read by the CPU 13.

セントロニクスインターフェイス41は、 CPU13
又はDMAコントローラ43とホスト200の間のデー
タ転送を制御する。CPU13で直接データを読み込む
場合、ホスト200からのストローブ信号で割込みを発
生し、CPU13のデータ読み込みによりアクルノジ信
号、を発生する。DMAコントローラ43てのデータ1
耘送では、DMAコントローラ43に、ストローブ信号
を受信する度にDMA要求を出す。データがメモリに格
納されるとアクルソジ信号を発生する。
The Centronics interface 41 is the CPU 13
Alternatively, it controls data transfer between the DMA controller 43 and the host 200. When the CPU 13 directly reads data, an interrupt is generated by a strobe signal from the host 200, and an accrual signal is generated by the CPU 13 reading the data. Data 1 of DMA controller 43
In the transmission, a DMA request is issued to the DMA controller 43 every time a strobe signal is received. When data is stored in the memory, an accross signal is generated.

シリアルインターフェイス44は、DMAコントローラ
43又はCI”’U1’3でのデータのシリアル送受信
を制御する。DMAコン1〜ローラ43を用いる場合、
シリアルインターフェイス44は、送信バッファが空に
なった時あるいは、受信バッファにデータが入力されと
きにDMAを要求する。CPU]、3で直接送受信デー
タを扱う場合には、割込みを発生しCPU13にサービ
スの要求をする。
The serial interface 44 controls serial transmission and reception of data in the DMA controller 43 or CI"'U1'3. When using the DMA controller 1 to roller 43,
The serial interface 44 requests DMA when the transmit buffer is empty or when the receive buffer is filled with data. [CPU], 3 directly handles transmitted/received data, generates an interrupt and requests service from the CPU 13.

バッファメモリ46は、アドレスがFCOOO〜F D
 F F t;のメモリであり、CPU]3およびDM
Aコン1−ローラ43でアクセス可能である。ディツプ
スインチをオフにすることにより、メモリ46はディス
エーブルになる。
The buffer memory 46 has addresses FCOOO to F D
memory of F F t;, CPU]3 and DM
It can be accessed by A controller 1-roller 43. By turning off the dip switch, memory 46 is disabled.

次にI)MAコン]〜ローラ43のセット手順を説明す
ると、まずコマンドレジスタを指定し、バンクNOを指
定し、DMA転送アドレスを指定し、DMA転送りyt
、e数を指定し、モードレジスタを指定し、マスクレジ
スタをリセットする。これによりDMAが開始される。
Next, I) MA controller] ~ To explain the setting procedure of the roller 43, first specify the command register, specify the bank number, specify the DMA transfer address, and then specify the DMA transfer address.
, specify the number of e, specify the mode register, and reset the mask register. This starts DMA.

DMAを終了するとマスクレジスタをセットする。When DMA is finished, the mask register is set.

プロッタインターフェイス42は、プロッタ300のス
テータスを読んで、記録可であればDMAコントローラ
43をセットし、コマンドを指定してセットする。コマ
ンドを指定したときに、割込によるデータ転送が開始さ
れ、全、ラインのデータ転送を設定枚数相当回数全終了
すると、DMAマスクレジスタをセットする。
The plotter interface 42 reads the status of the plotter 300, sets the DMA controller 43 if recording is possible, and specifies and sets a command. When a command is specified, data transfer by interrupt is started, and when the data transfer for all lines has been completed a number of times equivalent to the set number of sheets, the DMA mask register is set.

セントロニクスインターフェイス41は、DMA転送の
とき、DMAコントローラ43をセットし、その後割込
でデータの転送をして、終了するとDMAマスクレジス
タをセントする。
The Centronics interface 41 sets the DMA controller 43 at the time of DMA transfer, then transfers data using an interrupt, and when completed, cents the DMA mask register.

シリアルインターフェイス44は、DMA転送のとき、
DMAコントローラ43をセットし、シリアルモードを
セントし、シリアルコマンドをセットする。こ九により
割込によるデータ転送が開始される。データの転送を終
了すると、DMAマスクレジスタをセットする。
During DMA transfer, the serial interface 44
Set the DMA controller 43, set the serial mode, and set the serial command. This starts data transfer by interrupt. When the data transfer is completed, the DMA mask register is set.

ページメモリのピントマツプ、データ転送、コマンド形
式等々は次の通りである。
The page memory focus map, data transfer, command format, etc. are as follows.

(1)基本形態 a、ページメモリのビットマツプ、サイズ縦3296ビ
ツト(ライン)X横2400ビン1−4V2Byte 
 X  300Byteb、ピッ1〜マツプ否込方式 全面一括水平順次走査(外部クロック同期による) C,ヒツトマツプ読出し方式 全面一括水平方向順次走査(外部クロック同期による) d、データ転送モード(受信) イ)文章(テキスト)モード ロ)中間調モード ハ)ビン1〜イメージモード e、中間調表現 4種(4クループ)の階調 各グループは64の濃度階調 1つの濃度パターンは8×8ドツト正方形マトリクス f、ビットマツプ対応のプリント面積 縦279mm X横203mm (2)ページメモリのビットマツプ a、水平方向4分割(4サブペ一ジ分割)1サブページ
824ライン(ビット) X 2400ビツト。各サブ
ページは4バンクで構成。
(1) Basic form a, page memory bitmap, size 3296 bits (vertical) x 2400 bins (horizontal) 1-4V 2 Bytes
X 300 Byteb, Pip 1 - Map rejection method Full horizontal sequential scanning (by external clock synchronization) C. Hitmap read method Full horizontal sequential scanning (by external clock synchronization) d. Data transfer mode (receiving) A) Text ( Text) Modero) Halftone mode C) Bin 1 to Image mode e, 4 types of halftone expression (4 groups) Each group has 64 density gradations One density pattern is 8 x 8 dot square matrix f, bitmap compatible Print area: 279 mm long x 203 mm wide (2) Page memory bit map a, horizontally divided into 4 (divided into 4 subpages) 1 subpage 824 lines (bits) x 2400 bits. Each subpage consists of 4 banks.

b、アドレス指定方式 開始位置指定相対アドレス(開始位置は絶対アドレス)
。左上が座標原点。
b. Addressing method Start position specified relative address (start position is absolute address)
. The coordinate origin is at the top left.

開始アドレスは各モートイ)1口)、ハ)共通でX(水
平:横)方向をByte (8Bite)単位。
The starting address is common to each motoy) and c) in the X (horizontal) direction in Byte (8 Byte) units.

y (垂直:縦)方向もByte(8Bite : 8
1ine)単位。
The y (vertical: vertical) direction is also Byte (8Bite: 8
1ine) unit.

b、アドレス単位 水平方向 Byte単位(左から右へ)垂直方向 1i
ne単位(上から下へ)C3終了アドレス指定 終了アドレスは、開始位置を基準とする相対アドレスで
あり、データのカウント数に相当する。
b, Address unit horizontal direction Byte unit (from left to right) vertical direction 1i
ne unit (from top to bottom) C3 end address specification The end address is a relative address with respect to the start position, and corresponds to the count number of data.

イ)のテキストモー1くでは、無指定。文字サイズ、文
字ピンチ、LF量(ライン送り量)および行数により定
まる。
In the text mode 1 of b), there is no specification. It is determined by the character size, character pinch, LF amount (line feed amount), and number of lines.

口)の中間調モードでは、水平方向は区数(]、 13
yLe単位)、垂直方向も区数(81j、ne : J
[1yte)。
In the halftone mode of (mouth), the horizontal direction is the number of wards (], 13
yLe unit), the vertical direction is also the number of sections (81j, ne: J
[1yte).

ハ)のピッ1−イメージモー1くでは、水平方向Byt
、e単位、垂直方向は1ine(ビット)単位。
In the P1-Image mode 1 of c), the horizontal Byte
, e unit, vertical direction is 1ine (bit) unit.

d、有効データ ピッ1へマツプメモリ (縦3296 X横2400ド
ツト)内に書込める範囲。この範囲(書込可能領域)を
はみ出す分のデータ(ビット)は無効となる。
d. Range that can be written in the map memory (3296 dots vertically x 2400 dots horizontally) to valid data pin 1. Data (bits) that exceed this range (writable area) are invalid.

イ)のテキストモードの場合は、実在するア1(レスの
最大を越えない範囲。
In the case of text mode (a), the range does not exceed the maximum number of existing a1 (responses).

(3)データ転送 a、ギャラクタデータ(文字コードデータ)の英字、 
数字、 カナハJ I S  C−6220ニ準拠。8
単位符号による。漢字モードの場合は、JTS  C−
6226準拠。
(3) Data transfer a, alphanumeric characters of galactor data (character code data),
Numbers, based on Kanaha JIS C-6220. 8
By unit sign. In Kanji mode, JTS C-
6226 compliant.

b、中間調濃度データ 1 Byte/区 ;  Binary  (0−63
)区=パターン=8×8ビット なお、機能キャラクタコードが0〜31の32種であっ
て、Bynaryコードの0〜31を専有し、しかも3
2γ120には英字、数字および記)が割り当てられて
いるので、これらとの混同を防ぐために、濃度階調0〜
63を指定するデータは、実数値を示す値に128を加
えた値とし、その解読のときには、階調データの内容よ
り128を減算して実階調指示値を求める。
b, halftone density data 1 Byte/block; Binary (0-63
) Ward = pattern = 8 x 8 bits Note that there are 32 functional character codes from 0 to 31, which occupy binary codes 0 to 31, and 3
2γ120 is assigned alphabetical characters, numbers, and notations, so to prevent confusion with these, density gradations 0 to 120 are assigned.
The data specifying 63 is a value obtained by adding 128 to the value indicating the real value, and when decoding it, 128 is subtracted from the content of the gradation data to obtain the actual gradation indication value.

C,ビットイヌ1ジデータ 1ピント/pel  ;  Byte単位MOB・・・
L(左端画素)   LSB・・・R(右端画素)d、
数値データ Binary  ; ByIZe単位 e、データ転送順 MSDからLSDへ(しからRへ:左端IByシeから
順次に右方のByteを転送)。
C, bit dog data 1 pint/pel; Byte unit MOB...
L (leftmost pixel) LSB...R (rightmost pixel) d,
Numerical data Binary; ByIZe unit e, data transfer order from MSD to LSD (From the bottom to R: transfer the right Byte sequentially from the leftmost IBy shee).

f、制御コード JIS C−6220,8単位符号による機能キャラク
タコード及びESCコード併用による拡張制御コード。
f, control code JIS C-6220, an extended control code using a function character code based on 8-unit code and an ESC code.

ESCコード使用によるコマンドはSPで完結する。S
l’ =Space 。
Commands using ESC codes are completed with SP. S
l'=Space.

なお、上記機能キャラクタコードが0〜31の32種で
あって、Bynaryコードの0〜31を専有し、しか
も32〜120には英字、数字および記号が割り当てら
れているので、これらとの混同を防ぐために、濃度階調
0〜63を指定するデータは、実数値を示す値に128
を加えた値とし、その解読のときには、階調データの内
容より128を減算して実階調指示値を求める。
Note that the above functional character codes are 32 types from 0 to 31, and 0 to 31 of the binary codes are exclusive, and letters, numbers, and symbols are assigned to 32 to 120, so please avoid confusion with these. To prevent this, the data specifying density gradations 0 to 63 should be changed to 128 to the value indicating the real value.
When decoding it, 128 is subtracted from the content of the gradation data to obtain the actual gradation indication value.

(4)制御コマンド 制御コマンドの内容は次の通りである。(4) Control command The contents of the control command are as follows.

a、コマンドの形式 %式% b、領域指定コマンドの形式 F、SC+(炭字)+xlx2 yl y2 +cIC
2C3C4+5pxIx2:水平開始アドレス(絶対ア
ドレス)y1y2:垂直開始アドレス(絶対アドレス)
CIC2:水平終了アドレス(相対アドレス)C3C4
:垂直終了アドレス(相対アドレス)相対アドレスは、
開始アドレス力1らのカウント値。各アドレスデータは
2ノベイト。英字Iまモード指定又はコマンド種男すを
示す。
a, Command format % expression % b, Area specification command format F, SC+ (charcoal) +xlx2 yl y2 +cIC
2C3C4+5pxIx2: Horizontal start address (absolute address) y1y2: Vertical start address (absolute address)
CIC2: Horizontal end address (relative address) C3C4
: Vertical end address (relative address) Relative address is
Count value of starting address force 1 et al. Each address data is 2 Novates. The alphabetic character I indicates mode designation or command type.

C,デフオールド モードはテ・キストモード、開始アドレスit座柵原点
C. Default mode is text mode, start address is the origin of the seat fence.

d、モード指定 テキス、トモ、−ド ESC+A+xl X2 yl Y2+SP中間調モー
ドおよびビットイメージモードの終了時には自動的にテ
キストモード(デフォルト)に戻るので、また、テキス
トモード力)ら他のモードには必らずモート指定力;あ
るので、テキストモードで番よ終了アドレス指定(よな
い。
d, Mode specification text, tomo, -do ESC+A+xl Since there is no need to specify the end address in text mode.

中間調モード ESC+ G + n + 5P n=o〜4;  n=oは中間調モード終了を、n =
 1〜4は4グループの階調種方すのそれぞれを指定す
る。
Halftone mode ESC+G+n+5P n=o~4; n=o ends halftone mode, n=
1 to 4 designate each of the four groups of gradation types.

ビットイメージモード ESC+B+xl x2 y1y2 +cIC2C3C
4+5PC1書込形式 %式% n:!:0又は1;n=oはメモリクリア&書込。
Bit image mode ESC+B+xl x2 y1y2 +cIC2C3C
4+5PC1 writing format % expression % n:! :0 or 1; n=o is memory clear & write.

n = 1は重ね書き(メモリデータと転送データのO
R)。データは記録で「1」、非記録でr]4である。
n = 1 means overwriting (memory data and transfer data O
R). The data is "1" for recording and r]4 for non-recording.

n = 2は排他的論理和(exe、OR)の書込であ
る。
n = 2 is exclusive OR (exe, OR) writing.

f、ページメモリ全体消去 ESC+ E + SP g、ページメモリの部分消去 [ESC+D+x+ xy ’!+ 3’2 +CI 
C2C3C4+SPアドレスは81ine単位である。
f, Entire page memory erase ESC+E+SP g, Partial page memory erase [ESC+D+x+xy'! +3'2 +CI
The C2C3C4+SP address is in 81ine units.

b 、文字サイズ指定 ESC+ S + n 十SP n = n=5;n=0は等倍(リセット)、n=1は
横1倍で縦1/2倍、n=2は横1倍で縦2倍、n=3
は横2倍で縦1倍、n=4は横2倍で縦172倍、n=
5は横2倍で縦2倍を指示する。
b, Specify font size ESC + S + n 10SP n = n = 5; n = 0 is equal size (reset), n = 1 is 1x width and 1/2x height, n = 2 is 1x width and 1/2x height. 2x, n=3
is 2 times the width and 1 time the height, n=4 is 2 times the width and 172 times the height, n=
5 indicates double width and double height.

n = Oは文字サイズリセットを指示し、1ノセツト
(デフォルト)で等倍にセットされる。
n=O instructs to reset the character size, and is set to the same size by 1 noset (default).

i1文字間スペース ESC+ H+n +5P n=o〜32で、スペースをドツト単位で示す。i1 character space ESC+H+n+5P n=o to 32, and spaces are shown in dots.

j0行簡スペース ESC+V 十n + SP nは81ineを一単位とする数。デフォルト番よn 
= 0゜ k、プリント&メモリクリア ESC十P+n+SP −二〇〜99で、プリントアウトの回数(ページメモリ
転送回数)を表わす。担しn = O1,t n = 
1と見なす。
j0 line simple space ESC+V 10n + SP n is a number with 81ine as one unit. Default number
= 0°k, print & memory clear ESC 10P+n+SP -20 to 99 represents the number of printouts (number of page memory transfers). Carrier n = O1, t n =
It is considered as 1.

■、プリント&ノンクリア ESC十N +n十SP n = 0〜99で、プリントアウトの回数(ページメ
モ′り転送回数)を表わす。担しn = Ofよn =
 1と見なす。
(2) Print & Non-Clear ESC 1N + n 1SP n = 0 to 99, representing the number of printouts (number of page memo transfers). Carrying n = Ofyo n =
It is considered as 1.

m、復帰(CR)の定義 ESC十R十n + SP n = 0はCRのみ、n = lはCRなしの改行L
Fのみ。
m, definition of carriage return (CR) ESC + R + SP n = 0 is CR only, n = l is line feed L without CR
F only.

n = 2はCRと改行LFの両者。n = 2 is both CR and line feed LF.

n、改行(LF)の定義 [ESC+ F 十n + SP n = 0はしFのみ、n = 1はCRのみ、n =
 2はCRとLFの両者。
n, definition of line feed (LF) [ESC + F + SP n = 0 is only F, n = 1 is only CR, n =
2 is both CR and LF.

なお、CR,LFの定義設定用のディップスイッチがあ
り、上記n)、、n、の定義がコマンドされていないと
きは、ディップスイッチで設定された定義に従かう。
Note that there are dip switches for setting the definitions of CR and LF, and when the definitions of n), , n, above are not commanded, the definitions set by the dip switches are followed.

0、復帰 ゛ CR P、改行 LF 上記構成と、ROMIIに格納している制御プログラム
により、情報記憶装置100は概略で次の特徴を有する
0, return ゛CR P, line feed LF With the above configuration and the control program stored in the ROMII, the information storage device 100 has the following characteristics.

(1)メモリユニット21は、プロッタ300の一頁処
理分の画素数(ドツト数=ビット数)以上のメモリ(ペ
ージメモリ)を有し、 イ)ホスト200からの文字コードを文字パターンデー
タ(ビットパターン:ピクセル)に変換してメモリユニ
ット21の、ホスト200より指定された領域に書込む
、 口)ホスト200からの濃度階調(以下中間調という)
データを網点化疑似中間調パターンに変換(中間調デー
タに対応する中間調パターンのビット情報続出)してメ
モリユニット21の、ホスト200より指定された領域
に書込む、 ハ)ホスト200からのビットデータ(ピクセル)をそ
のままビットイメージとしてメモリユニット21の、ホ
スト200より指定された領域に書込む、という3つの
モードでページメモリをビット(ピクセル)で作成する
。1頁内で3モー1−の切換えが可能である。
(1) The memory unit 21 has a memory (page memory) that is equal to or more than the number of pixels (dot number = bit number) for processing one page of the plotter 300, and (a) converts character codes from the host 200 into character pattern data (bit (pattern: pixels) and written in the area specified by the host 200 of the memory unit 21;
Converting the data into a halftone pseudo halftone pattern (bit information of the halftone pattern corresponding to the halftone data continues) and writing it into the area specified by the host 200 of the memory unit 21; c) From the host 200 A page memory is created using bits (pixels) in three modes: bit data (pixels) are written directly as bit images into an area designated by the host 200 in the memory unit 21. It is possible to switch between 3 modes and 1- within one page.

(2)メモリュごット21への書込みは、各モードの書
込開始位置を画素単位の数で2のn乗(実施例ではn 
= 3 )として行なう。n≦5が好ましい。   1
(3)上記(2)において、ハ)のビットイメージモー
トにおいては、指定領域の終りを規定する終了位置指定
を、開始位置と同一アドレス単位の、開始位置からの相
対値で指定する。
(2) Writing to the memory card 21 is performed by setting the writing start position of each mode to the nth power of 2 in pixel units (n in the embodiment).
= 3). It is preferable that n≦5. 1
(3) In the above (2), in the bit image mode (c), the end position designation that defines the end of the specified area is specified by a relative value from the start position in the same address unit as the start position.

(4)上記(2)において1、書込開始位置は、特にホ
ス1〜200からの指゛定がないときは、装置1θ0の
起動直後(電源投入から始めてデータを受けたとき)の
場合はピント情報をメモリユニット21の座標原点から
沓込み、他の場合には、その直前に指定した開始位置を
復帰位置とし、直前の終了モードがハ)   (のピッ
1〜イメージのときは復帰改行位置から、また、イ)の
文字パターンや口)の中間調パターンのときはその直前
に終了したアドレスの次を指定ア1−レスとする。
(4) In (2) above, the write start position is immediately after the start of the device 1θ0 (when data is received for the first time after the power is turned on), especially when there is no specification from the host 1 to 200. The focus information is imported from the coordinate origin of the memory unit 21, and in other cases, the start position specified immediately before is the return position, and the previous end mode is C). In the case of a character pattern (A) or a halftone pattern (A), the address following the address that ended immediately before is designated as the designated address.

(5)メモリデータ1〜21の1頁分のメモリデータの
出   (力回数がホス1〜200から指定可能であり
、その回数のデータ出力後にメモリユニット21のデー
タを保持するか、消去するかもホスト200から指定可
能である。
(5) Outputting one page of memory data from memory data 1 to 21 (The number of outputs can be specified from host 1 to 200, and the data in memory unit 21 may be retained or deleted after the data output for that number of times. It can be specified from the host 200.

:6)ホスト200からのデータとメモリユニット21
のメモリデータとの、ホスト200から指示された論理
演算が可能であり、演算結果をホスト200から旧定さ
れた領域に更新メモリす・る。論理演算としでは、論理
和(OR) 、排他的論理和(Exc、OR) 、ホス
トデータの優先書込み、ホストデータの反転書込み。
:6) Data from host 200 and memory unit 21
It is possible to perform logical operations instructed by the host 200 on the memory data of the host 200, and update the result of the operation from the host 200 to a predetermined area. Logical operations include logical sum (OR), exclusive OR (Exc, OR), priority writing of host data, and inverted writing of host data.

メモリデータの反転書込みおよびメモリ消去である。These are inversion writing of memory data and memory erasing.

;7)メモリユニット21のメモリデータは、プロッタ
300の速度に同期し5てプロッタ300に転送する。
;7) Memory data in the memory unit 21 is transferred to the plotter 300 in synchronization with the speed of the plotter 300.

18)ホスト200から装置100への命令を解釈する
標やコマンドテーブルを有し、ホスト200からのロー
ドを受は入れてコマンドテーブルを書換えてこれを命令
解釈に用いて、ホスト200からのコマンドテーブル変
更を可能とした。
18) It has a mark and a command table for interpreting commands from the host 200 to the device 100, accepts loads from the host 200, rewrites the command table, uses this for command interpretation, and reads the command table from the host 200. allowed for changes.

19)上記(8)において、コマンドの形式は機能文字
コード、文字コードおよびパラメータ(数字コート)で
構成され、それぞれの使用個数は可変長(限定されてい
ない)である。
19) In (8) above, the command format consists of a functional character code, a character code, and a parameter (numeric code), and the number of each used is variable length (not limited).

〔10)上記(8)および(9)において、コマンドテ
ーブルは可変長71−リクスであり、その行および列の
長さが可変長(IIIN定されていない)セある。
[10] In (8) and (9) above, the command table has a variable length of 71-x, and the lengths of its rows and columns are variable length (IIIN undefined).

(11)上記(8)〜(10)において、各コマンドは
各カラムに割当てられており、各カラムは、コマンドに
使用する文字数分の行と、文字コードの終りを示す行と
、パラメータの大きさを示す行と、処理ルーチンを示す
行、に対応する行数であり、各カラムの文字コードの終
了を示す行は「0」とされ、使用カラム列(コマンド列
)の終りは第1列の行(機能文字コート列)を「0」と
して判別するようにしている。
(11) In (8) to (10) above, each command is assigned to each column, and each column includes a line for the number of characters used in the command, a line indicating the end of the character code, and a line for the parameter size. The number of lines corresponds to the line indicating the command line and the line indicating the processing routine, and the line indicating the end of the character code of each column is set to 0, and the end of the used column string (command string) is the first column. The line (function character code string) is determined as "0".

(12)文字パターンの等倍メモリ2縮少メモリおよび
拡大メモリが可能であり、ホスト200からの文字サイ
ズの指定に応じてこれらのモードで文字パターンデータ
(ビット)をメモリユニット21にメモリする。
(12) Character pattern equal size memory 2 Reduced memory and enlarged memory are possible, and character pattern data (bits) are stored in the memory unit 21 in these modes according to character size specification from the host 200.

(13)上記(12)において、縦方向サイズと横方向
サイズとが別個に選択可能であり、ホスト200の指示
に応じた縦、横サイズで文字パターンデータ(ビット)
をメモリュニッ1〜21にメモリする。
(13) In (12) above, the vertical size and horizontal size can be selected separately, and character pattern data (bits) are set in vertical and horizontal sizes according to instructions from the host 200.
is stored in memory bits 1 to 21.

(14)オリジナル文字パターンのドツトマトリクス構
成(ビットデータ分布)は、書込位置指定の際のアドレ
ス単位の整数倍(1以上)であり、文字間スペースは、
該アドレス単位の整数倍(0を含む)であってホスト2
00から指定できる。
(14) The dot matrix structure (bit data distribution) of the original character pattern is an integral multiple (1 or more) of the address unit when specifying the writing position, and the space between characters is
An integer multiple (including 0) of the address unit and host 2
It can be specified starting from 00.

(15)上記(14)において、文字パターンのドツト
マトリクス構成は縦方向がアドレス単位の2倍の整数倍
であり、文字行間スペースはアドレス単位の整数倍(0
を含む)で、任意にホスト200力Nら指定できる。
(15) In (14) above, the dot matrix structure of the character pattern has an integral multiple of twice the address unit in the vertical direction, and the space between character lines is an integral multiple of the address unit (0
), you can arbitrarily specify the host 200 force N etc.

(16)中間調パターンは4種類)(4グループ)であ
LJ、各グループ64個(64階調)である。前記(1
)の口)番;おいて、メモリユニット21の、ホスト2
00の指定する領域に、ホスト200の指定する中間調
ノ(ターングループの中から、ホスト200からの階調
データ(#度データ)で指定される中間調ノ(ターンを
特定して、そのパターンを書込む。
(16) There are 4 types of halftone patterns (4 groups), LJ, and each group has 64 patterns (64 gradations). Said (1
), the host 2 of the memory unit 21
In the area specified by 00, specify the halftone number (turn) specified by the host 200 with the tone data (# degree data) from the host 200 from the turn group, and write the pattern. Write.

(17)上記(16)において、階調データの転送番;
先だちホスト200が中間調を知らせた(宣言した)と
きは、階調データは所定位置に少なくともIBitの属
性データ(階調データであることを示すデータ)を含む
]Byl;eを階調データとして解釈する。
(17) In (16) above, the transfer number of gradation data;
When the host 200 first notifies (declares) a halftone, the tone data includes at least IBit attribute data (data indicating that it is tone data) at a predetermined position]Byl;e as tone data. Interpret.

(18)上記(17)において、 IByteの階調デ
ータには、階調グループを指定する複数Bitの属性デ
ータ(グループを示すデータ)を含む。
(18) In (17) above, the IByte gradation data includes multiple bits of attribute data (data indicating the group) that specifies the gradation group.

(19’)上記(J6)において、ホスト200が階調
記憶の書込領域(閉領域:始端アドレスと終端アドレス
)を指定データを転送する。
(19') In the above (J6), the host 200 transfers the data specifying the write area (closed area: start end address and end address) of gradation storage.

このように書込領域を指定する場合には、ホスト200
はffI調グループを指定する属性データをも転送する
When specifying the write area in this way, the host 200
also transfers attribute data specifying the ffI tone group.

(20)ホスト200は、コマンドで機能文字コードの
CR(プロッタ復帰)およびLF(プロッタ改行)の定
義をすることが出来る。
(20) The host 200 can define the functional character codes CR (plotter return) and LF (plotter line feed) using commands.

(21)ホスト200からCR,LFの定義が無い場合
(デフオールド)は、これらの定義を定める指定スイッ
チの状態による定義に従かう。
(21) If there is no definition of CR or LF from the host 200 (default), the definitions according to the state of the designated switch that defines these definitions are followed.

(22) D MAコントローラ43を備えており、メ
モリュニッ1〜21からプロッタ300へのイメージデ
ータ(ピクセル)の転送は、DMAコントローラ43に
より一担8ビットバッファに転送し、プロッタ300の
記録動作に同期するシリアルデータに変換してプロッタ
に300に出力する。
(22) Equipped with a DMA controller 43, image data (pixels) are transferred from memory units 1 to 21 to the plotter 300 by the DMA controller 43 to an 8-bit buffer, and synchronized with the recording operation of the plotter 300. The data is converted into serial data and output to a plotter.

(23)DMAコントローラ43は、ホスト200との
データ入出力にも適用でき、ホスト200とのデータ゛
転送は、データを一担CPU13のアキュムレータ番;
取込んでから送出するCPUモードと、DMAコントロ
ーラ43で転送するDMAモードで転送可能である。
(23) The DMA controller 43 can also be applied to data input/output with the host 200, and when transferring data with the host 200, the data is transferred to the accumulator number of the CPU 13;
Transfer is possible in the CPU mode in which the data is captured and then sent out, and in the DMA mode in which the data is transferred by the DMA controller 43.

次の第1表に、標準コマンドテーブルの内容を示す。Table 1 below shows the contents of the standard command table.

前記第、1表のカラム1〜ユ6のそれぞれとコマンドの
内容との対比は次の第2表に示す通りである。
A comparison between each of columns 1 to 6 of Table 1 and the contents of the command is shown in Table 2 below.

第2表 **メモリデータのインバースは、ページメモリのデー
タを反転して更新メモリすることを指定する。コマンド
は、ESC+I + n + SPであり、n=0は陽
画(メモリの反転なし)指示であり、n = 1が反転
(陰画)書換えを指示する・。
Table 2 **Memory data inversion specifies that the data in the page memory is inverted and updated. The command is ESC+I+n+SP, where n=0 is a positive image (no memory inversion) instruction, and n=1 is an inversion (negative image) instruction for rewriting.

***コマンドテーブルの書換えは、第1表に示すテー
ブルの内容の伺加および変更を指示する。
*** Rewriting the command table instructs additions and changes to the contents of the table shown in Table 1.

コマンドは、ESC+X+z1z2 Z3 Z4 z5
25 +spテあり、ZlはカラムMを指定する数値を
示すデータ、22〜Z6はそれぞれロウN=1〜4に書
込む情報データである。
The command is ESC+X+z1z2 Z3 Z4 z5
25 +spte, Zl is data indicating a numerical value specifying column M, and 22 to Z6 are information data to be written in rows N=1 to 4, respectively.

次に、CPU13の、ROMIIに格納されている制御
プログラムに基づいた動作を説明する。
Next, the operation of the CPU 13 based on the control program stored in the ROMII will be explained.

まず概要を示す第7図を参照する。電源が投入されると
CPU]、3は、初期化を経て、変数宣言をしてサブル
ーチンの定義をしてメインプログラムに進む。変数宣言
においては、制御プログラム中で使用するすべての変数
の定義をする。サブルーチンの定義では、メインプログ
ラムおよび他のサブルーチンから呼び出されるサブルー
チンを定義しておく。プログラムを構成する各処理部分
を出来るだけサブルーチン化しており、それを呼出すこ
とによってデータの処理が実行されてゆく。サブルーチ
ンの主なものは第7図に示す(ア)〜(マ)である。サ
ブルーチンには、1つの処理だけを行なう要素サブルー
チンと、それらを呼出して、まとまった処理を行なう複
合サブルーチンとがある。
First, reference is made to FIG. 7 which shows an overview. When the power is turned on, the CPU 3 undergoes initialization, declares variables, defines subroutines, and proceeds to the main program. In variable declaration, define all variables used in the control program. In subroutine definitions, subroutines that are called from the main program and other subroutines are defined. Each processing part that makes up the program is made into subroutines as much as possible, and data processing is executed by calling these subroutines. The main subroutines are (a) to (ma) shown in FIG. Subroutines include elemental subroutines that perform only one process, and compound subroutines that call these subroutines and perform a set of processes.

メインプログラムは、一連のデータ処理が実行されるよ
うに、要素サブルーチン又は複合サブルーチンを処理過
程類に呼出し、それを繰返す。
The main program calls elemental subroutines or compound subroutines into a process class and repeats them so that a series of data processing is performed.

メインプログラムの初期設定においては、サブルーチン
(力)を呼出して書込領域設定用テーブルに読み書き領
域(電源投入直後は座標原点)を設定する。次いでサブ
ルーチン(ニ)・を呼出してコマンドテーブルに第1表
の如く標準コマンドを書込む。
In the initial setting of the main program, a subroutine (force) is called to set a read/write area (coordinate origin immediately after power is turned on) in the write area setting table. Next, subroutine (d) is called to write standard commands as shown in Table 1 into the command table.

更に、サブルーチン(ア)を呼出して初期値(デフォル
ト)を設定する。そして、サブルーチン(イ)を呼出し
てページメモリ(31)全体を消去する。そして命令(
コマンド)の到来を待つ。
Furthermore, subroutine (a) is called to set initial values (defaults). Then, subroutine (a) is called to erase the entire page memory (31). and the command (
command).

命令が到来するとデータ処理に進む。データ処理におい
ては、まずサブルーチン(ヌ)を呼出して命令(コマン
ド)を解釈し、次にサブルーチン(へ)を呼出してコマ
ンド中のパラメータを処理して設定する。次にサブルー
チン(ネ)を呼出して命令で指示された処理操作を選択
する。処理操作を選択すると、該処理操作を実行するサ
ブルーチンに従ってメモリ読み沓き等の処理を行なう。
When a command arrives, data processing begins. In data processing, first a subroutine (nu) is called to interpret an instruction (command), and then a subroutine (to) is called to process and set parameters in the command. Next, a subroutine (N) is called to select the processing operation specified by the command. When a processing operation is selected, processing such as memory reading is performed according to a subroutine that executes the processing operation.

処理を終了すると、データ処理の前の命令待期に戻る。When the processing is completed, the process returns to the command waiting state before data processing.

次にサブルーチンのそれぞれを第8図〜第39図を参照
して説明する。
Next, each of the subroutines will be explained with reference to FIGS. 8 to 39.

(ア)初期設定(第8図) 開始アドレス入力レジスタSAX (x座vA)および
5xy(y座標)をクリアし、開始アドレス記憶レジス
タxAo+t(x座標)およびVADR(y座標)をク
リアし、仮想ビットマツプ空間座標レジスタX、■をク
リアする。次に文字パターンおよび中間調パターンの】
領域(区画)の横(x)を3バイト(24ドツト)に、
縦を6ハイト(48トソh=48ライン)に設定し、文
字間スペースを1バイ1−(8ドソ1−)に、行間スペ
ースを0に設定し、英小文字コードを英大文字コー1−
に変換すること(コマンドが大文字で構成されているの
で、小文字で入力があっても読取る目的でこの変換が行
なわれる)を指示するフラグSWを、オフ(変換せず)
にセラ1−シ、パターンテーブル(文字キャラクタメモ
リ&濃度階調パターンメモリ)の参照を、テキストモー
ド(文字キャラクタ指定)にセットし、復帰動作CRを
n = O相当の復帰CRのみに設定し、改行動作LF
をn = O相当の改行LFのみに設定し、文字サイズ
をn = 0の等倍にセットし、重ね書き(OR書き)
なしにセットし、反転書換なしにセットし、プリント枚
数(ページメモリデータのプリンタ300への転送回数
)を1にセットする(以上デフォルト設定)。書込領域
は、実際の書込領域より外れたもの(つまり書込なし)
にセットする。
(A) Initial settings (Figure 8) Clear start address input register SAX (x coordinate vA) and 5xy (y coordinate), clear start address storage register xAo+t (x coordinate) and VADR (y coordinate), and set virtual Clear bitmap space coordinate registers X and ■. Next, the character pattern and halftone pattern]
Set the horizontal (x) of the area (section) to 3 bytes (24 dots),
Set the vertical height to 6 heights (48 toso h = 48 lines), set the character spacing to 1 by 1- (8 doso 1-), set the line spacing to 0, and change the lowercase alphabetic character code to uppercase alphabetic characters by 1-.
(Since the command consists of uppercase letters, this conversion is performed for the purpose of reading even if the input is in lowercase letters.) Turn off (no conversion)
Then, set the pattern table (text character memory & density gradation pattern memory) reference to text mode (text character specification), set the return action CR only to the return CR corresponding to n = O, Kai action LF
Set only the line feed LF equivalent to n = O, set the font size to the same size as n = 0, and overwrite (OR writing)
Set it to none, set it to no rewriting, and set the number of prints (number of times page memory data is transferred to the printer 300) to 1 (default settings). The writing area is outside the actual writing area (that is, no writing)
Set to .

(イ)メモリ全体消去(第9図) 全領域同時書込をセットし、書込領域先頭アドレス(バ
イト単位)に0(非記録データ)を書込み5、順次にそ
れを次のアドレスに転送する。
(b) Erase the entire memory (Figure 9) Set simultaneous writing to all areas, write 0 (non-recorded data) to the first address (in bytes) of the writing area5, and sequentially transfer it to the next address. .

65535(1バンク分のバイト数)回この転送をする
と全メモリの消去が完了する。すなわち、全16バンク
のデータが同時並行で消去される。
After performing this transfer 65,535 times (the number of bytes for one bank), erasing of the entire memory is completed. That is, data in all 16 banks are erased simultaneously.

(つ)DMA出力(第10図) プロッタ300がレディであると、サブページカウンタ
(レジスタ)をクリアし、読出しラインを1にセットし
、装置100−プリンタ300の間のハードウェアをリ
セットし、読出しバンクを7にセントし、DMA許可を
設定してポートおよびインターフェイスにDMA動作モ
ードを指定し、アドレスを0とし、転送バイトカウンタ
に304を設定し、割込を禁止してサブページを0に設
定してブロック300へのDMA転送を開始する。転送
バイ1−カウンタの内容がOになると゛、アドレスをま
た0に設定し転送バイトカウンタにまた304を設定し
てDMAを起動する。
(1) DMA output (Figure 10) When the plotter 300 is ready, clears the subpage counter (register), sets the read line to 1, resets the hardware between the device 100 and the printer 300, Set read bank to 7, set DMA enable and specify DMA operating mode for ports and interfaces, set address to 0, set transfer byte counter to 304, disable interrupts and set subpage to 0. and starts DMA transfer to block 300. When the contents of the transfer byte 1-counter become 0, the address is set to 0 again, the transfer byte counter is set to 304 again, and the DMA is activated.

□以下転送バイト数が304になる毎に(転送バイ1−
カウンタの内容が0になる毎に)、読出しラインを次の
ラインに移し、1バンクの読出しを終了すると次のバン
クの読出しに進み、■サブページの読出しを終了すると
次のサブページに読出しを進める。
□Every time the number of transferred bytes reaches 304 (transfer bytes 1-
(Each time the contents of the counter becomes 0), the read line is moved to the next line, and when reading of one bank is completed, reading of the next bank is proceeded, and when reading of a subpage is completed, reading is started to the next subpage. Proceed.

読出しライン数が3296になると、DMAを禁止し、
割込を許可し1このサブルーチンを終了する。
When the number of read lines reaches 3296, DMA is prohibited,
Enable interrupts and end this subroutine.

(1)プリント(第1工図) プロッタ300がレディであると、前述の(つ)DMA
出力を実行し、それを終了するとプリン1へ設定枚数よ
り1を減算して残値が0であれば、プリンl−後メモリ
消去が設定されていれば(イ)メモリ全体消去のサブル
ーチンを実行し、(ア)初期設定のサブルーチンを実行
してからメインルーチンに復帰する。プリント後メモリ
消去が設定されていなければ、メモリ全体消去を実行し
ないで(ア)初期値設定サブルーチンに進む。プリント
枚数残値か0になるまでこのプリン1−サブルーチンを
繰り返えす。
(1) Printing (first construction drawing) When the plotter 300 is ready, the above-mentioned (1) DMA
Execute the output, and when it is finished, subtract 1 from the set number of prints for print 1, and if the remaining value is 0, if memory erase after printing is set (a) Execute the subroutine for erasing the entire memory (a) Execute the initial setting subroutine and then return to the main routine. If memory erasure after printing is not set, proceed to the (a) initial value setting subroutine without executing the entire memory erasure. This print 1 subroutine can be repeated until the remaining number of prints reaches 0.

(オ)書込領域・アドレス設定(第12図)現在の書込
みラインが3296(これは実効アドレスでは存在しな
い)になっていると1ペ一ジ全体の書込を終了している
ので、該書込ライン数より3296を減算した値(0)
に書込みラインを変更する(これにより書込の先頭に戻
る)。書込ラインが3295以下であると続けて書込み
が出来るので、バンクおよびサブページの切換えが必要
かどうかを見て、必要であればバンクあるいはサブペー
ジを切換える。切換えが必要でないときには、書込絶対
アドレスに1ライン分304バイトの数を加えて書込み
位置を次のラインに進める。そして書込みラインカウン
タ(レジスタ)の内容を1増してこのサブフローを終了
する。
(E) Writing area/address setting (Figure 12) If the current writing line is 3296 (this does not exist in the effective address), writing for the entire page has been completed, so the corresponding The value obtained by subtracting 3296 from the number of written lines (0)
Change the writing line to (this returns you to the beginning of writing). If the write line is 3295 or less, continuous writing is possible, so check whether it is necessary to switch banks and subpages, and if necessary, switch banks or subpages. When switching is not necessary, the number of 304 bytes for one line is added to the write absolute address to advance the write position to the next line. Then, the contents of the write line counter (register) are incremented by 1 and this subflow is ended.

(力)書込領域設定用テーブル(バンクおよびサブペー
ジの設定)(第13図) ライン数(ラインカウンタの内容)を引数とする、ライ
ン数、に割り当てられたバンクNoおよびサブページN
oをメモリしたテーブルがあり、このテーブルを参照し
てバンクNoおよびサブページNOを求めて、書込領域
として割り当てるバンクおよびサブページを設定する。
(Power) Writing area setting table (bank and subpage settings) (Figure 13) Bank No. and subpage N assigned to the line number, with the line number (contents of the line counter) as an argument.
There is a table in which the number o is stored, and by referring to this table, the bank number and subpage number are determined, and the bank and subpage to be allocated as the write area are set.

第13図は、テーブルを参照して得られるバンクおよび
サブページの割り付けを示している。
FIG. 13 shows the bank and subpage allocation obtained by referring to the table.

(キ)半角文字(標準)(第14図) 文字パターンメモリ(キャラクタメモリ)は横3バイ1
−1縦48ラインであり、これらの全ピント24 X 
4Bを1列に並べた形でキャラクタメモリに格納されて
いる。このデータが一担半角文字バッファに同じく1列
の並びで格納される。
(g) Half-width characters (standard) (Fig. 14) Character pattern memory (character memory) is 3 by 1 horizontally.
-1 vertical 48 lines, all of these lines are in focus 24
It is stored in the character memory in the form of 4B arranged in a row. This data is stored in a single column in the same half-width character buffer.

ライン数カウンタCをまずクリアし、次の絶対アドレス
■yの計算および絶対アドレスvvよ゛す304(バイ
ト、304は1ライン分のバイト数)を減算した値を絶
対アドレスとする。この減算はこのサブルーチンの要素
サブルーチンである、前述の(オ)書込領域・アドレス
設定・の第3ステツプで絶対アドレスに304を加算し
て書込み領域を1ライン進めているので、その分補正す
るためである。以下に説明するその他のサブルーチンで
の304の減算も同様な意味である。
First, the line number counter C is cleared, and the value obtained by calculating the next absolute address y and subtracting 304 (bytes, 304 is the number of bytes for one line) from the absolute address vv is set as the absolute address. This subtraction is done by adding 304 to the absolute address and advancing the write area by one line in the third step of the above-mentioned (e) Write area/address setting, which is an element subroutine of this subroutine, so correct it by that amount. It's for a reason. Subtraction in 304 in other subroutines described below has the same meaning.

上記のように絶対アドレスyyを設定すると、(オ)書
込領域・アドレス設定に進み、それを抜けると、設定さ
九たバンクに半角文字バッファのデータをメモリする。
When the absolute address yy is set as described above, the process proceeds to (e) write area/address setting, and after exiting there, the half-width character buffer data is memorized in the set bank.

このメモリ操作において、半角文字バッファには、文字
パターンの横ならびの第1列(第0ライン)の3バイト
(24ドツト)が第1ブロツクの3バイトとして、第2
列(第1ライン)の3バイトが第2ブロツクの3バイト
として、・・・・そして最後に第48列(第47ライン
)の3バイトが最後の第48ブロツクとしてメモリされ
ているので、書込みライン数Cに3を乗じた位置(0,
3,6,9・・・)から連続3バイト毎を設定されたバ
ンクにメモリする。すなわち、1列配列のパターンデー
タピッ1へを横3バイトX縦48ラインに変換してペー
ジメモリに書込む。
In this memory operation, the half-width character buffer contains the 3 bytes (24 dots) of the first column (line 0) of the character pattern as the 3 bytes of the first block, and the second
The 3 bytes of the column (first line) are stored as the 3 bytes of the second block, and finally the 3 bytes of the 48th column (47th line) are stored as the final 48th block, so the write The position where the number of lines C is multiplied by 3 (0,
3, 6, 9, . . . ), every 3 consecutive bytes are stored in the set bank. That is, the pattern data pin 1 arranged in one column is converted into 3 horizontal bytes x 48 vertical lines and written into the page memory.

(り)半角半長文字(第15図) こ九においては、横3バイト×48ラインのパターンデ
ータを1列で格納した文字バッファより、書込みライン
数Cに6を乗じた位置(0,6,1,2,+8.・・・
)から後3バイト毎を読んで設定されたバンクにメモリ
する。すなわち文字の偶数番ラインのデータを捨でたデ
ータが横3バイトX縦24ラインに変換されてページメ
モリに書込まれる。
(ri) Half-width, half-length characters (Figure 15) In this example, from the character buffer that stores pattern data of 3 horizontal bytes x 48 lines in one column, write the number of lines C multiplied by 6 (0, 6 ,1,2,+8...
) and stores it in the set bank. That is, the data obtained by discarding the data of even numbered lines of characters is converted into 3 horizontal bytes x 24 vertical lines and written into the page memory.

(ケ)半角倍長文字(第16図) これにおいては繰り返し書込みカウンタccが用いられ
る。横3バイhX4gラインのパターンテ゛−夕を1列
で格納した文字バッファより、書込みライン数Cに3を
乗じた位置(0,3,6,9,・・・)がら後3バイト
毎を読んで設定されたバンクにメモリし、更に書込ライ
ンを改めて同じ3バイトが次のラインにも書込まれる。
(g) Half-width double-length characters (Fig. 16) In this case, a repeat writing counter cc is used. Read every 3 bytes from the character buffer that stores the pattern data of horizontal 3 bytes h x 4g lines in one row starting from the position (0, 3, 6, 9, ...) where the number of lines to write is multiplied by 3. The data is stored in the bank set by , and the write line is changed and the same 3 bytes are written to the next line as well.

すなわち、一度目の書込みが終るとカウンタCCが1カ
ウントアツプされ、書込ラインを改めてまた同じ3バイ
トが書込まれてカウンタCCが更にカウントアツプされ
てカウント値が2となり、そこでカウンタCCがクリア
される。
That is, when the first write is completed, the counter CC is incremented by 1, the same 3 bytes are written to the write line again, the counter CC is further incremented, and the count value becomes 2, and then the counter CC is cleared. be done.

すなわち文字の各ラインのデータ2ラインに渡って2度
書きしたデータが横3バイト×縦96ラインに変換され
てページメモリに書込まれる。
That is, data written twice over two lines of data for each line of characters is converted into 3 bytes horizontally by 96 lines vertically and written into the page memory.

(コ)全角文字(第17図) これにおいては、横3バイト×48ラインのパターンデ
ータを1列で格納した全角文字バッファに、文字各ライ
ンの各ビットを続けて2度書きして、全角文字バッファ
に、同じビット情報を連続2ビットに格納した1列のピ
ント情報が格納される。したがって全角文字バッファは
1文字パターンのビット数の2倍の、ビット情報を有す
る。全角文字バッファより、書込みライン数Cに6を乗
じた位置(0,6゜1248、・・・)から後6バイト
毎を読んで設定されたバンクにメモリする。すなわち連
続6バイト(情報はlラインの内容)が1ライン分とし
てページメモリに書込まれる。したがって、1列のデー
タが横6バイh(48ドッ1−)×縦48ラインに変換
されてページメモリに書込まれる。
(J) Full-width characters (Figure 17) In this case, each bit of each character line is written twice in succession into a full-width character buffer that stores pattern data of 3 horizontal bytes x 48 lines in one column, and then A string of focus information in which two consecutive bits of the same bit information are stored is stored in the character buffer. Therefore, the full-width character buffer has twice as much bit information as the number of bits of one character pattern. From the full-width character buffer, every 6 bytes from the position (0, 6° 1248, . . . ) where the number of write lines C is multiplied by 6 are read and stored in the set bank. That is, 6 consecutive bytes (information is the contents of 1 line) are written to the page memory as one line. Therefore, one column of data is converted into 6 byes horizontally (48 dots 1-) by 48 vertical lines and written into the page memory.

(す)全角半長文字(第18図) これにおいてもこのルーチンに先行する(セ)全角文字
前処理で上述の(コ)全角文字と同様に全角文字バッフ
ァに文字各ラインの各ビットを続けて2度書きして、全
角文字バッファに、同じビット情報を連続2ビットに格
納した1列のビット情報が格納される。しかし、該バッ
ファよりの読出しが、ライン数X12番目の位置より連
続6バイト毎に行なわれるので、偶数番ラインのデータ
を捨てた形でページメモリに書込まれ、したがって半長
でメモリされる。
(S) Full-width half-length characters (Figure 18) In this case, as well, each bit of each character line is stored in the full-width character buffer in the (C) full-width character preprocessing that precedes this routine in the same way as for the (C) full-width characters described above. is written twice, and a string of bit information in which two consecutive bits of the same bit information are stored is stored in the full-width character buffer. However, since reading from the buffer is performed every 6 consecutive bytes starting from the 12th position of the number of lines, the data is written to the page memory with the data of even numbered lines discarded, and is therefore stored in a half-length memory.

(シ)全角倍長文字(第19図) これにおいてもこのルーチンに先行する(セ)全角文字
前処理で上述の(コ)全角文字と同様に全角文字バッフ
ァに文字各ラインの各ビットを続けて2度書きして、全
角文字バッファに、同じビット情報が連続2ビットに格
納した1列のビット情報が格納される。また、(ケ)の
半角倍長文字の場合と同様に2度書きカウンタCCが用
いられて、同じラインデータ(全角)が連続する2ライ
ンに書込まれるので、ページメモリには、横6ハイト、
×縦96ラインで文字データがメモリされる。
(C) Full-width double-length character (Figure 19) In this case, as well, in the (C) double-width character preprocessing that precedes this routine, each bit of each character line is stored in the double-width character buffer in the same way as for the (C) double-width character described above. is written twice, and a string of bit information in which the same bit information is stored in two consecutive bits is stored in the full-width character buffer. Also, as in the case of half-width double-width characters in (e), the double-write counter CC is used and the same line data (full-width) is written on two consecutive lines, so the page memory has 6 horizontal heights. ,
×Character data is stored in 96 vertical lines.

(ス)中間調パターン(第20図) 中間調の種類(グループ)は4種であり、各グループに
64階調が割り当てらt、各階調が横1バイト(8ビツ
ト)X縦8ライン(8ビツト)=8バイトのパターンで
表わされる。
(S) Halftone pattern (Figure 20) There are four types (groups) of halftones, and 64 gradations are assigned to each group. Each gradation is 1 byte (8 bits) horizontally x 8 lines vertically ( 8 bits) = 8 byte pattern.

第20図でパターン1〜4の表示は、中間調の種類(グ
ループ)を示す。中間調データは、中間調の種類および
濃度階調を指示する。中間調の種類を示すデータはその
ままセーブする。
In FIG. 20, patterns 1 to 4 indicate types (groups) of halftones. The halftone data indicates the type of halftone and the density gradation. The data indicating the type of halftone is saved as is.

まずフローの先頭から説明すると、中間調データより1
28を減算する。これは先にも説明したように、コマン
ドの機能キャラクタコードと英字、記号に0〜120の
番号がJIS C−6220,8単位符号による規格(
アスキーコード)として定められており、本実施例でも
この規格で機能キャラクタコードおよび英字、記号に番
号を割り振っている。そこで、0〜63の階調をそのま
まバイナリで表現すると、識別に混乱が予想されるので
、階調番号0〜63に128を加えた数を階調データと
してポスト200がら装[100に与えることにしてい
る。そこで、この中間調パターンのサブフローで階調デ
ータより128を減算して、階調0〜63そのものを表
わすデータを再現する。次いで、l最小パターンが8バ
イトであるので、階調を表わすデータに8を乗じて階調
パターン読出しアドレスレジスタFにメモリする。
First, to explain from the beginning of the flow, 1 from the halftone data.
Subtract 28. As explained earlier, the command function character code, alphabetic characters, and symbols with numbers 0 to 120 are based on the JIS C-6220, 8-unit code standard (
ASCII code), and in this embodiment, numbers are assigned to functional character codes, alphabetic characters, and symbols according to this standard. Therefore, if the gradations from 0 to 63 are expressed in binary as they are, confusion in identification is expected, so the number obtained by adding 128 to the gradation numbers 0 to 63 is given to the post-200 system [100] as the gradation data. I have to. Therefore, in the subflow of this halftone pattern, 128 is subtracted from the gradation data to reproduce data representing gradations 0 to 63 themselves. Next, since the l minimum pattern is 8 bytes, the data representing the gradation is multiplied by 8 and stored in the gradation pattern read address register F.

次に−、セーブした中間調種類データで読出しパターン
グループを特定して、該グループのF番目から8バイト
(l最小パターンの64ビツト)を順々に読出して半角
文字バッファに転送して、スター1〜アドレスVADR
(パイ1−)に8を乗じてラインレジスタyに格納し、
スター1へアドレスXADRをXレジスタXに格納し、
魯込ラインレジスタCをクリアし、絶対71’レスYY
=304X(1/ MOD 20g)+Xを演算する。
Next, identify a read pattern group using the saved halftone type data, read out the 8 bytes (64 bits of the minimum pattern) from the Fth of the group one by one, transfer them to the half-width character buffer, and start. 1~Address VADR
Multiply (pi 1-) by 8 and store it in line register y,
Store address XADR to star 1 in X register X,
Clear Rakugo line register C and absolutely 71'less YY
Calculate =304X(1/MOD 20g)+X.

すなわち、メモリではX、Yアドレスが連続しているの
で、■を208で割って余りをとりそれに304を乗算
してXを加算して絶対アドレスYYを求める。次にYY
より304を減算した値をY’Vとす−る。次に反転書
込が設定されているか否かを参照し、設定されていなけ
れば第21図に示す通常書込に進み、設定されていると
第22図の反転書込に進む。
That is, since the X and Y addresses are consecutive in the memory, the absolute address YY is obtained by dividing ■ by 208, taking the remainder, multiplying it by 304, and adding X. Next YY
The value obtained by subtracting 304 from the above is set as Y'V. Next, it is checked whether or not reverse writing is set, and if it is not set, the process proceeds to normal writing shown in FIG. 21, and if it is set, the process proceeds to reverse writing shown in FIG. 22.

第21図を参照して通常書込を説明すると、まず前述の
(オ)書込領域・アドレス設定を実行してページメモリ
の書込領域を設定し、次に設定された領域に、書込ライ
ンNoに対応付けて、半角文字バファの各バイトを書込
む、1ラインに1バイトを書込む毎にライン数カウンタ
Cを1カウン1−アップし、カラン1−値が8になると
書込を1終了する。これにより、1最小パターン横1バ
イ1へ、縦8ラインの書込をしたことになる。
To explain normal writing with reference to FIG. 21, first, execute the above-mentioned (e) write area/address setting to set the write area of the page memory, and then write to the set area. Write each byte of the half-width character buffer in correspondence with the line number. Every time you write 1 byte to 1 line, line number counter C is incremented by 1, and when the column 1 value becomes 8, write is started. 1 Finish. As a result, 8 vertical lines have been written in 1 horizontal 1 by 1 minimum pattern.

第22図を参照して反転書込みを説明する。反転書込も
前述の通常書込と同様の手順であるが、各バイトの各ビ
ットを「1」を「0」に、「0」をrlJに反転してペ
ージメモリに書込む点が異なっている。
Inversion writing will be explained with reference to FIG. 22. The inversion write is the same procedure as the normal write described above, but the difference is that each bit of each byte is inverted from "1" to "0" and "0" to rlJ and written to the page memory. There is.

(セ)全角文字前処理 先に説明した(コ)全角文字、(す)全角半長文字およ
び(シ)全角□倍長文字では、全角文字バッファに、文
字パターン(キャラクタ)データの1ピッ1−を横に2
ビツト連続して格納する必要がある。この格納を行なう
のか、この全角文字前処理である。
(C) Full-width character preprocessing For (C) Full-width characters, (S) Full-width half-length characters, and (C) Full-width double-length characters, one pixel of the character pattern (character) data is stored in the double-width character buffer. - sideways 2
Bits must be stored consecutively. The reason for this storage is this full-width character preprocessing.

これにおいては、先ずキャラクタ読出しライン数カウン
タC1をりJノアし、全角文字バッファをクリアし、次
いでキャラクタデータ(横1列に各ラインの3バイトが
順次に並へられている;計3×48バイト)の3バイト
につき、各ヒラ1−を連続2ピッ1〜で全角文字バッフ
ァに書込み、これを終了するとカウンタCを1カン1−
アップし、今度はキャラクタデータの次の3バイトを、
同様にして6バイトにして全角文字レジスタに続けて格
納する。そしてカウンタCをlカラン1−アップする。
In this case, first, the character read line number counter C1 is cleared, the full-width character buffer is cleared, and then the character data (3 bytes of each line are sequentially arranged in one horizontal column; a total of 3 x 48 Write each filler 1- to the full-width character buffer in consecutive 2 bits 1 for each 3 bytes of the byte), and when this is completed, the counter C is set to 1 Kan 1-.
Upload it, and this time write the next 3 bytes of character data,
Similarly, convert it to 6 bytes and store it in the double-byte character register. Then, the counter C is incremented by one.

以下同様である。The same applies below.

カウンタCの内容か144になると、1文字のキャラク
タデータのすへての処理を終っているので、文字指定を
参照して全角文字指定のときには前述の(コ)全角文字
のサブルーチンに、全角半長文字指定のときには(す)
全角半長文字のサブルーチンに、また全角倍長文字指定
のときには(シ)全角倍長文(ソ)パターン処理(第2
4a図および第24b図)パターン(フォント)には、
文字パターンと中間調パターンがある。文字コー1くは
JIS C−6220のアスキーコードに従っており、
この規定によれば、O〜31に機能文字コードが、32
〜120に記号、数字および英字が割り当てられ、12
1〜151は未定義で、152〜210にカタカナ文字
が割り当てられ、211〜230が未定義である。そこ
で、記号、数字、英字およびカタカナはOから順次にコ
ードを割り当てているが、それらの機能文字コー1へ未
定義コード等との混同を防ぐために、ホストとのやり取
りでは、記号、数字および英字は32を加算したコード
とし、カタカナでは64を加算したコードとしている。
When the content of counter C reaches 144, all character data processing for one character has been completed, so if a full-width character is specified by referring to the character specification, the above-mentioned subroutine for full-width characters (C) is executed. When specifying long characters (su)
In the subroutine for full-width half-length characters, and when specifying full-width double-length characters, (C) full-width double-length sentences (X) pattern processing (second
4a and 24b) The pattern (font) includes:
There are character patterns and halftone patterns. The character code 1 follows the ASCII code of JIS C-6220,
According to this regulation, the functional character code is 0-31, 32
Symbols, numbers and letters are assigned to ~120, and 12
1 to 151 are undefined, 152 to 210 are assigned katakana characters, and 211 to 230 are undefined. Therefore, symbols, numbers, alphabetic characters, and katakana are assigned codes sequentially starting with O, but in order to prevent confusion with undefined codes, etc., symbols, numbers, alphabetic characters, and is a code with 32 added, and katakana is a code with 64 added.

そこで文字の場合、コードがO・〜31のとき(データ
<208)、121〜151(7FH<データA 0 
+1)および121〜J51 (DFH<データ)のと
きはエラーとしてこのサブルーチンを終了する。データ
が文字割当範囲のものであると、データ<80Hのとき
(記号、数字および英字のとき)にはデータより32を
減算してそれを文字データとして再生し、データ>9F
11のとき(カタカナ)のときにはデータより64を減
算してそれを文字データとして再生する。これにより、
再生文字データは、数字、記号2英字およびカタカナが
連続コードで割り当てられた文字データに戻る。
Therefore, in the case of characters, when the code is O・~31 (data < 208), 121~151 (7FH < data A 0
+1) and 121 to J51 (DFH<data), this subroutine is terminated as an error. If the data is in the character allocation range, when data < 80H (symbols, numbers, and alphabets), 32 is subtracted from the data and it is reproduced as character data, and data > 9F.
When the number is 11 (katakana), 64 is subtracted from the data and the result is reproduced as character data. This results in
The reproduced character data returns to character data in which numbers, symbols, two alphabetic characters, and katakana are assigned in consecutive codes.

次に、文字コードに144を乗算してこれを文字パター
ンメモリ(キャラクタメモ・))の読出しアドレスFと
する。これは文字キャラクタの1つに144バイ1−が
割り当てられているので、文字データの先頭アドレスを
指定するためである。次に文字データをパターンメモリ
より読出し、スタートアドレスVADR(バイ1−)に
8を乗じてラインレジスタYに格納し、スター1へアド
レスXADRをλレジスタXに格納し、文字指定を参照
して指定された文字サイズの、前述の各種文字サイズの
サブルーチンに進み、それを抜けるとスター1−アドレ
スXADRを次に進める。
Next, the character code is multiplied by 144 and this is set as the read address F of the character pattern memory (character memo). This is to specify the start address of the character data since 144 by 1- is assigned to one of the character characters. Next, read the character data from the pattern memory, multiply the start address VADR (by 1-) by 8, store it in the line register Y, store the address XADR for star 1 in the λ register X, and specify it by referring to the character designation. The process proceeds to the subroutine for the various character sizes described above for the selected character size, and upon exiting therefrom, the star 1-address XADR is advanced to the next step.

中間調モードの場合は、それの濃度階調データはすでに
説明したように128を加算したものであって、128
≦データ≦191であると前述の(ス)中間調パターン
のサブルーチンを実行してスタートアドレスを更新して
このサブルーチンを終了する。データが前記範囲を外れ
ているときにはこのサブルーチンを終り、中間調パター
ンサブルーチンは実、行しない。
In the case of halftone mode, its density gradation data is the sum of 128 as already explained, and 128
If ≦data≦191, the above-mentioned halftone pattern subroutine is executed, the start address is updated, and this subroutine is ended. When the data is outside the range, this subroutine is terminated and the halftone pattern subroutine is not executed.

(り) CR(復帰)動作設定(第25図)このサブル
ーチンでは、(ア)初期値設定(テフオルト)、後述す
る(ヌ)命令解読、あるいはテイソプスインチ読取でレ
ジスタCRに格納し7たCR指定データに基づいてペー
ジメモリの読み書きアドレスを更新する。CR指定デー
タの0はCRのみの実行を指示するので、その場合には
X軸スタートアドレスを最初の開始アドレスに設定する
。CR指定データの1はUFのみの実行を指示するので
、その場合にはy軸スタートアドレスを文字サイズLと
行間スペースV相当のライン数を現在値に加えた値に更
新する。CR指定データの2は、CRとLFを共に指定
するので、その場合にはX軸スタードア1−レスを最初
の開始アドレスに設定し、Y軸スタードアl−レスを文
字サイズI2と行間スペースV相当のライン数を現在値
に加えた値に□更新する。
(i) CR (return) operation setting (Fig. 25) This subroutine performs (a) initial value setting (default), (n) instruction decoding, which will be described later, or register CR stored in register CR by reading the tesops inch. Update the page memory read/write address based on specified data. Since 0 in the CR designation data instructs execution of only CR, in that case, the X-axis start address is set to the first start address. Since 1 in the CR designation data instructs execution of only UF, in that case, the y-axis start address is updated to a value obtained by adding the number of lines corresponding to the character size L and interline space V to the current value. CR specification data 2 specifies both CR and LF, so in that case, set the X-axis star door 1-less as the first start address, and set the Y-axis star door 1-less as the character size I2 and line spacing. □Update the number of lines equivalent to V to the current value.

(チ)LF(改行)設定(第26図) このサブルーチンでは、(ア)初期値設定(デフォルト
)、後述する(ヌ)命令解読、あるいはディップスイッ
チ読取でレジスタLFに格納したLF指定データに基づ
いてページメモリの読み書きアドレスを更新する。LF
指定チータのOはLFのみの実行を指示するので、その
場合にはV軸スタートアドレスを最初の開始アドレスに
設定する。LF指定データの1はCRのみの実行を指示
するので、その場合にはX軸スタートアドレスを文字サ
イズLと行間スペースV相当のライン数を現在値に加え
た値に更新する。LF指定データの2は、 CRとLF
を共に指定するので、その場合にはX軸スター1−アド
レスを最初の開始アドレスに設定し、Y軸スタートアド
レスを文字サイズLと行間スペース■相当のライン数を
現在値に加えた値に更新する。
(H) LF (Line feed) setting (Figure 26) This subroutine performs (A) initial value setting (default), (J) command decoding (described later), or based on LF designation data stored in register LF by dip switch reading. to update the page memory read/write address. LF
Since the specified cheater O instructs execution of only LF, in that case, the V-axis start address is set to the first start address. Since 1 in the LF designation data instructs to execute only CR, in that case, the X-axis start address is updated to a value obtained by adding the number of lines corresponding to the character size L and interline space V to the current value. LF specification data 2 is CR and LF
are specified together, so in that case, set the X-axis star 1-address as the first start address, and update the Y-axis start address to the current value plus the number of lines equivalent to the character size L and line spacing ■. do.

(ツ)セントロニクス入力(冨28図)割込禁止が解除
されると、ホスト200にレディ(受信可)を出力する
。ホスト200よりのデータを受信すると、セントロニ
クスインターフェイス41よりデータを取込み、ホスト
200にビジィ(受信不可)をセットし、外部からの割
込を禁止する。
(T) Centronics input (Figure 28) When the interrupt prohibition is canceled, a ready (receivable) signal is output to the host 200. When data is received from the host 200, the data is taken in from the Centronics interface 41, the host 200 is set to busy (reception not possible), and interrupts from outside are prohibited.

(テ)ビットイメージ処理(第27a図および第27b
図)縦8ライン(1バイト)で一単位のアドレスとして
いるので、これをライン数でのアドレスに変換するため
、■軸スタートアドレスに8を乗算してY軸うインアド
レス■をセットし、X軸はそのままス・タートアドレス
をセットする。そして受信データで指示された領域の横
幅1と縦幅Jを目標値としてセントする。次いでライン
数カウンタCCをクリアし、絶対アドレスYVt!:演
算してそれより304を減算した値を絶対アドレス■v
としてセノ1−する。次に横幅カウンタCをクリアして
反転書込か歪力1を参照し、(ツ)セントロニクス入力
を実行して受信データ(ピッ1−データ)を横幅1分ピ
ットノくツファに格納する。反転書込が指定されて)N
るとさくこ番よ、このときにデータビットのrLJと「
0」を反転して格納する。横幅分1ラインのビットデー
タをピノ1−バッファに格納すると、(オ)書込領域・
アI−レス設定を実行して、クリア後書込が否かを参照
してクリア後書込で゛あれば、設定したバンクにビット
バッファの横幅1ライン分のビットデータを書込み、ラ
イン数カウンタccを1カウントアツプし、また横カウ
ンタCをクリアして横幅1ライン分の受5信とピットバ
ッファァへの書込み、書込領域アドレス設定およびペー
ジメモリの所定バンクへの書込を行なう。ライン数カウ
ンタccの内容がJ+1になると#Jラインの書込を終
了しているので、このサブルーチンを終了する。クリア
後書込が指定されていなかったときには、書込領域アド
レス設定をした後に、ページメモリの設定バンクがらメ
モリバッファに横幅分(c+1パイ1−)のビットデー
タを読出し、ビノトデ゛−タヵウンタBCをクリアして
、重ね書きが指定されているときには、ピットバッファ
の各ビットとメモリバッファの各ピッ1−を並び順に論
理和(OR)をとってピットバッファァに更新メモ゛り
し、1ビットの更新メモリ毎にピノl−データカウンタ
を1カウン1〜アツプし、ビットカウンタBCの内容が
横幅カウンタCの内容を越えると、すなわち横幅1ライ
ン分の論理粕処理をすると、ピットバッファの内容をペ
ージメモリの設定バングに書込み、ライン数カウンタC
Cを1カウントアツプする。排他的論理和か指定されて
いるときには、論理和のときの手順と同様にしてページ
メモリにあったビットデータと、ピットバッファのビッ
トデー夕との排他的論理和をとってピントバッファに更
新メモリしてからページメモリに書込む。
(TE) Bit image processing (Figures 27a and 27b)
Figure) Since one unit address is 8 vertical lines (1 byte), in order to convert this to an address in line numbers, multiply the ■axis start address by 8 and set the Y-axis in-address■. Set the start address on the X-axis as is. Then, the horizontal width 1 and vertical width J of the area specified by the received data are set as target values. Next, clear the line number counter CC and read the absolute address YVt! : The value obtained by subtracting 304 from it is the absolute address ■v
As a Seno 1-. Next, clear the width counter C, refer to the inversion write or distortion force 1, and (2) execute the centronics input to store the received data (pitch 1-data) in the 1-minute width pit nozzle. Reverse writing is specified)N
It's Sakuko's turn. At this time, the data bit rLJ and "
0" is inverted and stored. When one line of bit data corresponding to the width is stored in the pino 1 buffer, (e) the write area
Execute the I-less setting, check whether writing after clearing is performed or not, and if it is writing after clearing, write the bit data for one line width of the bit buffer to the set bank, and write the bit data of one line width of the bit buffer to the set bank, and cc is incremented by 1, and the horizontal counter C is cleared to receive 5 signals of one horizontal line, write to the pit buffer, set a write area address, and write to a predetermined bank of the page memory. When the contents of the line number counter cc reach J+1, writing of line #J has been completed, so this subroutine is ended. If writing after clearing is not specified, after setting the write area address, read bit data for the width (c+1 pie 1-) from the set bank of the page memory to the memory buffer, and set the bit data counter BC. When cleared and overwriting is specified, each bit of the pit buffer and each bit of the memory buffer are logically summed (OR)ed in the order in which they are arranged, and updated memory is stored in the pit buffer. The pinot l-data counter is incremented by 1 for each update memory, and when the contents of the bit counter BC exceed the contents of the width counter C, that is, when the logical residue for one width line is processed, the contents of the pit buffer are paged up. Write to memory setting bank, line number counter C
Increase C by 1 count. When exclusive OR is specified, perform the exclusive OR of the bit data in the page memory and the bit data in the pit buffer and update the memory in the focus buffer using the same procedure as for logical OR. then write it to page memory.

(ト)英/IX文字・大文字変換(第29図)第1表に
示すコマンドテーブルを参照すると、コマンドは英大文
字および数字で構成される。そこで、英小文字であって
もコマンドを解釈しうるように、この変換す′ブルーチ
ンが備なわっている。
(g) English/IX character/capital character conversion (Figure 29) Referring to the command table shown in Table 1, commands are composed of uppercase English letters and numbers. Therefore, a broutine for this conversion is provided so that commands can be interpreted even if they are in lowercase letters.

まず英大文字は96〈データ〈123であるので、これ
を外れていると英小文字である。英小文字は英大文字よ
り32大きいコードであるので、入力コードより32を
減算した値を示すコードを文字コードに訂正する。変換
を終了すると、フラグSWを変換不要を示すオフにセン
トする。
First, an uppercase English letter is 96〈data〈123, so anything outside of this is a lowercase English letter. Since lowercase English letters have a code 32 greater than uppercase English letters, the code representing the value obtained by subtracting 32 from the input code is corrected to the character code. When the conversion is completed, the flag SW is set to OFF, indicating that conversion is not required.

(す)部分消去(第30a図および第30b図)部分消
去は、前述の(テ)ビットイメージ処理と同様にして指
定領域にrQJをメモリすることと等価である。指定領
域全体に「0」をメモリすればよいので、部分消去では
、指定領域のライン毎に、先頭ビットに「0」を書込み
、これをラインに沿って転送することにより行なう。
(S) Partial erasure (FIGS. 30a and 30b) Partial erasure is equivalent to storing rQJ in a designated area in the same manner as the above-mentioned (te) bit image processing. Since it is sufficient to store "0" in the entire designated area, partial erasure is performed by writing "0" in the leading bit of each line in the designated area and transferring this along the line.

(ニ)命令表書込(コマンドテーブルの作表)(第31
図) RAMのコマンドテーブル書込領域アドレスCV=O〜
50(第1表のカラムM)の全データをクリアする。
(d) Command table writing (command table tabulation) (31st
Figure) RAM command table write area address CV=O~
50 (column M in Table 1) is cleared.

これが第1ステツプから第7ステツプまでの内容である
。次、に、各カラム阿およびロウN、ならびにそれらの
71−リクスの交点に、第1表に示すようにデータを書
込む。
This is the content from the first step to the seventh step. Next, write data as shown in Table 1 into each column A and row N and their 71-rix intersections.

(ヌ)命令解読(第32図) ロウNレジスタCxおよびカラムHレジスタC■をクリ
アし、前述のセントロニクス入力でコマンドデータを受
ける。コマンドであれば、データの先頭は必らずESC
であり、その他であればO又は32以上の数を示すデー
タである。そこでデータが0でなく、しかも32以上で
ないと、小文字大文字変換フラグ5Illを参照し、そ
れがオンであると変換要であるので前述の(ト)英小文
字大文字変換を実行する。
(J) Instruction decoding (Fig. 32) Clear the row N register Cx and column H register C■, and receive command data at the aforementioned Centronics input. If it is a command, the beginning of the data must be ESC.
Otherwise, it is data indicating O or a number of 32 or more. Therefore, if the data is not 0 and is not 32 or more, the lowercase/uppercase conversion flag 5Ill is referred to, and if it is on, conversion is necessary, so the above-mentioned (g) lowercase/uppercase conversion is executed.

オフであると変換を終わっているので、そのままデータ
を参照し、入力データの内容と、ロウNレジスタCXと
カラムにレジスタCYの内容で指定されるマトリクス交
点のデータ(第1表)とを比較し、入力データと合致す
るデータが読出されるまでレジスタCxおよびCYの内
容をカウントアンプする。
If it is off, the conversion has finished, so refer to the data as is and compare the contents of the input data with the data at the matrix intersection specified by the contents of the row N register CX and the register CY in the column (Table 1). Then, the contents of registers Cx and CY are counted and amplified until data matching the input data is read out.

すなわち、まず入力データの機能文字コードをコマンド
テーブル(第1表)のロウN=¥)、カラム0〜50(
M=50まで書込が可能であり、第1表の例では阿=1
6まで書込がありN=17〜50は空いている:すべで
「0」が書込まれている)のデータとM=0のものから
順次に1.2,3・・・のちのと比較し、合致するとH
を固定してロウNを順次に1づつ増やしてHとNで特定
されたマトリクス交点のデータと、入力データの機能文
字コード以下のデータとを比較する。
That is, first, enter the function character code of the input data in the command table (Table 1), row N = ¥), columns 0 to 50 (
It is possible to write up to M=50, and in the example in Table 1, A=1.
Up to 6 has been written, and N=17 to 50 are empty: "0" is written in all) data and M=0, sequentially 1, 2, 3, etc. Compare and if it matches, H
is fixed and the row N is sequentially increased by 1, and the data at the matrix intersection specified by H and N is compared with the data below the functional character code of the input data.

ロウN=3のデータを読出して比較しても同じでないと
、阿を1インクレメントして同様なデータ比較をする。
If the data of row N=3 is read and compared and is not the same, A is incremented by 1 and the same data comparison is performed.

ロウNのN=0〜3のデータと入力データとが全く合致
すると、そのときのカラム阿の値が入力コマンドNoで
あり、該カラム阿のロウN=4のデータが、コマンドで
指示されたサブルーチンを示す。デフォルトがテキス1
〜モードであるので、コマンドの機能文字コード部がr
OJのときには、処理指示レジスタOPに(ソ)パター
ン処理(フォノ1〜処理)を指示する0をメモリする。
If the data in row N = 0 to 3 and the input data match exactly, the value in column A at that time is the input command number, and the data in row N = 4 in column A is the one specified by the command. Indicates a subroutine. Default is text 1
~ mode, the function character code part of the command is r.
At the time of OJ, 0, which instructs pattern processing (phono 1 to processing), is stored in the processing instruction register OP.

その他の場合には、入力コマンドデータに合致したデ△
りを有するカラムのロウN=4のデータを指示レジスタ
OPにメモリする。
In other cases, the data matching the input command data is
The data of row N=4 of the column having the following values is stored in the instruction register OP.

(ネ)処理操作選択(第33図) このサブルーチンで、処理指示レジスタoPの内容に従
ったサブルーチンを設定する。処理指示レジスタOPの
内容の0は前述のようにパターン処理(フォント処理)
であるので、このときには(ン)パターン処理を設定す
る。0P=2では(テ)ビットイメージ処理を、0P−
4では(す)部分消去を、0P=5では(イ)メモリ全
体消去を、0P=14では(1)プリン1−を、0P=
16でも(1)プリントを、0P=27では(夕)CR
動作設定を、0P=28では(チ)LF動作設定を、ま
た0P=24では(ホ)命令書換を、設定する。
(v) Processing operation selection (FIG. 33) In this subroutine, a subroutine is set according to the contents of the processing instruction register oP. The content of 0 in the processing instruction register OP indicates pattern processing (font processing) as described above.
Therefore, in this case, (n) pattern processing is set. When 0P=2, (TE) bit image processing is performed as 0P-
4 performs (su) partial deletion, 0P=5 performs (b) entire memory deletion, 0P=14 performs (1) pudding 1-, 0P=
At 16, (1) print, at 0P=27 (evening) CR
When 0P=28, set (H) LF operation setting, and when 0P=24, set (E) instruction rewrite.

())パラメータ計算(1)(第34図)コマンド中の
パラメータがXI X2 y+ !Y2の4個の場合に
は、これらはスタートアドレスを指示している。Xlが
Xアドレスの上位8バイト+X2が下位8バイトryl
がyアドレスの上位8バイト。
()) Parameter calculation (1) (Figure 34) The parameters in the command are XI X2 y+! In the case of four Y2, these indicate the start address. Xl is the upper 8 bytes of the X address + X2 is the lower 8 bytes ryl
is the upper 8 bytes of the y address.

y2が下位8バイトであるので、256Xx1+x2を
スタートアドレスレジスタSAXに、256 x y 
1士y2をスタートアドレスレジスタSAYに格納する
Since y2 is the lower 8 bytes, set 256Xx1+x2 to the start address register SAX, 256 x y
1 and y2 are stored in the start address register SAY.

(ハ)パラメータ計算(2)(第35図)コマンドのパ
ラメータがXI X2 :Y’l V2rCI C2C
3C4の8個の場合には、256Xx1+x2をスター
トアドレスレジスタSAXニ、 256Xy、 +y2
をスタートアドレスレジスタSAYに格納し、C1〜c
4がスタートアドレスからの終了位置(相対アドレス)
を示しているので、256Xc】+c2をXアドレス・
バイトカウンタXADCに、256Xc3 +cルをy
アドレスバイトカウンタYADCに格納し、XADCを
目標バイトレジスタ1に、 YADCの内容(バイト)
に8を乗じた数に更に7を加算した値を目標ライン数レ
ジスタJにメモリする。なお、7を加算するのは、VA
DCが0のとき、それはライン数で0〜7の領域を指す
ので、その終りの7と設定するためである。
(c) Parameter calculation (2) (Figure 35) Command parameters are XI X2 :Y'l V2rCI C2C
In the case of 8 pieces of 3C4, 256Xx1+x2 is the start address register SAX2, 256Xy, +y2
is stored in the start address register SAY, and C1 to c
4 is the end position from the start address (relative address)
, so 256Xc]+c2 is the X address.
Add 256Xc3 + c to the byte counter XADC.
Store address byte counter YADC, XADC to target byte register 1, contents of YADC (bytes)
The value obtained by further adding 7 to the number obtained by multiplying 8 by 8 is stored in the target line number register J. In addition, adding 7 is VA
When DC is 0, it indicates an area of 0 to 7 lines, so it is set to 7 at the end.

(ヒ)パラメータ設定 (1)スタートアドレスパラメータ(第36a図)前述
の(ノンパラメータ計算を実行して、算出したアドレス
をXアドレスレジスタ(現在位置レジスタ)XA’DR
およびXアドレスレジスタに格納する。いず汎もバイト
単位のデータである。
(H) Parameter setting (1) Start address parameter (Figure 36a) Execute the non-parameter calculation described above and store the calculated address in the X address register (current position register) XA'DR
and stored in the X address register. All data is in bytes.

(2)ビットイメージパラメータ(第36b図)前述の
(ハ)パラメータ計算(2)を実行する。X方向はバイ
ト単位、X方向はライン単位である。
(2) Bit image parameters (Figure 36b) Execute the above-mentioned (c) parameter calculation (2). The X direction is in byte units, and the X direction is in line units.

(3)部分消去パラメータ(第36c図)前述の(ハ)
パラメータ計算(2)を実行する。X方向はハイド単位
、X方向はライン単位である。
(3) Partial erasure parameter (Figure 36c) (c) mentioned above
Execute parameter calculation (2). The X direction is in hide units, and the X direction is in line units.

(4)LF動作パラメータ(第36e図)レジスタLF
にLF動作指定コマンドの中のパラメータnの値を格納
する。
(4) LF operation parameters (Figure 36e) Register LF
The value of parameter n in the LF operation designation command is stored in .

(5)中間調モードパラメータ(第36c1図)パター
ンテーブル選択レジスタPTに、中間調モードコマンド
の中のパラメータnの値を格納する。
(5) Halftone mode parameter (FIG. 36c1) Store the value of parameter n in the halftone mode command in the pattern table selection register PT.

n=0(中間調モード終了:デフォルト復帰でテキスト
モード指定と同義)のときには、文字サイズの横Wを3
バイト(半角)、縦りを6バイト(48ライン二全角)
、文字間スペースHを1バイトおよび行間スペース■を
0(デフォルト)に設定する。N=0でないとき(中間
調指示)には、パターンサイズの横−を1バイトに、縦
を1バイト(8ライン)に、パターン間スペースの横1
1および縦■共にOに設定する。
When n=0 (end of halftone mode: return to default, same as specifying text mode), set the width W of the font size to 3.
Byte (half-width), vertical byte 6 bytes (48 lines two full-width)
, set the character space H to 1 byte and the line space ■ to 0 (default). When N is not 0 (halftone instruction), the pattern size is set to 1 byte horizontally, 1 byte vertically (8 lines), and 1 horizontally to the space between patterns.
Set both 1 and vertical ■ to O.

(6)文字間スペースパラメータ(第36f図)文字間
スペースパラメータレジスタHに、文字間スペース指定
コマンドのパラメータnの値を格納する。
(6) Character spacing parameter (Figure 36f) Store the value of parameter n of the character spacing designation command in the character spacing parameter register H.

(7)反転書込パラメータ(第36g図)メモリデータ
のインバース指定コマンドのパラメータnの値を反転書
込指示レジスタREに書込む。
(7) Reverse write parameter (Figure 36g) Write the value of parameter n of the memory data inverse designation command to the reverse write instruction register RE.

(8)プリント後メモリ保持のときのプリント枚数(第
36h図) プリントルノンクリアのコマンドのパラメータnの値を
プリント枚数レジスタCNに格納する。
(8) Number of prints when memory is retained after printing (Fig. 36h) The value of the parameter n of the print non-clear command is stored in the print number register CN.

(9)プリン1〜袋メモリ消去のときのプリント枚数(
第36i図) プリントルクリアのコマンドのパラメータnの値をプリ
ン1一枚数レジスタCNに格納する。
(9) Number of prints when clearing pudding 1 to bag memory (
(FIG. 36i) The value of parameter n of the print clear command is stored in the print number register CN.

(10)CR動作パラメータ(第36j図)レジスタC
RにCR動作指定コマンドの中のパラメータnの値を格
納する。
(10) CR operation parameters (Figure 36j) Register C
The value of parameter n in the CR operation designation command is stored in R.

(11)文字サイズ選択パラメータ(第36に図)文字
サイズレジスタSに、文字サイズ指定コマンドのパラメ
ータIIの値を格納し、格納した値(、、)が0のとき
には、模りを3バイト(半角層こ、縦しを6バイ1−(
48ライ・ン)に設定する。1のときにはWを3ハイ1
−1Lを3バイ1へに、2のときにはりを3バイ1−1
Lを12バイ1−に、3のどきにはνを6バイト、Lを
6バイトに、4のときにはlllを6バイ1へ、Lを3
バイI−に。
(11) Character size selection parameter (Figure 36) Store the value of parameter II of the character size specification command in the character size register S, and when the stored value (,,) is 0, the pattern is set to 3 bytes ( Half-width layer, vertical 6 by 1-(
48 lines). When it is 1, W is 3 high 1
-1L to 3 by 1, when 2, the needle is 3 by 1-1
L becomes 12 by 1-, when 3, ν becomes 6 bytes, L becomes 6 bytes, when 4, lll becomes 6 by 1, L becomes 3
Bye I-.

5のときにはりを3バイト、Lを12バイ1−に設定す
る。
When it is 5, set the lever to 3 bytes and L to 12 by 1-.

(I2)行間パラメータ(第361図)行間スペースコ
マンドのパラメータnの値を、行間スペースレジスタ■
に格納する。
(I2) Line spacing parameter (Figure 361) Set the value of parameter n of the line spacing command to the line spacing register ■
Store in.

(13)重ね書きパラメータ(第36 m図)書込み指
定コマンドのパラメータ【1の値を書込み指定レジスタ
ROに格納する。
(13) Overwrite parameter (Figure 36m) Parameter [1] of the write designation command is stored in the write designation register RO.

(14)命令書換えパラメータ(第36n図)ロウ゛N
力ろンタCをクリアし、沓換えレジスタEXの第1番O
の位置にカラムデータを、またロウN=0゜1.3,4
対応の位置1,2.3および4に、順次にコマンドのN
=O,N=1.N=3およびN=4のデータ(パラメー
タ)を格納する。
(14) Instruction rewriting parameters (Figure 36n) Row N
Clear the force change register C and enter the first O of the change register EX.
Column data at the position, and row N=0゜1.3,4
In the corresponding positions 1, 2. 3 and 4, sequentially the command N
=O, N=1. Store data (parameters) for N=3 and N=4.

())パラメータ設定選択(第37図)前述の(ネ)処
理操作選択と同様に、(ヌ)命令解読で処理指示レジス
タOPの内容を参照し、OPの内容に応じて、前述の(
ヒ)パラメータ設定(第36a〜36n図)のサブルー
チンを実行する。
()) Parameter setting selection (Fig. 37) Similar to the above-mentioned (v) processing operation selection, the content of the processing instruction register OP is referred to in (j) instruction decoding, and the above-mentioned ((v)) is selected according to the contents of OP.
h) Execute the subroutine for parameter setting (Figures 36a to 36n).

(へ)パラメータ処理(第38図) 前述の(ヌ)命令解読で処理指示しジスタ叶に格納した
データを参照し、それが0であるとテキストモードであ
るので、また27又は28であるとCR(復帰)又はL
F(改行)であるので、このルーチンは終了する。それ
以外のときには、カウンタCをクリアし、セン1〜ロニ
クス入力でパラメータを1個毎に読込んでカウンタを1
カウン1−アップし、読込み回数が、コマンドのロウN
=3のパラメータの数Pで予め指示された数になり、セ
ントロニクス入力のデータが32を示すもの(終了を0
で示すが、機能文字コードに0〜32をとっているので
、0+32を終了の0を示すものとしている)であると
コマンドの終了であるので、())パラメータ設定選択
を実行し・てこのサブルーチン゛を終了する。
(v) Parameter processing (Figure 38) Refer to the data stored in the register after instructing the process by decoding the command (v) above. If it is 0, it is text mode, and if it is 27 or 28. CR (return) or L
Since it is F (line feed), this routine ends. In other cases, clear the counter C, read the parameters one by one using the sensor 1 to ronix inputs, and set the counter to 1.
Count 1-up, the number of reads is the row N of the command
The number of parameters P = 3 is the number specified in advance, and the Centronics input data indicates 32 (the end is set to 0).
However, since the function character code is 0 to 32, 0+32 is used to indicate the end of 0), which indicates the end of the command. End the subroutine.

(ホ)命令書換 前述の(14)命令書換パラメータで、コマンド中の変
更データ(パラメータ)を、書換えレジスタEXに、カ
ラム、ロウN=Oのデータ、N=1のデータ、N=3の
データおよびN = tIのデータを格納しているので
、コマンドテーブルカラムアドレスレジスタCVにEX
の第1番0のデータすなわちカラムデータをモノ1−シ
て、コマンドテーブルの指定カラムのロウN=O,N=
1.N=3およびN=・1に、それぞれEXの第2番1
〜第4番3のデータを書込む。
(e) Instruction rewriting In the above-mentioned (14) instruction rewriting parameters, change data (parameters) in the command are transferred to the rewriting register EX in the column, row N=O data, N=1 data, N=3 data. and N = tI data, so EX is stored in the command table column address register CV.
The first 0 data, that is, the column data, is transferred to the row N=O, N= of the specified column of the command table.
1. N=3 and N=・1, respectively, the second number 1 of EX
~Write the data of No. 4 and 3.

第40図に、装置100のページメモリデータの出力タ
イミングを示す。プロッタ300に出力するときには、
プロッタ300からのグー1−信QLGATEに同期し
て1ライン毎にデータW D A T Aをプロッタ3
00に与える。
FIG. 40 shows the output timing of page memory data of the device 100. When outputting to the plotter 300,
Plotter 3 outputs data W DATA for each line in synchronization with the signal QLGATE from plotter 300.
Give to 00.

以上の各サブルーチンの実行しこより、電源投入直後の
スタートアドレスは次の第3表に示すようになり、その
後のスタートアドレスは次の第4表に示すようになり、
その後、いずれかのモードの実行後は、次の第5表に示
すようになる。
By executing each of the above subroutines, the start address immediately after the power is turned on will be as shown in Table 3 below, and the start address thereafter will be as shown in Table 4 below.
Thereafter, after executing either mode, the results will be as shown in Table 5 below.

第5表 前の処理:テキス(− 後の処理 テキス1−:次のア1くレス 中間調:次のアドレス ピノ1−イメージ:1肯定を待つ。指定がないと停止の
まま。
Table 5 Previous processing: Text (- Later processing Text 1-: Next address Halftone: Next address Pino 1-Image: 1 Wait for affirmation. If not specified, it will remain stopped.

前の処理:中間調 後の処理 テキス1−:次のア1−レス 中間調二次のアドレス ピッ1−イメージ:指定を待つ。指定がないと停止のま
ま。
Previous processing: Processing after halftone Text 1-: Next address 1-Address halftone secondary address Pi 1-Image: Waits for designation. If not specified, it will remain stopped.

1)iの処理:ビノ1−イメージ 後の処理 テキスト:CR又はLF動作後の位置。1) Processing of i: Bino 1-Image Post processing Text: Position after CR or LF operation.

中間調:同上 ピノ1−イメージ:CR又は1、Fかあることとその後
の指定を待つ。指定がないと 停止のまま。
Halftone: Same as above Pino 1 - Image: Wait for CR or 1, F and subsequent designation. If not specified, it will remain stopped.

作レジスタOPに24をセン1へし、次に(へ)パラメ
ータ処理で5gBのパラメータをセン1−ロニクス入力
でホスh200より転送を受ける。そして())パラメ
ータ設定選択に進んで0P=24であるので(14)命
令書換パラメータ(第36n図)を実行し、変換レジス
タEXに5個のパラメータを格納し、次に(ネ)処理操
作選択に進み、そこでOP = 24であるので(ホ)
命令調、換えに進み、このサブルーチンでコマンドテー
ブル(第1表)の、パラメータの第1番で指定されたカ
ラムの内容が書換えられる。なお、すてに書込をしてい
るカラムが指定さ、れたときには、文字通り書換である
が、書込がないカラム(ロウN=1に0を書込んでいる
カラム)が指定されたときには新コマンドの書込となる
Put 24 in the operation register OP to the sensor 1, and then (to) parameter processing to receive the 5 gB parameter from the host h200 at the sensor 1 input. Then, proceed to ()) parameter setting selection, and since 0P = 24, execute (14) instruction rewrite parameters (Figure 36n), store 5 parameters in conversion register EX, and then (n) perform processing operation. Proceed to selection, where OP = 24 (e)
The program advances to the command style, and in this subroutine, the contents of the column specified by the first parameter of the command table (Table 1) are rewritten. Note that when a column that has already been written to is specified, it is literally a rewrite, but when a column that has not been written to (a column in which 0 is written to row N = 1) is specified, it is rewritten. This will write a new command.

このようにコマンドの書換(および書込)がホスト20
0のコマンドテーブルの1・換命令で出来るので、ホス
l−200は、装置100に、制御プログラムで設定さ
れているコマンド(標準コマンド)の変更および新コマ
ンドの追加を行なうことが出来る。すなわち、コマンド
の定義の変更および新コマントナヨノ、ホスl−200
から装置lOOに与えるアドレスデル夕はバイト単位て
あり、テキストモードおよび中間調モードでは())パ
ラメータ計算(1)で書込開始ア1ヘレスが設定され、
ビットイメージモードでは(ハ)パラメータ計算(2)
でΔ込fil始アドレ反および俯°込終了アドレスが設
定される。これらのアドレスはバイl、 、!IL位で
ある。
In this way, command rewriting (and writing) is performed by the host 20.
Since this can be done with an instruction to change the command table of 0 to 1, the host 1-200 can change commands (standard commands) set in the control program and add new commands to the device 100. In other words, changes in command definitions, new commands, and host l-200
The address delta given to the device lOO is in bytes, and in text mode and halftone mode, the writing start address is set in ()) parameter calculation (1),
In bit image mode (c) Parameter calculation (2)
The Δinclude start address and the Δinclude end address are set. These addresses are bil, ,! It is IL rank.

電源投入直後はすでに説明したように、初期設定〔(力
)芽込領域設定用テーブル、(ニ)命令表書込および(
イ)メモリ全体消去〕を実行し、コマンド人力を待って
いる。外部割込かががると、(ヌ)命令解読を実行し、
(へ)パラメータ処理を実行し、(ネ)処理操作選択を
実行し、選択した処理を実行する。
As explained above, immediately after the power is turned on, the initial settings [(power) budding area setting table, (d) command table writing, and (
b) Erase entire memory] and wait for command. When an external interrupt is received, (nu) executes instruction decoding,
(v) Execute parameter processing, (v) Execute processing operation selection, and execute the selected process.

次に数種の、コマンドに応答した処理動作を説明する。Next, several types of processing operations in response to commands will be described.

(1)コマンドテーブルの書換え 命令表の書換えを指示するコマンドがホス1へ200か
ら、fiI来するど、(ヌン命令解読でパラメータL、
−ジスタPにパラメータの数5をセン1〜し、処理操(
2)テキストモード処理 開始アドレス指定コマンドがホスト200より装置10
0に与えられると、これは開始アドレスのみを指定する
のでテキストモードである。中間調モードおよびビット
イメージモードでは必らず終了アドレスも指定される。
(1) Rewriting the command table When a command to rewrite the command table comes from fiI to host 1 from 200, (parameter L is
-Set the number of parameters 5 to register P, and perform the processing operation (
2) A text mode processing start address specification command is sent from the host 200 to the device 10.
If given 0, this is text mode since it specifies only the starting address. In halftone mode and bit image mode, an end address is always specified.

開始アドレス指定コマンドを受けると装置100は、(
ヌ)命令解読でパラメータレジスタPにパラメータの数
4をセットし、処理操作レジスタOPに1をセントし、
次に(へ)パラメータ処理で4個のパラメータをセンl
−oニクス入力でホスト200より転送を受ける。そし
て())パラメータ設定選択に進んで0P=1であるの
で(1)スタートアドレスパラメータ(第36a図)に
進み、())パラメータ計算(1)を実行し、スター1
−アドレスをスタートアドレスレジス’、!9XADR
およびYADRにセットし、テキストモードのスタート
アドレスの設定を終了する。
Upon receiving the start addressing command, the device 100 (
n) Set the number of parameters to 4 in the parameter register P by decoding the instruction, set 1 to the processing operation register OP,
Next, select the four parameters using parameter processing.
Receives transfer from the host 200 by -onics input. Then, proceed to ()) parameter setting selection, and since 0P=1, proceed to (1) start address parameter (Figure 36a), ()) execute parameter calculation (1), and start 1.
-Start Address Regis',! 9XADR
and YADR to complete the text mode start address setting.

その後、ホスト200が文字コードを送って来ると、(
ヌ)命令解読でop=oをセットし、0P=0であるの
で(へ)パラメータ処理をそのまま通過し、次に(ネ)
処理操作選択で(ソ)パターン(フォント)処理に進み
、文字コードの変換をしてパターンメモリ(キャラクタ
メモリ)より文字パターンデータを読出して文字バッフ
ァメモリに格納し、設定文字サイズに応じて(キ)半角
文字、(り)半角半長文字、(ケ)半角倍長文字又は(
セ)全角文字前処理に進む。
After that, when the host 200 sends the character code, (
N) Set op=o by decoding the instruction, and since 0P=0, pass through the parameter processing as is, and then (N)
Select the processing operation to proceed to pattern (font) processing, convert the character code, read the character pattern data from the pattern memory (character memory), store it in the character buffer memory, and convert the character code according to the set character size. ) half-width characters, (ri) half-width half-length characters, (ke) half-width double-width characters, or (
C) Proceed to full-width character preprocessing.

前3者のいずれかに進んだときには、アドレス計算をし
て後(オ)書込領域・アドレス設定を実行して、文字パ
ターンデータに所定の文字サイズ処理を茄こしてページ
メモリに書込む。(セ)全角文字前処理に進んだときに
は、文字バッファメモリの文字パターンデータを横1ビ
ットを491.2ビツトに拡大した文字パターンデータ
を全角文字バッファに作成して、文字サーrス指定に応
じて(コ)全角文字。
When proceeding to one of the first three methods, address calculation is performed, and (e) writing area/address setting is executed, character pattern data is subjected to predetermined character size processing, and is written to the page memory. (C) When proceeding to full-width character preprocessing, character pattern data in the character buffer memory is expanded from 1 horizontal bit to 491.2 bits to create character pattern data in the full-width character buffer, and according to the character service specification. te (ko) Full-width characters.

(り)全角半長文字又は(シ)全角倍長文字に進み、そ
こにおいてア1くレス84算をして後(オ)書込領域・
アドレス設定を実行して、文字パターンデータに所定の
文字サイズ処理を施こしてページメモリに訃込む。
Proceed to (ri) full-width half-length characters or (shi) full-width double-length characters, perform the arithmetic operation there, and then (e) write area.
Execute address setting, perform predetermined character size processing on character pattern data, and store in page memory.

なお、デフォルトがテキストモートであるので、電源投
入後、始めから文字コードがホスト200より送られた
ときには、(ヌ)命令解読で0P=0をセットし、0P
=0であるので(へ)パラメータ処理をそのまま通過し
、次に(ネ)処理操作選択で(ン)パターン(フォント
)処理に進み、文字コードの変換をしてパターンメモリ
(キャラクタメモリ)より文字パターンデータを読出し
て文字バッファメモリに格納し、設定文字サイズに応じ
て(キ)半角文字。
Note that the default is text mode, so when the character code is sent from the host 200 from the beginning after the power is turned on, 0P=0 is set in (nu) command decoding, and 0P
= 0, so it passes through parameter processing as it is, and then proceeds to (n) pattern (font) processing by selecting (n) processing operation, converts the character code, and reads characters from pattern memory (character memory). Reads the pattern data and stores it in the character buffer memory, and prints half-width characters according to the set character size.

(り)半角半長文字、(ケ)半角倍長文字又は(セ)全
角文字前処理に進む。前述の文字コードデータを受信し
たときと同じ動作となる。
Proceed to (ri) half-width half-length characters, (k) half-width double-length characters, or (c) full-width characters preprocessing. The operation is the same as when receiving the character code data described above.

(3)中間調モード 中間調モート指定コマンドがホスト200より装置10
0に与えられると、装置100は、(ヌ)命令解読でパ
ラメータレジスタPにパラメータの数1をセントシ、処
理操作レジスタOPに7をセットし、次にCへ)パラメ
ータ処理で1個のパラメータをセントロニクス入力でホ
スト200より転送を受ける。そして())パラメータ
設定選択に進んで0P−7であるので、(5)中間調モ
ードパラメータ(第36d)に進み、そこでパラメータ
nの値に応じてN=Oでほこ、1シは中間調の終了を指
示するので書込形式をテキス1−モードのデフォルト(
標準)に設定する。N二1〜4は階調の種類を指定する
ので、このときにはピント連続の書込とする書込形式を
設定する。次に(ネ)処理操作選択は0P=7であるの
でそのまま通過する。
(3) Halftone mode Halftone mode specification command is sent from the host 200 to the device 10
0, the device 100 sets the number of parameters to 1 in the parameter register P and 7 in the processing operation register OP in (C) instruction decoding, and then sets one parameter in (C) parameter processing. Receives transfer from host 200 through Centronics input. Then, proceed to ()) parameter setting selection, and since it is 0P-7, proceed to (5) halftone mode parameter (No. 36d), where depending on the value of parameter n, N = O, and 1 is halftone. The writing format is set to text 1-mode default (
Standard). Since N21-4 designate the type of gradation, at this time a writing format of continuous focus writing is set. Next, (v) processing operation selection is 0P=7, so it passes through as is.

その後、ホスh200が中間調コードを送って来ると、
(ヌ)命令解読で0P=0をセットし、op=oである
ので(へ)パラメータ処理をそのまま通過し、次に(ネ
)処理操作選択で(ソ)パターン(フォノ1〜)処理に
進み、そこで(ス)中間調パターンに進んでページメモ
リの書込みを行なう。テキストモードと中間調モードは
、パターン領域が予め定まっているので、このようにサ
ブルーチンを共用している。
After that, when the host h200 sends the halftone code,
(J) Set 0P=0 by decoding the command, and since op=o, (J) directly pass through the parameter processing, then (J) select the processing operation and proceed to (G) pattern (phono 1~) processing. Then, the program proceeds to the (S) halftone pattern and writes to the page memory. Since the pattern area is predetermined in the text mode and the halftone mode, the subroutines are shared in this way.

(4)ピッ1−イメージモード ピントイメージモード指定コマンドが到来すると、装置
100は、(ヌ)命令解読でP=8,0P=2をセフ1
−シ、次に(へ)パラメータ設定で8個のパラメータを
ホスト200より受け、())パラメータ設定選択で0
P=2であるので(2)ビットイメージモートノ(ラメ
ータ(第36b図)に進んで(ハ)パラメータ計算(2
)を実行し、(ネ)処理操作選択で(テ)ピントイメー
ジ処理に進み、ここでピッ1ヘデータ、をセントロニク
ス入力で受けてページメモリに書込む。
(4) Pi1-Image Mode When the focus image mode designation command arrives, the device 100 decodes the (nu) command and sets P=8,0P=2 to
-C, then (to) Receive 8 parameters from the host 200 in Parameter Settings, and ()) Select 0 in Parameter Settings.
Since P=2, proceed to (2) bit image mode parameter (Figure 36b) and (c) parameter calculation (2)
) and proceed to (te) focus image processing by selecting (ne) processing operation, where the data to pin 1 is received by the centronics input and written to the page memory.

(5)プリント&ノンクリア又はプリントルクリアこれ
らのコマンドが到来すると装置100は、(ヌ)命令解
読でP=L、0P=10又は11をセントし、(へ)パ
ラメータ処理でパラメータ(、)をホスト200からセ
ントロニクス入力で受け、次に())ノ犬うメータ設定
選択をそのまま通過して、(ネ)処理操作選択で(1)
プリントに進み、そこでノくラメータnが示す数のプリ
ント出力を実行し、ノンクリアかクリアに応じてページ
メモリの保持又はクリアを実行する。
(5) Print & Non-Clear or Print Clear When these commands arrive, the device 100 sends P=L, 0P=10 or 11 by (nu) command decoding, and (g) host parameters (,) by parameter processing. Receive from 200 with Centronics input, then ()) Pass through the meter setting selection as it is, and select (1) in the processing operation selection.
The process proceeds to printing, where the number of printouts indicated by the parameter n is executed, and the page memory is held or cleared depending on whether it is non-cleared or cleared.

(6)論理演算 論理演算は、中間調モードにおいては、(ス)中間調パ
ターンのサブルーチンにおいて反転書込カス、またピン
トイメージにおいては、(テ)ピットイメージ処理にお
いて反転書込2重ね書き(OR)あるいは排他的論理和
書込が、予めコマンドのパラメータで指定された通りに
選択的に行なわれる。
(6) Logical operation In the halftone mode, the logical operation is the inverted writing residue in the (S) halftone pattern subroutine, and in the focused image, the inverted writing 2 overwriting (OR) in the (TE) pit image processing. ) or exclusive OR writing is selectively performed as specified in advance by the parameters of the command.

以下他のコマンドが到来した場合も、同様に、データ処
理〔(ヌ)命令解読−(へ)パラメータ処理=(ネ)処
理操作選択〕を実行して所定のサブルーチンを実行する
When other commands arrive, data processing [(v) command decoding - (v) parameter processing = (v) processing operation selection] is similarly executed to execute a predetermined subroutine.

なお、上記実施例では、中間調モードのコマン1−′で
書込1717始ア1−“レスのみを指定するようにして
いるか、ヒソ1へイメージモードのコマンドと同様に、
更に4個の終了71−レスを示すパラメータを付加して
、ビットイメージモードと同様に終了アj−レスをIj
n !lfjアドレスと共に改定するようにしてもよい
In the above embodiment, the command 1-' in the halftone mode specifies only the write 1717 start a1-'response, or the command 1-' in the halftone mode specifies only the command 1717 in the image mode.
Furthermore, four parameters indicating the end 71-address are added, and the end address is set to Ij as in the bit image mode.
n! It may be revised together with the lfj address.

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

第1図は、本発明の一実施例の構成概要を示すブロック
図、第2図は第1図に示すCPUボード10の構成を示
すブロック図、第3図は第1図に示すページメモリ20
の構成を示すブロック図、第・1図は第1図に示すパタ
ーン領域八4の構成を示すブロック図、第5図は第1図
に示すインターフェイスボード40の構成を示すブロッ
ク図である。 第6図はぺ゛−ジメモリ20のメモリ区分を示す説明図
である。 第7図は装置100の動作概要を示すフローチャート、
第8図、第9図、第10図、第11図。 第12図、第13図、第14図、第15図。 第L6121.第17図、第18図、第19図。 第2Q図、第2]図、第22図、第23図;第24 a
図、第24b図、第25図、第26図。 第27a図、第27b図、第28図、第29図。 第30a図、第30b図、第31図、第32図。 第33図、第34図、第35図、第36a図。 第36b図、第36c図、第36d図。 第36e図、第36f図、第3Gg図。 第36h図、、第36i図、第36j図。 第36に図、第361図、第36n〕図。 第36n図、第37図、第38図および第39図は、そ
れぞれ、サブルーチンの動作フローを示すフローチャー
トである。 第40図は、装置100がらプロッタ300へのデータ
転送時のデータ転送ダイミンクを示すタイムチセー1〜
である。 100 : ’rfi報記憶HW    I] : R
OM12 二 RAM               
  13 :  CPtJ31ニパターンメモリ 特許出願人株式会社リコー 第11図 第712図 手続ネ10正書(自発) 特許庁長官 若杉 和夫 殿 1、事件の表示 昭和58年特許願第0425819号
2、発明の名称    情報記憶装置 3、補正をする者 事件との関係   特許出願人 住所    東京都大田区中馬込1丁目3番6号名称・
    (’674)  株式会社 リコー代表者 浜
 1) 広 4、代理人  〒103  電話 03−864−60
52住 所  東京都中央区東日本橋2丁目27番6号
5、補正の対象 明細書の発明の詳細な説明の欄 6、補正の内容 明細書の下記頁9行の誤とした部分を正とした内容に訂
正する。 以上
FIG. 1 is a block diagram showing an outline of the configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of the CPU board 10 shown in FIG. 1, and FIG. 3 is a block diagram showing the configuration of the CPU board 10 shown in FIG. 1.
1 is a block diagram showing the structure of the pattern area 84 shown in FIG. 1, and FIG. 5 is a block diagram showing the structure of the interface board 40 shown in FIG. 1. FIG. 6 is an explanatory diagram showing the memory divisions of the page memory 20. FIG. 7 is a flowchart showing an overview of the operation of the device 100;
FIGS. 8, 9, 10, and 11. FIGS. 12, 13, 14, and 15. No. L6121. Figures 17, 18, and 19. Figure 2Q, Figure 2], Figure 22, Figure 23; Figure 24 a
Figures 24b, 25, and 26. Figures 27a, 27b, 28, and 29. Figures 30a, 30b, 31, and 32. Figures 33, 34, 35, and 36a. Figures 36b, 36c, and 36d. Figures 36e, 36f, and 3Gg. Figures 36h, 36i, and 36j. Figure 36, Figure 361, Figure 36n]. 36n, 37, 38, and 39 are flowcharts showing the operation flow of the subroutine, respectively. FIG. 40 shows time charts 1 to 1 showing data transfer dynamics when data is transferred from the device 100 to the plotter 300.
It is. 100: 'RFI information memory HW I]: R
OM12 2 RAM
13: CPtJ31 Two-Pattern Memory Patent Applicant Ricoh Co., Ltd. Figure 11 Figure 712 Procedure 10 Official (spontaneous) Commissioner of the Japan Patent Office Kazuo Wakasugi 1. Indication of the case 1982 Patent Application No. 0425819 2. Title of the invention Information storage device 3, relationship with the person making the amendment Patent applicant address 1-3-6 Nakamagome, Ota-ku, Tokyo Name/
('674) Ricoh Co., Ltd. Representative Hama 1) Hiro 4, Agent 103 Telephone 03-864-60
52 Address: 2-27-6-5 Higashi Nihonbashi, Chuo-ku, Tokyo, Column 6 of the detailed explanation of the invention in the specification subject to amendment, and the 9th line of the following page of the specification of contents of the amendment, are correct. Correct the content. that's all

Claims (10)

【特許請求の範囲】[Claims] (1)1ペ一ジ分の画素のそれぞれに1ビットが対応す
るページメモリ; 文字パターンデータおよび濃度階調表現パターンデータ
をI格納したパターンメモリ;入出力インターフェイス
; 外部よりの命令を解読して処理動作およびパラメータを
設定する命令解読手段; 入力文字コードを該コード、で表わされる文字のパター
ンデータに変換し、該パターンデータをページ−メモリ
の所定の領域に書込むテキストモード書込手段; 入力階調コードを、該コードで指定される階調パターン
データに変換し、4亥パターンデータをページメモリの
所定の領域に書込む中間調モード書込手段; 入力ビツトイメージデータを、ページメモリの所定の領
域に書込むピントイメージモード書′込手段:および ページメモリのデータを、所定回数出力するページメモ
リ出力手段; を備える情報記憶装置。
(1) Page memory in which one bit corresponds to each pixel of one page; Pattern memory that stores character pattern data and density gradation expression pattern data; Input/output interface; Command decoding means for setting processing operations and parameters; Text mode writing means for converting an input character code into character pattern data represented by the code and writing the pattern data into a predetermined area of the page memory; halftone mode writing means for converting the gradation code into gradation pattern data specified by the code and writing the 4-bit pattern data into a predetermined area of the page memory; An information storage device comprising: focused image mode writing means for writing into the area; and page memory output means for outputting page memory data a predetermined number of times.
(2)前記所定の領域は、命令解読手段が設定した領域
である前記特許請求の範囲第(1)項記載の情報記憶装
置。
(2) The information storage device according to claim (1), wherein the predetermined area is an area set by instruction decoding means.
(3)ビットイメージ書込手段は、書込領域の終りを、
開始位置と同一アドレス単位の、開始位置からの相対値
で定める前記特許請求の範囲第(1)項又は第(2)項
記載の情報記憶装置。
(3) The bit image writing means marks the end of the writing area as
The information storage device according to claim 1 or 2, wherein the information storage device is determined by a relative value from the start position in the same address unit as the start position.
(4)テキストモード書込手段は、電源投入後最初の書
込領域はページメモリの書込始端を開始点とし、いずれ
方の書込モードの実行後は文字書込の領域の開始点を、
前の処理がテキストモードのときには前の書込処理の終
了点の次とし、前の処理が中間調モードのときには前の
書込処理の終了点の次とし、前の処理がピットイメージ
モードのときには復帰又は改行処理後の位置どする前記
特許請求の範囲第(1)項又は第(2)項記載の情報記
憶装置。
(4) The text mode writing means uses the writing start end of the page memory as the starting point for the first writing area after power is turned on, and after execution of either writing mode, the starting point of the character writing area.
When the previous process is in text mode, it is next to the end point of the previous write process, when the previous process is in halftone mode, it is next to the end point of the previous write process, and when the previous process is in pit image mode, it is next to the end point of the previous write process. An information storage device according to claim 1 or 2, which performs positioning after return or line feed processing.
(5)中間調モード書込手段は、電源投入後最初の書込
領域はページメモリの書込始端゛を開始点とし、いずれ
かの書込モードの実行後は中間調パターン書込領域の開
始点を、前の処理がテキストモートのときには前の書込
処理の終了点の次とし、前の処理が中間調モードのとき
には前の書込処理の終了点の次とし、前の処理がビット
イメージモードのときには復、帰、又は改行処理後の位
置とする前記特許請求の範囲第(1)項又は第(2)項
記載の情報記憶、装置。
(5) In the halftone mode writing means, the first write area after the power is turned on starts at the write start end of the page memory, and after execution of any write mode, the start point is the start point of the halftone pattern write area. point after the end point of the previous write operation when the previous operation is in text mode, after the end point of the previous write operation when the previous operation is in halftone mode, and after the end point of the previous write operation when the previous operation is in halftone mode. The information storage device according to claim 1 or 2, wherein the information storage device uses the position after backward, return, or line feed processing when in mode.
(6)ピントイメージ書込手段は、電源投入後最初の書
込領域は指定を待って定め、いずれかの書込モードの実
行後はビットイメージ書込領域の開始点を、前の処理が
テキス1−モードのときには指定を待って定め、前の処
、理が中間調モードのときにも指定を待って定め、前の
処理がピッ゛トイメージモードのときには復帰又゛は改
行処理と指定を待って定める前記特許請求の範囲第(1
)項又は第(2)項記載の情報記憶装置。
(6) The focus image writing means determines the first writing area after the power is turned on, and after executing one of the writing modes, the starting point of the bit image writing area is determined by the previous process. When in 1-mode, it waits for the specification, and when the previous process is in halftone mode, it also waits for the specification, and when the previous process is in pitch image mode, it specifies return or line feed processing. Claim No. 1 (1)
) or (2).
(7)ページメモリ出力手段は、命令解読手段が設定し
た回数、ページメモリのデータを出力する前記特許請求
の範囲第(1)項記載の情報記憶装置。
(7) The information storage device according to claim (1), wherein the page memory output means outputs the data of the page memory a number of times set by the instruction decoding means.
(8)ページメモリ出力手段は、命令解読手段が設定し
た出力後メモリ処理指示に応じ゛て、ページメモリのク
リア又は保持を行なう前記特許請求の範囲第(1)項又
は第(7)項記載の情報記憶装置。
(8) The page memory output means clears or holds the page memory according to the post-output memory processing instruction set by the instruction decoding means, as described in claim (1) or (7) above. information storage device.
(9)ページメモリ出力手段は、外部の出力装置が与え
る信号に同期してページメモリの所定区分のデータを出
力装置に出力する前記特許請求の範囲第(1)項又は第
(7)項記載の情報記憶装置。
(9) The page memory output means is configured to output data of a predetermined section of the page memory to the output device in synchronization with a signal provided by an external output device. information storage device.
(10)入出力インク、−フェイスはDMAコントロー
ラを備えており、ページメモリ出力手段はページメモリ
のデータの、出力装置への転送は、DMAコントローラ
により一担パラレルインーシリアルアウトのバッファに
転送し、出力装置の動作に同期してシリアル出力する前
記特許請求の範囲第(1)項又は第(7)項記載の情報
記、憶装置。
(10) The input/output ink-face is equipped with a DMA controller, and the page memory output means transfers the data in the page memory to the output device by the DMA controller, which transfers the data to a parallel-in-serial-out buffer. An information storage device according to claim 1 or 7, which serially outputs data in synchronization with the operation of an output device.
JP58042581A 1983-03-15 1983-03-15 Information storage device Pending JPS59167748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58042581A JPS59167748A (en) 1983-03-15 1983-03-15 Information storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58042581A JPS59167748A (en) 1983-03-15 1983-03-15 Information storage device

Publications (1)

Publication Number Publication Date
JPS59167748A true JPS59167748A (en) 1984-09-21

Family

ID=12640031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58042581A Pending JPS59167748A (en) 1983-03-15 1983-03-15 Information storage device

Country Status (1)

Country Link
JP (1) JPS59167748A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59226936A (en) * 1983-06-08 1984-12-20 Fujitsu Ltd Print output device
JPS61187036A (en) * 1985-02-11 1986-08-20 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Connection of printer and host application
JPH02193216A (en) * 1989-01-23 1990-07-30 Japan Imeejingu Syst:Kk Printer interface unit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59226936A (en) * 1983-06-08 1984-12-20 Fujitsu Ltd Print output device
JPH0432410B2 (en) * 1983-06-08 1992-05-29
JPS61187036A (en) * 1985-02-11 1986-08-20 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Connection of printer and host application
JPH02193216A (en) * 1989-01-23 1990-07-30 Japan Imeejingu Syst:Kk Printer interface unit

Similar Documents

Publication Publication Date Title
US4428065A (en) Data processing system with multiple display apparatus
JPH0691604B2 (en) Gradation information scaling method
JP2002215612A5 (en)
EP0438038A1 (en) Graphics processor
JPH0691608B2 (en) Gradation information processing method
CA1286419C (en) Horizontal line processor of data to be printed out sequentially
JPS59167748A (en) Information storage device
JPS59168539A (en) Information memory
JPS59168542A (en) Information memory
US5526019A (en) Character processing apparatus
JPS59168540A (en) Information memory
EP0105491A2 (en) Font display and text editing system
JPS63233465A (en) Input display system for numerical format code
JPS59168538A (en) Information memory
JPH07102716B2 (en) Text printing control device
JPS59168541A (en) Information memory
JPH0366157B2 (en)
JPH02181190A (en) Vector font representation system
JPS59168531A (en) Information memory
JPH07115493B2 (en) Aspect conversion printing method
KR950004219B1 (en) Method and apparatus for font storage
JPS59126591A (en) Character output control system
JPS5931752B2 (en) printing device
JPH0596811A (en) Printing method
JPH03281363A (en) Document output device