JPS59168531A - Information memory - Google Patents

Information memory

Info

Publication number
JPS59168531A
JPS59168531A JP58042586A JP4258683A JPS59168531A JP S59168531 A JPS59168531 A JP S59168531A JP 58042586 A JP58042586 A JP 58042586A JP 4258683 A JP4258683 A JP 4258683A JP S59168531 A JPS59168531 A JP S59168531A
Authority
JP
Japan
Prior art keywords
data
mode
writing
memory
page memory
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
JP58042586A
Other languages
Japanese (ja)
Inventor
Koichi Suzuki
宏一 鈴木
Masahiro Ito
正博 伊藤
Takashi Sato
敬 佐藤
Noboru Murayama
村山 登
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 JP58042586A priority Critical patent/JPS59168531A/en
Publication of JPS59168531A publication Critical patent/JPS59168531A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain various combinations of a host and an output device with an information memory by executing the reset definition processing and the line feed definition processing set by an instruction decoding means and setting an operation mode indicated by a parameter. CONSTITUTION:An information memory 100 receives the information from a host 200 and writes the bit information of a page memory of the memory 100 and gives this bit information to a plotter 300. The host 200 can define the plotter reset (CR) and the plotter line feed (LF) of a function character code with a command. If no definition is given from the host 200, the definition set by the state of a designation switch which decides these definitions.

Description

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

入力ボード2作図装置等々の情報処理装置(以下単にホ
ストと称する)の指示に応じて、ビット情報分布のペー
ジデータを作成して、プロッタ。
Input Board 2 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 that outputs to an output device such as a CRT display, and particularly relates to an information processing device that also performs data processing, such as the so-called Intelligent Intern Ace.

■従来技術 従来においては、ホスト自身においてビット情報を作成
して出力装置に与えるか、あるいは出力装置にキャラク
タゼネレータなどとバッファメモリを備えて出力装置で
ビット情報を作成してプリントアラ1−.デイスプレイ
等を行なっている。
■Prior Art Conventionally, the host itself creates bit information and supplies it to the output device, or the output device is equipped with a character generator or the like and a buffer memory, and the output device creates the bit information. Display etc.

したがって、ホス1〜自身の処理規格ならびに出力装置
の処理規格がそれぞれ厳密に定まっており、相互に結線
して使用し得るホスト−出力装置の組合せは極く限られ
ており、各種の不便がある。たとえば動作モードを変え
たくても、ホスト−出力装置間の命令が限定かつ固定さ
れているので不可能であり、ユーザの操作自由度が低い
。したがって、ホストや出力装置の機能を格別に変更す
ることなく、それらの間を結んで、多くの処理モードお
よび機能を変更あるいは拡張する情報記憶装置、すなわ
ちインテリジエン1〜インターフエイスの出現が望まれ
る。
Therefore, the processing standards for the host 1 to itself and the processing standards for the output device are strictly determined, and the combinations of host and output device that can be connected to each other are extremely limited, causing various inconveniences. . For example, even if the user wants to change the operating mode, it is impossible because the commands between the host and the output device are limited and fixed, and the degree of freedom of operation for the user is low. Therefore, it is desired that an information storage device, ie, an Intelligent 1 interface, be created that connects the host or output device and changes or expands many processing modes and functions without changing the functions of the host or output device. .

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

■構成 以下図面に示す実施例に基づき本発明を説明する。■Configuration The present invention will be described 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が本発明の一実施例である情報
記憶装置で、あり、ホスl−200から情報を受けて、
装置100のページメモリにビット情報を書込み、プロ
ッタ300に該ページメモリのビット情報を与える。
In FIG. 1, 100 is an information storage device which is an embodiment of the present invention, and receives information from a host 1-200.
Bit information is written into the page memory of the device 100, and the bit information of the page memory is provided to the plotter 300.

ホスト200は、ワードプロセッサ、作図・作表装置、
コンピュータ、スキャナ、キーボード、データ蓄積装置
等々の、文字データ、座標データ。
The host 200 includes a word processor, a plotting and tabulating device,
Character data and coordinate data from computers, scanners, keyboards, data storage devices, etc.

ビット情報、濃度階調データ等々の画像情報を入力、処
理、蓄積等を行なうものである。
It inputs, processes, and stores image information such as bit information and density gradation data.

プロッタ300はドツト記録しうる記録装置である。な
お、出力装置としてはプロッタの他に、CRTディスプ
レイであってもよく、また、コンピュータ、ワードプロ
セッサ、データ蓄積装置などの情報処理装置であっても
よい。
Plotter 300 is a recording device capable of dot recording. In addition to the plotter, the output device may be a CRT display, or may be an information processing device such as a computer, word processor, or data storage device.

情報記憶装置100は、大きくは、マイクロプロセッサ
(以下CPUと略称する)ボード10゜ページメモリ2
0.パターンメモリ30.インターフェイスボード40
およびコモンバス50で構成されている。電源オン直後
の初期化において、ROM11の制御プログラムがワー
クメモリRAM1.2に書き込まれる。
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. In initialization immediately after power-on, the control program of the ROM 11 is written into the work memory RAM 1.2.

第2図に、CPUボード10の電気要素の構成を示す。FIG. 2 shows the configuration of electrical elements of the CPU board 10.

CPUボード10は、制御プログラムを格納したROM
II、ワークメモリとしての曾RAM12.マイクロプ
ロセッサ(CPU)13゜クロックパルス発生器14.
制御信号デコード回路15.アドレスラッチ回路16.
データノベスドライバ17.データバッファ18.パリ
ティチェック回路19.アドレスマルチプレクサ11a
、メモリリフレッシュ制御回路12a、バスタイミング
パルス発生器13a、アドレスバスバッファ14a、デ
ータバスバッファ15a、リードライトコントロール1
6a9割込制御回路17a、タイマ18aおよびコモン
バス50を含む。
The CPU board 10 is a ROM that stores a control program.
II. RAM12. as working memory. Microprocessor (CPU) 13° Clock pulse generator 14.
Control signal decoding circuit 15. Address latch circuit 16.
Data Noves Driver 17. Data buffer 18. Parity check circuit 19. Address multiplexer 11a
, memory refresh control circuit 12a, bus timing pulse generator 13a, address bus buffer 14a, data bus buffer 15a, read/write control 1
It includes a 6a9 interrupt control circuit 17a, a timer 18a, and a common bus 50.

第3図にページメモリ20の構成を示す。ページメモリ
20は、64 KBitのD−RAM  144個を1
024 K Byteメモリアレイとしたメモリユニッ
ト21.アドレスマルチプレクサ22.入出力バツファ
23.リフレッシュ制御回路24およびユニット選択回
路25で構成されている。
FIG. 3 shows the configuration of the page memory 20. The page memory 20 consists of 144 64 KB D-RAMs.
Memory unit 21 as a 024 K Byte memory array. Address multiplexer 22. Input/output buffer 23. It is composed of a refresh control circuit 24 and a unit selection circuit 25.

第4図にパターンメモリ30の構成を示す。パターンメ
モリ30は、文字パターン(1文字族48ライン=48
ドツト、横38yt、e= 24ドツト)のビット情報
と、濃度階調パターン(1パターン8X8ドツト)のビ
ット情報とを記憶するメモリアレイ31を備える。文字
パターンは、日本語文字、アルファベット、数字、およ
びその他の所要の文字および記号を含み、濃度階調パタ
ーンはコントラスト、濃淡等の調子が異なる4グループ
、各グループ64パターン(64階調)で計4×64パ
ターンを含む。パターンメモリ30は、メモリアレイ3
1の他に、メモリアレイ31にパターン情報を書込み、
メモリアレイ31よりパターン情報を読み出すための、
メモリアドレスセレクタ32.メモリバンクセレクタ3
3.タイミングパルス発生器34およびバッファ35を
備える。
FIG. 4 shows the configuration of the pattern memory 30. The pattern memory 30 stores character patterns (1 character group 48 lines = 48
A memory array 31 is provided for storing bit information of a dot, 38 yt horizontally, e=24 dots) and bit information of a density gradation pattern (one pattern is 8×8 dots). The character pattern includes Japanese characters, alphabets, numbers, and other required characters and symbols, and the density gradation pattern consists of 4 groups with different tones such as contrast and shading, and each group has 64 patterns (64 gradations). Contains 4x64 patterns. The pattern memory 30 is a memory array 3
1, write pattern information in the memory array 31,
For reading pattern information from the memory array 31,
Memory address selector 32. Memory bank selector 3
3. A timing pulse generator 34 and a buffer 35 are provided.

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

第5図にインターフェイスポード40の構成を示す。イ
ンターフェイスポード40は、ホスト200とのインタ
ーフェイスであるセントロニクスインターフェイス41
.プロッタ300とのインターフェイスであるプロッタ
インターフェイス42、その他の外部機器とシリアルで
データのやり取りをするシリアルインターフェイス44
゜D M A (Direct Memory Acc
ess)コントローラ43、バスインターフェイス45
9人出力バッファメモリ46 、 R5232C(パラ
レルインターフェイス)47およびR542248で構
成されている。
FIG. 5 shows the configuration of the interface port 40. 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 nine-person output buffer memory 46, an R5232C (parallel interface) 47, and an R542248.

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

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

メモリュニツ1〜21 メモリユニット21は、アドレス区分上、4サブページ
に分けられ、更に、各サブページが4バンクに分けられ
ている。この様子を第6図に示す。
Memories 1 to 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図のアドレスの数値表示はへキサテシマルノーテー
ションである(通常は11であわらされる)。
The numerical representation of the address in FIG. 6 is a hexadecimal notation (usually represented by 11).

DMA転送を行なう場合は、DMAコントローラ43が
CPU Noを持っているため、コントローラ43の、
CPU13に対応するI10エリアに、転送データのP
AGENoをItlRI丁Eし、DMAコン1−ローラ
43を制御する。
When performing DMA transfer, since the DMA controller 43 has the CPU No.
Transfer data is stored in the I10 area corresponding to CPU13.
It inputs AGENo and controls the DMA controller 1-roller 43.

メモリユニット21のメモリ消去のときには、PAGE
NOは任意とし、I10エリアにMSBビットONデー
タをWRITE L、8000H−8FFFFHの64
KByteにデータを書込む。64Byte単位で全メ
モリ同時に書込みができる。データ(消去で「0」)を
書込むと、第6図の矢印の方向に、64Byte単位に
同時に同一データが書き込まれる。したがって、メモリ
消去時間が極く短い。
When erasing the memory of the memory unit 21, PAGE
NO is optional, and WRITE L, 64 of 8000H-8FFFFH, MSB bit ON data in I10 area.
Write data to KByte. All memories can be written simultaneously in 64-byte units. When data ("0" for erasure) is written, the same data is simultaneously written in units of 64 bytes in the direction of the arrow in FIG. 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は、300Byte単位のブロ
ック転送をし、300Byteの転送が終る度にコモン
バス50をCPU13に返す。プロッタ300へのコマ
ンド2プロツタからのステータスは、CPIJ13によ
って読み出される。
The DMA controller 43 performs block transfer in units of 300 bytes, and returns the common bus 50 to the CPU 13 every time a 300 byte transfer is completed. Command 2 to plotter 300 Status from the plotter is read by CPIJ 13.

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

シリアルインターフェイス44は、DMAコントローラ
43又はCPU13でのデータのシリアル送受信を制御
する。DMAコン1ヘローラ43を用いる場合、シリア
ルインターフェイス44は、送信バッファが空になった
時あるいは、受信バッファにデータが入力されときにD
MAを要求する。CPU3で直接送受信データを扱う場
合には、割込みを発生しCPU13にサービスの要求を
する。
The serial interface 44 controls serial transmission and reception of data by the DMA controller 43 or the CPU 13. When using the DMA controller 43, the serial interface 44 outputs the DMA controller when the transmit buffer becomes empty or when data is input to the receive buffer.
Request MA. When the CPU 3 directly handles transmitted and received data, an interrupt is generated and a service request is made to the CPU 13.

バッファメモリ46は、アドレスがFCOOO〜FDF
FFのメモリであり、CPU13およびDMAコントロ
ーラ43でアクセス可能である。ディップスイッチをオ
フにすることにより、メモリ46はディスエーブルにな
る。
The buffer memory 46 has addresses FCOOO to FDF.
It is an FF memory and can be accessed by the CPU 13 and the DMA controller 43. By turning off the dip switch, memory 46 is disabled.

次にDMAコントローラ43のセット手順を説明すると
、まずコマンドレジスタを指定し、バンクNOを指定し
、DMA転送アドレスを指定し、DMA転送りyte数
を指定し、モードレジスタを指定し、マスクレジスタを
リセットする。これによりDMAが開始される。DMA
を終了するとマスクレジスタをセットする。
Next, to explain the setting procedure of the DMA controller 43, first, specify the command register, specify the bank number, specify the DMA transfer address, specify the number of DMA transfer yte, specify the mode register, and set the mask register. Reset. This starts DMA. D.M.A.
When finished, set the mask register.

プロッタインターフェイス42は、プロッタ300のス
テータスを読んで、記録筒であればDMAコントローラ
43をセットし、コマンドを指定してセットする。コマ
ンドを指定したときに、割込によるデ−夕転送が開始さ
れ、全ラインのデータ転送を設定枚数相当回数分終了す
ると、DMAマスクレジスタをセントする。
The plotter interface 42 reads the status of the plotter 300, sets the DMA controller 43 if it is a recording cylinder, and specifies and sets a command. When a command is specified, data transfer by interruption is started, and when 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コンI−ローラ43をセラ1へし、その後
割込でデータの転送をして、終了するとDMAマスクレ
ジスタをセラ1へする。
During DMA transfer, the Centronics interface 41 sets the DMA controller I-roller 43 to Sera 1, then transfers data using an interrupt, and upon completion, sets the DMA mask register to Sera 1.

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

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

(1)基本形態 a、ページメモリのビットマツブサイス!3296ビツ
ト(ライン)X横2400ビy h412Byしe  
X  300Byteb・ビットマツプ書込方式 全面一括水平順次走査(外部クロック同期による) C,ビットマツプ読出し方式 全面一括水平方向順次走査(外部クロック同期による) d、データ転送モード(受信) イ)文章(テキスト)モード ロ)中間調モード ハ)ビットイメージモード e、中間調表現 4種(4グループ)の階調 各グループは64の濃度階調 1つの濃度パターンは8X8トッ1−正方形マIヘリク
ス f、ビットマツプ対応のプリント面積 縦279mm X横203mm (2)ページメモリのピッ1−マツプ a、水平方向4分割(4サブペ一ジ分割)1サブページ
824ライン(ビット) x 2400ビツト。各サブ
ページは4バンクで構成。
(1) Basic form a, page memory bit size! 3296 bits (line) x 2400 bytes horizontally h412bytes
X 300 ByteB/Bitmap writing method Full horizontal sequential scanning (by external clock synchronization) C. Bitmap reading method Full horizontal sequential scanning (by external clock synchronization) d. Data transfer mode (receiving) B) Text mode ) Halftone mode C) Bit image mode e, 4 types (4 groups) of halftone expression, each group has 64 density gradations, one density pattern is 8 x 8 top 1 - square ma I helix f, print area corresponding to bitmap Height: 279 mm x Width: 203 mm (2) Page memory pin 1-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.

開始ア)・レスは各モートイ)2口)、ハ)共通でX(
水平:横)方向をByte (8Bite)単位。
Start a) and response are each motoy) 2 mouths), c) Commonly X (
Horizontal: 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、アドレス単位 水平方向 11yte単位(左から右へ)垂直方向 1
ine単位(上から下へ)C0終了アドレス指定 終了アドレスは、開始位置を基準とする相対アドレスで
あり、データのカウント数に相当する。
b, Address unit horizontal direction 11 yte unit (from left to right) vertical direction 1
inine unit (from top to bottom) C0 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量(ライン送り量)および行数により定
まる。
B) Text 1-mode is unspecified. It is determined by the character size, character pitch, LF amount (line feed amount), and number of lines.

口)の中間調モードでは、水平方向は区数(iByte
単位)、垂直方向も区数(81ine : IByte
)。
In halftone mode (mouth), the horizontal direction is the number of blocks (iByte
unit), and the number of sections in the vertical direction (81ine: IByte
).

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

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

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

(3)データ転送 a、キャラクタデータ(文字コードデータ)の英字、数
字、カナはJIS  C−6220に準拠。8単位符号
による。漢字モードの場合は、JIS  C−6226
準拠。
(3) Data transfer a, character data (character code data) alphabets, numbers, and kana conform to JIS C-6220. Based on 8 unit code. For Kanji mode, JIS C-6226
Compliant.

b、中間調濃度データ I Byte/区; Binary (0−63)区=
パターンー8×8ビット なお、機能キャラクタコードが0〜31の32種であっ
て、Bynaryコードの0〜31を専有し、しかも3
2〜120には英字、数字および記号が割り当てられて
いるので、これらとの混同を防ぐために、濃度階調0〜
63を指定するデータは、実数値を示す値に]28を加
えた値とし、その解読のときには、階調データの内容よ
り128を減算して実階調指示値を求める。
b, Halftone density data I Byte/section; Binary (0-63) section=
Pattern - 8 x 8 bits There are 32 types of functional character codes from 0 to 31, exclusive of Bynary codes 0 to 31, and 3
Alphabets, numbers, and symbols are assigned to 2 to 120, so to prevent confusion with these, density gradations 0 to 120 are assigned.
The data specifying 63 is a value obtained by adding ]28 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ビツト/pel  ;  Byte単位MSB・・・
しく左端画素)   LSB・・・R(右端画素)d、
数値データ Binary  ; Byte単位 e単位−タ転送順 MSDからLSD△(LからRへ:左端IByteから
順次に右方のByteを転送)。
C, bit image data 1 bit/pel; Byte unit MSB...
leftmost pixel) LSB...R (rightmost pixel) d,
Numerical data Binary; Byte unit e unit - data transfer order MSD to LSDΔ (from L to R: transfer the right Byte sequentially from the leftmost IByte).

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
P = 5pace。
Commands using ESC codes are completed with SP. S
P = 5 paces.

なお、上記機能キャラクタコードが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、領域指定コマンドの形式 ESC+(英字)十xI X2 Y1y2 +CI C
2G304 +5PXIX2:水平開始アドレス(絶対
アドレス)y1y2:垂直開始アドレス(絶対アドレス
)C1G2:水平終了アドレス(相対アドレス)C3C
4:垂直終了アドレス(相対アドレス)相対アドレスは
、開始アドレスからのカウント値。各アドレスデータは
2バイト。英字はモード指定又はコマンド種別を示す。
a, Command format % expression % b, Area specification command format ESC + (alphabetic character) xI X2 Y1y2 +CI C
2G304 +5PXIX2: Horizontal start address (absolute address) y1y2: Vertical start address (absolute address) C1G2: Horizontal end address (relative address) C3C
4: Vertical end address (relative address) Relative address is a count value from the start address. Each address data is 2 bytes. Alphabetic characters indicate mode specification or command type.

C,デフオールド モードはテキストモード、開始アドレスは座標原点。C, Defold The mode is text mode, and the start address is the coordinate origin.

d、モード指定 テキストモード ESC+A+xz X2 yz yz +SP中間調モ
ードおよびビットイメージモードの終了時には自動的に
テキス1−モード(デフ71−ル1〜)に戻るので、ま
た、テキストモードカ\ら他のモードレこは必らずモー
ド指定があるので、テキストモードでは終了アドレス指
定番よない。
d.Mode specification Text mode ESC+A+xz This always requires a mode specification, so in text mode there is no end address specification number.

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

ピッI〜イメージモード ESC+B+xIX2 yIV2 +CI C2C3c
a +SPe、書込形式 %式% n=o又は1;  n=oはメモリクリア&杏込。
Pi~Image mode ESC+B+xIX2 yIV2 +CI C2C3c
a +SPe, writing format % expression % n=o or 1; n=o is memory clear & insertion.

n =1は重ね書き(メモリデータと転送データのOR
)。データは記録で「1」、非記録で「0」である。n
=2は排他的論理和(exe、OR)の2込である。
n = 1 is overwriting (OR of memory data and transfer data)
). The data is "1" when it is recorded and "0" when it is not recorded. n
=2 is the 2-inclusive exclusive OR (exe, OR).

f、ページメモリ全体消去 ESC+ E 十SP g、ページメモリの部分消去 ESC+D+x1 x2 yl yz +c1 C2C
3C4+spアドレスは81ine単位である。
f, Entire page memory erase ESC+E 10SP g, Partial page memory erase ESC+D+x1 x2 yl yz +c1 C2C
The 3C4+sp address is in 81ine units.

h0文字サイズ指定 ESC十S + n 十SP n = 0〜5;n=0は等倍(リセット)、n=1は
#t1倍で縦172倍、n=2は横1倍で縦2倍、n=
3は横2倍で縦1倍、n二4は横2倍で縦1/2倍、n
−5は横2倍で縦2倍を指示する。
h0 Character size specification ESC 10S + n 10SP n = 0 to 5; n = 0 is equal size (reset), n = 1 is #t1x and height 172x, n = 2 is 1x width and 2x height , n=
3 is 2 times the width and 1 time the height, n24 is 2 times the width and 1/2 time the height, n
-5 indicates double width and double height.

n=oは文字サイズリセットを指示し、リセット(デフ
ォルト)で等倍にセラ1〜される。
n=o instructs to reset the font size, and when reset (default), the characters are set to the same size.

i0文字間スペース ESC+ H十n 十SP n = 0〜32で、スペースをトラ1〜単位で示す。i0 character space ESC+H10n10SP n = 0 to 32, and the space is indicated in units of 1 to 32.

j1行間スペース ESC十V 十n +SP nは8 ]、insを一単位とする数。デフォルトはn
=0゜ k、プリント及メモリクリア ESC+ P + n + 5P n=0〜99で、プリントアウトの回数(ページメモリ
転送回数)を表わす。担しn = 0は口=1と見なす
j1 line spacing ESC 10V 10n +SP n is 8], a number with ins as one unit. Default is n
=0°k, print and memory clear ESC+P+n+5P n=0 to 99 represents the number of printouts (number of page memory transfers). If n = 0, it is considered that the number of mouths = 1.

■、プリント&ノンクリア ESC+ N +n+5P n=0〜99で、プリントアラ1−の回数(ページメモ
リ転送回数)を表わす。担しn=oはn=1と見なす。
(2) Print & Non-Clear ESC+N +n+5P n=0 to 99 represents the number of print errors 1- (number of page memory transfers). If n=o, it is assumed that n=1.

m、復帰(CR)の定義 ESC+ R十n 十5P n=oはCRのみ、n=1はCRなしの改行LFのみ、
n = 2はCRと改行LFの両者。
m, definition of carriage return (CR) ESC + R 10n 15P n=o is only CR, n=1 is only line feed LF without CR,
n = 2 is both CR and line feed LF.

n、改行(L P )の定義 ESC+ F + n 十SP n = 0はLFのみ、n=1はCRのみ、n=2はC
RとLFの両者。
Definition of n, line feed (LP) ESC + F + n 10SP n = 0 is LF only, n = 1 is CR only, n = 2 is C
Both R and LF.

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

(1)メモリユニット21は、プロッタ300の一頁処
理分の画素数(ドツト数=ビット数)以上のメモリ(ペ
ージメモリ)を有し、 イ)ホスト200からの文字コードを文字パターンデー
タ(ビットパターン:ピクセル)に変換してメモリユニ
ット21の、ホスh200より指定された領域に書込む
、 口)ホスト200からの濃度階調(以下中間調という)
データを網点化疑似中間調パターンに変換(中間調デー
タに対応する中間調パターンのビット情報読出)してメ
モリユニット21の、ホスト200より指定された領域
に書込む、 ハ)ホスト200からのビットデータ(ピクセル)をそ
のままビットイメージとしてメモリユニット21の、ホ
スト200より指定された領域に書込む、という3つの
モードでページメモリをビット(ピクセル)で作成する
。1頁内で3モードの切換えが可能である。
(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 to the area specified by the host 200 of the memory unit 21;
Converting the data into a halftone pseudo halftone pattern (reading the bit information of the halftone pattern corresponding to the halftone data) 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 three modes within one page.

(2)メモリユニット21への書込みは、各モードの書
込開始位置を画素単位の数で2のn乗(実施例ではn−
3)として行なう。n=5が好ましい。
(2) Writing to the memory unit 21 is performed by setting the write start position of each mode in units of pixels to the power of 2 (n- in the embodiment).
3). Preferably n=5.

(3)上記(2)において、ハ)のピッ1−イメージモ
ードにおいては、指定領域の終りを規定する終了位置指
定を、開始位置と同一アドレス単位の、開始位置からの
相対値で指定する。
(3) In the above (2), in the p1-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)において、書込開始位置は、特にホス
I〜200からの指定がないときは、装置100の起動
直後(電源投入から始めてデータを受けたとき)の場合
はピッ1〜情報をメモリユニット21の座標原点から書
込み、他の場合には、その直前に指定した開始位置を復
帰位置とし、直前の終了モードがハ)のビットイメージ
のときは復帰改行位置から、また、イ)の文字パターン
や口)の中間調パターンのときはその直前に終了したア
ドレスの次を指定アドレスとする。
(4) In (2) above, if there is no particular designation from the host I~200, the writing start position is immediately after the device 100 is started (when data is received after the power is turned on), the write start position is P1~200. The information is written from the coordinate origin of the memory unit 21, and in other cases, the start position specified immediately before is the return position, and when the previous end mode is the bit image of c), from the return line feed position, and ) character pattern or a halftone pattern (mouth), the specified address is the address following the address that ended immediately before.

(5)メモリユニット21の1頁分のメモリデータの出
力回数がホスト200から指定可能であり、その回数の
データ出力後にメモリデータ1−21のデータを保持す
るか、消去するかもホスト200から指定可能である。
(5) The host 200 can specify the number of times one page of memory data from the memory unit 21 is output, and the host 200 can also specify whether to retain or erase the data in memory data 1-21 after outputting the data that number of times. It is possible.

(6)7fXスト200からのデータとメモリユニット
21のメモリデータとの、ホスト200から指示された
論理演算が可能であり、演算結果をホスト200から指
定された領域に更新メモリする。論理演算としては、論
理和(OR)、排他的論理和(Exc、OR) 、ホス
トデータの優先書込み、ホス1〜データの反転書込み2
メモリデータの反転書込みおよびメモリ消去であ机 (7)メモリユニット21のメモリデータは、プロッタ
300の速度に同期してプロッタ300ヒ転送する。
(6) Logical operations instructed by the host 200 can be performed on the data from the 7fX store 200 and memory data in the memory unit 21, and the operation results are updated in the memory area specified by the host 200. Logical operations include logical sum (OR), exclusive logical sum (Exc, OR), priority writing of host data, and inversion writing of host 1 to data 2.
(7) Memory data in the memory unit 21 is transferred to the plotter 300 in synchronization with the speed of the plotter 300.

(8)ホスl−200から装置100への命令を解釈す
る標準コマンドテーブルを有し、ホスト200からのロ
ードを受は入れてコマンドテーブルを書換えてこれを命
令解釈に用いて、ホスh200からのコマンドテーブル
変更を可能とした。
(8) It has a standard command table that interprets commands from the host h-200 to the device 100, accepts loads from the host 200, rewrites the command table, uses this for command interpretation, and interprets commands from the host h200. It is now possible to change the command table.

(9)上記(8)において、コマンドの形式は機能文字
コード、文字コードおよびパラメータ(数字コード)で
構成され、それぞれの使用個数は可変長(限定されてい
ない)である。
(9) In (8) above, the command format is composed 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)において、コマンドテ
ーブルは可変長マl−リクスであり、その行および列の
長さが可変長(限定されていない)である。
(10) In (8) and (9) above, the command table is a variable-length matrix, and the lengths of its rows and columns are variable (not limited).

(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. This is the number of lines corresponding to the line indicating the command line and the line indicating the processing routine. Set Tari's ite (function character code string) to "0"
”.

(12)文字パターンの等倍メモリ、縮少メモIJおよ
び拡大メモリが可能であり、ホスト200力為らの文字
サイズの指定に応じてこれらのモードで文字ノ(ターン
データ(ビット)をメモリュニツ1−20:メモリする
(12) Same-size memory, reduced memo IJ, and enlarged memory for character patterns are possible, and in these modes character patterns (turn data (bits) can be stored in memory according to the character size specified by the host 200. -20: Memory.

(13)上記(12)↓こおいて、縦方向サイズと横方
向サイズとが別個に選択可能であり、ホスl−200の
指示に応じた縦、横サイズで文字ノ(ターンデータ(ビ
ット)をメモリユニット21にメモリする。
(13) Above (12) ↓, the vertical size and horizontal size can be selected separately, and the character (turn data (bit) is stored in the memory unit 21.

(14)オリジナル文字パターンのドツトマトリクス構
成(ビットデータ力布)は、書込位置指定の際のアドレ
ス単位の整数倍(1以上)であり、文字間スペースは、
該アドレス単位の整数倍(0を含む)であってホスト2
00から指定できる。
(14) The dot matrix structure (bit data force) 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から指定できる。
(15) In (14) above, the dot matrix structure of the character turn is 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 (
(including 0) and can be arbitrarily specified by the host 200.

(16)中間調パターンは4種類(4グループ)であり
、各グループ64個(64階調)である。前記(1)の
口)において、メモリユニット21の、ホスト200の
指定する領域に、ホス1〜200の指定する中間調パタ
ーングループの中から、ホスト200からの階調データ
(濃度データ)で指定される中間調パターンを特定して
、そのパターンを書込む。
(16) There are four types (four groups) of halftone patterns, and each group has 64 pieces (64 gradations). At the beginning of (1) above, the area specified by the host 200 in the memory unit 21 is specified by the gradation data (density data) from the host 200 from among the halftone pattern groups specified by the hosts 1 to 200. Identify the halftone pattern to be used and write that pattern.

(17)上記(16)において、階調データの転送に先
たちホスト200が中間調を知らせた(宣言した)とき
は、階調データは所定位置に少なくともIBijの属性
データ(階調データであることを示すデータ)を含むI
Byteを階調データとして解釈する。
(17) In (16) above, when the host 200 notifies (declares) an intermediate tone prior to the transfer of the tone data, the tone data has at least IBij attribute data (gradation data) in a predetermined position. data indicating that
Interpret Byte as gradation data.

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

(19)上記(16)において、ホスト200が階調記
憶の書込領域(閉領域:始端アドレスと終端アドレス)
を指定データを転送する。このように書込領域を指定す
る場合には、ホスト200は階調グループを指定する属
性データをも転送する。
(19) In (16) above, the host 200 writes the gradation storage write area (closed area: start end address and end address)
Transfer the specified data. When specifying a writing area in this way, the host 200 also transfers attribute data specifying a 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) When there is no definition of CR and LF from the post 200 (default), the definitions according to the state of the designated switch that defines these definitions are followed.

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

(23)DMAI ントo−ラ43は、ホス1−200
ト(7)データ入出力しこも適用でき、ホスト200と
のデータ転送は、データを一担CPL113のアキュム
レータに取込んでから送出するCPUモートと、DMA
コントローラ43で転送するDMAモードで転送可能で
ある。
(23) DMAI controller 43 is host 1-200
(7) Data input/output port can also be applied, and data transfer with the host 200 is performed by a CPU mote that takes data into the accumulator of the CPL 113 and then sends it out, and a DMA
Transfer is possible in DMA mode in which the controller 43 transfers.

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

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

のデータを反転して更新メモリすることを指定する。コ
マンドは、ESC+ I + n + SPであり、n
=oは陽画(メモリの反転なし)指示であり、n=1が
反転(陰画)書換えを指示する。
Specifies that the data is inverted and stored in the update memory. The command is ESC+I+n+SP, where n
=o is a positive image (no memory inversion) instruction, and n=1 is an instruction for inversion (negative image) rewriting.

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

コマンドは、ESC+X+z1z;2 Z324 Z5
 Z6 +SPであり、ZlはカラムMを指定する数値
を示すデータ、22〜Z6はそれぞれロウN=1〜4に
書込む情報データである。
The command is ESC+X+z1z;2 Z324 Z5
Z6 +SP, 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図を参照する。電源が投入されると
CPU13は、初期化を経て、変数宣言をしてサブルー
チンの定義をしてメインプログラムに進む。変数宣言に
おいては、制御プログラム中で使用するすべての変数の
定義をする。サブルーチンの定義では、メインプログラ
ムおよび他のサブルーチンから呼び出されるサブルーチ
ンを定義しておく。プログラムを構成する各処理部分を
出来るだけサブルーチン化しており、それを呼出すこと
によってデータの処理が実行されてゆく。サブルーチン
の主なものは第7図に示す(ア)〜(マ)である。サブ
ルーチンには、1つの処理だけを行なう要素サブルーチ
ンと、それらを呼出して、まとまった処理を行なう複合
サブルーチンとがある。
First, reference is made to FIG. 7 which shows an overview. When the power is turned on, the CPU 13 initializes, 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 and writing 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座標)およびS
A’l (y座標)をクリアし、開始アドレス記憶レジ
スタXADR(x座標)およびYADR(y座標)をク
リアし、仮想ビットマツプ空間座標レジスタX、Yをク
リアする。次に文字パターンおよび中間調パターンの1
領域(区画)の横(x)を3バイト(24ドツト)に、
縦を6バイト(48ドッ1−=48ライン)に設定し、
文字間スペースを1バイト(8ドツト)に、行間スペー
スを0に設定し、英小文字コードを英大文字コードに変
換すること(コマンドが大文字で構成されているので、
小文字で入力があっても読取る目的でこの変換が行なわ
れる)を指示するフラグSすを、・オフ(変換せず)に
セットし、パターンテーブル(文字キャラクタメモリ&
濃度階調パターンメモリ)の参照を、テキストモード(
文字キャラクタ指定)にセットし、復帰動作CRをn=
o相当の復帰CRのみに設定し、改行動作LFをn =
 0相当の改行LFのみに設定し、文字サイズをn=0
の等倍にセラ1−シ、重ね書き(OR書き)なしにセラ
1−シ、反転書換なしにセットし、プリント枚数(ペー
ジメモリデータのプリンタ300への転送回数)を1に
セットする(以」ニブフォルト設定)。書込領域は、実
際の書込領域より外れたもの(つまり書込なし)にセッ
トする。
(a) Initial settings (Figure 8) Start address input register SAX (x coordinate) and S
Clear A'l (y coordinate), clear start address storage registers XADR (x coordinate) and YADR (y coordinate), and clear virtual bitmap space coordinate registers X, Y. Next, character pattern and halftone pattern 1
Set the horizontal (x) of the area (section) to 3 bytes (24 dots),
Set the vertical to 6 bytes (48 dots 1 - = 48 lines),
Set the character spacing to 1 byte (8 dots) and the line spacing to 0, and convert the lowercase English letter code to the uppercase letter code (since the command consists of uppercase letters,
The flag S, which indicates that this conversion is performed for reading purposes even if the input is in lowercase letters, is set to OFF (no conversion), and the pattern table (character character memory &
density gradation pattern memory) can be referenced in text mode (
character specification) and return operation CR to n=
Set only the return CR equivalent to o, and change the action LF to n =
Set only the line feed LF equivalent to 0, and set the font size to n=0
Set the number of copies to the same size, set the number of copies without overwriting (OR writing), and set the number of pages to be printed (the number of times page memory data is transferred to the printer 300) to 1 (below). ” nib fault setting). The write area is set to be outside the actual write area (that is, no writing is performed).

(イ)メモリ全体消去(第9図) 全領域同時書込をセットし、書込領域先頭アドレス(バ
イト単位)に0(非記録データ)を書込み、順次にそれ
を次のアドレスに転送する。
(a) Erasing the entire memory (Figure 9) Set all area simultaneous writing, write 0 (non-recorded data) to the write area start address (byte unit), 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転送を開始する。転送
バイトカウンタの内容が0になると、アドレスをまた0
に設定し転送バイトカウンタにまた304を設定してD
M/、を起動する。
(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. After setting, DMA transfer to the plotter 300 is started. When the content of the transferred byte counter reaches 0, the address is set to 0 again.
and set 304 in the transfer byte counter again.
Start M/.

以下転送バイト数が304になる毎に(転送バイトカウ
ンタの内容が0になる毎に)、読出しラインを次のライ
ンに移し、1バンクの読出しを終了すると次のバンクの
読出しに進み、1サブページの読出しを終了すると次の
サブページに読出しを進める。
Thereafter, each time the number of transferred bytes reaches 304 (each time the contents of the transferred byte 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 started. When reading of a page is finished, reading proceeds to the next subpage.

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

(1)プリント(第11図) プロッタ300がレディであると、前述の(つ)DMA
出力を実行し、それを終了するとプリント設定枚数より
1を減算して残値が0であれば、プリン1〜後メモリ消
去が設定されていれば(イ)メモリ全体消去のサブルー
チンを実行し、(ア)初期設定のサブルーチンを実行し
てからメインルーチンに復帰する。プリント後メモリ消
去が設定されていなければ、メモリ全体消去を実行しな
い°で(ア)初期値設定サブルーチンに進む。プリント
枚数残値が0になるまでこのプリン1−サブルーチンを
繰り返えす。
(1) Print (Figure 11) When the plotter 300 is ready, the above-mentioned (1) DMA
Execute the output, and when it is finished, subtract 1 from the print setting number and if the remaining value is 0, if print 1 ~ memory erase is set, (a) Execute the entire memory erase subroutine, (a) Execute the initial setting subroutine and then return to the main routine. If the memory erase after printing is not set, proceed to (a) the initial value setting subroutine without executing the entire memory erase. This print 1 subroutine can be repeated until the remaining number of prints becomes 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図) ライン数(ラインカウンタの内容)を引数とする。
(Power) Writing area setting table (bank and subpage settings) (Fig. 13) The number of lines (contents of the line counter) is taken as an argument.

ライン数に割り当てられたバンクNOおよびサブページ
Noをメモリしたテーブルがあり、このテーブルを参照
してバンクNOおよびサブページNOを求めて、書込領
域として割り当てるバンクおよびサブページを設定する
。第13図は、テーブルを参照して得られるバンクおよ
びサブページの割り付けを示している。
There is a table storing bank numbers and subpage numbers assigned to line numbers, and by referring to this table, the bank number and subpage number are determined, and the bank and subpage to be assigned as the write area are set. FIG. 13 shows the bank and subpage allocation obtained by referring to the table.

(キ)半角文字(標準)(第14図) 文字パターンメモリ(キャラクタメモリ)は横3バイト
、縦48ラインであり、これらの全ビット24 X 4
8を1列に並べた形でキャラクタメモリに格納されてい
る。このデータが一担半角文字バ・・ノファに同じく1
列の並びで格納される。
(G) Half-width characters (standard) (Figure 14) Character pattern memory (character memory) is 3 bytes horizontally and 48 lines vertically, and all these bits are 24 x 4.
It is stored in the character memory in the form of 8's arranged in a row. This data is the same as the one half-width character B...Nofa.
Stored in a sequence of columns.

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

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

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

(り)半角半長文字(第15図) これにおいては、横3バイト×48ラインのパターンデ
ータを1列で格納した文字バッファより、書込みライン
数Cに6を乗じた位置(0,6,12,18,・・・)
から後3バイト毎を読んで設定されたバンクにメモリす
る。すなわち文字の偶数番ラインのデータを捨てたデー
タが横3バイト×縦24ラインに変換されてページメモ
リに書込ま九る。
(ri) Half-width half-length characters (Figure 15) In this case, 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, 12, 18,...)
Read every 3 bytes from then on and store it in memory in the set bank. That is, the data of even numbered lines of characters is discarded, and the data is converted into 3 horizontal bytes x 24 vertical lines and written into the page memory.

(ケ)半角倍長文字(第16図) これにおいては繰り返し書込みカウンタCCが用いられ
る。横3バイトX48ラインのパターンデータを1列で
格納した文字バッファより、書込みライン数Cに3を乗
じた位置(0,3,6,9,・・・)から後3バイト毎
を読んで設定されたバンクにメモリし、更に書込ライン
を改めて同じ3バイトが次のラインにも書込まれる。す
なわち、一度目の書込みが終るとカウンタCCが1カウ
ントアツプされ、書込ラインを改めてまた同じ3バイト
が書込まれてカウンタCCが更にカウントアツプされて
カウジト値が2となり、そこでカウンタCCがクリアさ
れる。
(k) Half-width double-length characters (Fig. 16) In this case, a repeat writing counter CC is used. Set by reading every 3 bytes after the position (0, 3, 6, 9,...) where the number of writing lines C is multiplied by 3 from a character buffer that stores pattern data of 3 horizontal bytes x 48 lines in one column. Then, the write line is changed and the same 3 bytes are written to the next line. 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バイトX縦96ラインに変換され
てページメモリに書込まれる。
That is, the data written twice over two lines of data for each line of characters is converted into 3 bytes horizontally x 96 lines vertically and written into the page memory.

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

(す)全角半長文字(第18図) これにおいてもこのルーチンに先行する(セ)全角文字
前処理で上述の(コ)全角文字と同様に全角文字バッフ
ァに文字各ラインの各ビットを続けて2度書きして、全
角文字バッファに、同じビット情報を連続2ピッl〜に
格納した1列のビット情報が格納される。しかし、該バ
ッファよりの読出しが、ライン数×12番目の位置より
連続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 is stored in the full-width character buffer, with the same bit information stored in two consecutive bits. However, since reading from the buffer is performed every 6 consecutive bytes starting from the 12th position of the number of lines, the data on even-numbered lines is discarded and written to the page memory, so it is stored in half-length. .

(シ)全角倍長文字(第19図) これにおいてもこのルーチンに先行する(セ)全角文字
前処理で上述の(コ)全角文字と同様に全角文字バッフ
ァに文字各ラインの各ビットを続けて2度書きして、全
角文字バッファに、同じビット情報が連続2ビットに格
納した1列のビット情報が格納される。また、(ケ)の
半角倍長文字の場合と同様に2度書きカウンタCCが用
いられて、同じラインデータ(全角)が連続する2ライ
ンに書込まれるので、ページメモリには、横6バイトX
縦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. In addition, as in the case of half-width double-length characters in (ke), 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 bytes horizontally. X
Character data is stored in 96 vertical lines.

(ス)中間調パターン(第20図) 中間調の種類(グループ)は4種であり、各グループに
64階調が割り当てられ、各階調が横1パイ1〜(8ビ
ツト)xggライン(8ビツト)=8バイトのパターン
で表わされる。
(S) Halftone pattern (Fig. 20) There are four types (groups) of halftones, and each group is assigned 64 gradations, and each gradation is horizontal 1 pie 1 to (8 bits) x gg line (8 bits). (bit)=represented by an 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から装N100に与えることにしてい
る。そこで、この中間調パターンのサブフローで階調デ
ータより128を減算して、階調O〜63そのものを表
わすデータを再現する。次いで、1最小パターンが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 were expressed directly in binary, confusion would occur in identification, so we decided to give the number obtained by adding 128 to the gradation numbers 0 to 63 as gradation data from the host 200 to the device N100. ing. Therefore, in the subflow of this halftone pattern, 128 is subtracted from the gradation data to reproduce data representing the gradations O to 63 themselves. Next, since one 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バイ1へ
(1最小パターンの64ビツト)を順々に読出して半角
文字バッファに転送して、スタートアドレス”/ADH
(バイト)に8を乗じてラインレジスタYに格納し、ス
タートアドレスXADRをXレジスタXに格納し、書込
ラインレジスタCをクリアし、絶対アドレ、1Y=30
4X(Y MUD 208)+Xtil−演算する。す
なわち、メモリではX、■アドレスが連続しているので
、■を208で割って余りをとりそれに304を乗算し
てXを加算して絶対アドレスYYを求める。次にYYよ
り304を減算した値をyYとする。次に反転書込が設
定されているか否かを参照し、設定されていなければ第
21図に示す通常書込に進み、設定されていると第22
図の反転書込に進む。
Next, identify a read pattern group using the saved halftone type data, read out the Fth to 8 by 1 (64 bits of 1 minimum pattern) of the group in order, and transfer them to the half-width character buffer. Start address”/ADH
(byte) is multiplied by 8 and stored in line register Y, the start address XADR is stored in X register X, the write line register C is cleared, and the absolute address is 1Y=30.
4X(Y MUD 208)+Xtil-calculate. That is, since the X and ■ addresses are consecutive in the memory, divide ■ by 208, take the remainder, multiply it by 304, and add X to obtain the absolute address YY. Next, the value obtained by subtracting 304 from YY is set as yY. 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.
Proceed to reverse drawing of the figure.

第21図を参照して通常書込を説明すると、まず前述の
(オ)書込領域・アドレス設定を実行してページメモリ
の書込領域を設定し、次に設定された領域に、書込ライ
ンNoに対応付けて、半角文字バファの各バイトを書込
む。1ラインに1バイトを書込む毎にライン数カウンタ
Cを1カウン1〜アツプし、カウント値が8になると書
込を終了する。これにより、1最小パターン横1バイト
、1f1Bラインの書込をしたことになる。
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. Each byte of the half-width character buffer is written in association with the line number. Every time one byte is written to one line, the line number counter C is incremented by one count, and when the count value reaches eight, the writing is completed. As a result, writing of 1 horizontal 1 byte of 1 minimum pattern and 1f1B line is performed.

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

(セ)全角文字前処理 先に説明した(コ)全角文字、(す)全角半長文字およ
び(シ)全角倍長文字では、全角文字バッファに、文字
パターン(キャラクタ)データの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 bit of the character pattern (character) data is horizontally transferred to the full-width character buffer. It is necessary to store two consecutive bits. This storage is performed by this full-width character preprocessing.

これにおいては、先ずキャラクタ読出しライン数カウン
タCをクリアし、全角文字バッファをクリアし、次いで
キャラクタデータ(横1列に各ラインの3バイトが順次
に並べられている;計3×48バイト)の3バイトにつ
き、各ビットを連続2ビットで全角文字バッファに書込
み、これを終了するとカウンタCを1カントアツプし、
今度はキャラクタデータの次の3バイトを、同様にして
6バイトにして全角文字レジスタに続けて格納する。そ
してカウンタCを1カウントアツプする。以下同様であ
る。
In this case, first clear the character read line number counter C, clear the full-width character buffer, and then read the character data (3 bytes of each line are sequentially arranged in one horizontal column; total of 3 x 48 bytes). For every 3 bytes, each bit is written as 2 consecutive bits to the full-width character buffer, and when this is finished, the counter C is incremented by 1,
Next, the next 3 bytes of character data are similarly converted to 6 bytes and stored in the full-width character register. Then, the counter C is incremented by one. The same applies below.

カウンタCの内容が144になると、1文字のキャラク
タデータのすべての処理を終っているので、文字指定を
参照して全角文字指定のときには前述の(コ)全角文字
のサブルーチンに、全角半長文字指定のときには(す)
全角半長文字のサブルーチンに、また全角倍長文字指定
のときには(シ)全角倍長文字のサブルーチンに進む。
When the contents of counter C reach 144, all the processing of one character's character data has been completed, so when the character specification is referred to and a full-width character is specified, the subroutine for full-width characters (C) described above is executed. When specified (su)
Proceeds to the subroutine for full-width half-length characters, or (b) if full-width double-length characters are specified, then proceeds to the subroutine for full-width double-length characters.

(ン)パターン処理(第24a図および第24b図)パ
ターン(フォント)には、文字パターンと中間調パター
ンがある。文字コードはJIS C−6220のアスキ
ーコードに従っており、この規定によれば、0〜31に
機能文字コードが、32〜120に記号、数字および英
字が割り当てられ、121〜151は未定義で、152
〜210にカタカナ文字が割り当てられ、211〜23
0が未定義である。そこで、記号、数字、英字およびカ
タカナは0から順次にコードを割り当てているが、それ
らの機能文字コード、未定義コード等との混同を防ぐた
めに、ホストとのやり取りでは、記号、数字および英字
は32を加算したコードとし、カタカナでは64を加算
したコードとしている。
(n) Pattern processing (Figures 24a and 24b) Patterns (fonts) include character patterns and halftone patterns. The character code follows the ASCII code of JIS C-6220, and according to this regulation, functional character codes are assigned to 0 to 31, symbols, numbers, and alphabetic characters are assigned to 32 to 120, 121 to 151 are undefined, and 152
Katakana characters are assigned to ~210, and 211 to 23
0 is undefined. Therefore, symbols, numbers, alphabetic characters, and katakana are assigned codes sequentially starting from 0. However, to prevent confusion with functional character codes, undefined codes, etc., symbols, numbers, and alphabetic characters are The code is made by adding 32, and in katakana, it is made by adding 64.

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

次に、文字コードに144を乗算してこわを文字パター
ンメモリ(キャラクタメモリ)の読出しアドレスFとす
る。これは文字キャラクタの1つに144バイ1−が割
り当てられているので、文字データの先頭アドレスを指
定するためである。次に文字データをパターンメモリよ
り読出し、スタートアドレスYADR(バイト)に8を
乗じてラインレジスタyに格納し、スタートアドレスX
ADRをXレジスタXに格納し、文字指定を参照して指
定された文字サイズの、前述の各種文字サイズのサブル
ーチンに進み、それを抜けるとスター1−アドレスXA
叶を次に進める。
Next, the character code is multiplied by 144 and the stiffness is set as the read address F of the character pattern memory (character memory). This is to specify the start address of the character data since 144 by 1- is assigned to one of the character characters. Next, character data is read from the pattern memory, the start address YADR (byte) is multiplied by 8, and stored in line register y, and the start address
ADR is stored in the X register
Move on to the next leaf.

中間調モードの場合は、それの濃度階調データはすでに
説明したように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. If the data is outside the range, this subroutine is terminated and the halftone pattern subroutine is not executed.

(り) CR(復帰)動作設定(第25図)このサブル
ーチンでは、(ア)初期値設定(デフォルト)、後述す
る(ヌ)命令解読、あるいはディップスイッチ読取でレ
ジスタCRに格納したCR指定データに基づいてページ
メモリの読み書き71〜レスを更新する。CR指定デー
タの0はCRのみの実行を指示するので、その場合には
X軸スタートアドレスを最初の開始アドレスに設定する
。CR指定データの1はLFのみの実行を指示するので
、その場合にはY軸スタートアドレスを文字サイズLと
行間スペースV相当のライン数を現在値に加えた値に更
新する。CR指定データの2は、CRとLFを共に指定
するので、その場合にはX軸スター1−アドレスを最初
の開始アドレスに設定し、Y軸スター1〜アドレスを文
字サイズLと行間スペース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 CR specification data stored in register CR by dip switch reading. Based on this, page memory read/write 71-res are updated. 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 LF, 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 1-address as the first start address, and set the Y-axis star 1-address as the character size L and line spacing V. Update the number of lines to the current value plus the value.

(チ)LF(改行)設定(第26図) このサブルーチンでは、(ア)初期値設定(デフォルト
)、後述する(ヌ)命令解読、あるいはディップスイッ
チ読取でレジスタLFに格納したLF指定データに基づ
いてページメモリの読み書きア゛ドレスを更新する。L
F指定データのOはLFのみの実行を指示するので、そ
の場合にはY軸スタートアドレスを最初の開始アドレス
に設定する。LF指定データの1はCRのみの実行を指
示するので、その場合にはX軸スタートアドレスを文字
サイズLと行間スペースV相当のライン数を現在値に加
えた値に更新する。LF指定データの2は、CRとLF
を共に指定するので、その場合にはX軸スター1−アド
レスを最初の開始アドレスに設定し、Y軸スタートアド
レスを文字サイズLと行間スペースV相当のライン数を
現在値に加えた値に更新する。
(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. L
Since O of the F designation data instructs execution of only LF, in that case, the Y-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 value obtained by adding the number of lines equivalent to the character size L and line spacing V to the current value. do.

(ツ)セントロニクス入力(第28図)割込禁止が解除
されると、ホスト200にレディ(受信可)を出力する
。ホスト200よりのデータを受信すると、セントロニ
クスインターフェイス旧よりデータを取込み、ホスト2
00にビジィ(受信不可)をセットし、外部からの割込
を禁止する。
(T) Centronics input (FIG. 28) When the interrupt prohibition is released, a ready (receivable) signal is output to the host 200. When data is received from the host 200, it is imported from the old Centronics interface and sent to the host 2.
Sets busy (reception not possible) to 00 and prohibits external interrupts.

(テ)ビットイメージ処理(第27a図および第27b
図)縦8ライン(1バイl−)で一単位のアドレスと1
/ているので、これをライン数でのアドレスに変換する
ため、Y軸スター1〜アドレスに8を乗算しで■小山ラ
インアドレスVをセットし、X軸はそのままスター1〜
アドレスをセットする。そして受信データで指示された
領域の横幅工と縦幅Jを目標値としてセットする。次い
でライン数カウンタCCをクリアし、絶対アドレスYY
を演算してそわより304を減算した値を絶対アドレス
YYとしてセットする。次に横幅カウンタCをクリアし
て反転書込か否かを参照し、(ン)セントロニクス入力
を実行して受信データ(ビットデータ)を横幅1分ピッ
l−バッファに格納する。反転書込が指定されていると
きには。
(TE) Bit image processing (Figures 27a and 27b)
Figure) One unit of address and 1 in 8 vertical lines (1 byte)
/, so in order to convert this to an address in line numbers, multiply the Y-axis star 1~address by 8, set ■Koyama line address V, and change the X-axis to star 1~address as it is.
Set address. Then, the width and height J of the area specified by the received data are set as target values. Next, clear the line number counter CC and set the absolute address YY.
The value obtained by subtracting 304 from the stiffness is set as the absolute address YY. Next, the width counter C is cleared and reference is made to see whether or not inversion writing is to be performed, and (n) centronics input is executed to store the received data (bit data) in the 1 minute width pick l-buffer. When reverse writing is specified.

このときにデータビットの「1」と「0」を反転して格
納する。横幅分1ラインのビットデータをピッ1〜バツ
フアに格納すると、(オ)書込領域・アドレス設定を実
行して、クリア後書込か否かを参照してクリア後書込で
あれば、設定したバンクにビットバッファの横幅1ライ
ン分のビットデータを書込み、ライン数カウンタCCを
1カウントアツプし、また横カウンタCをクリアして横
幅1ライン分の受信とピッ1−バッファへの書込み、書
込領域アドレス設定およびページメモリの所定バンクへ
の書込を行なう。ライン数カウンタCCの内容がJ+1
になると縦Jラインの書込を終了しているので、このサ
ブルーチンを終了する。クリア後書込が指定されていな
かったときには、書込領域アドレス設定をした後に、ペ
ージメモリの設定バンクからメモリバッファに横幅分(
C千1バイト)のピッ1−データを読出し、ビットデー
タカウンタBCをクリアして、重ね書きが指定されてい
るときには、ピットバッファの各ビットとメモリバッフ
ァの各ビットを並び順に論理和(OR)をとってピット
バッファに更新メモリし、1ビツトの更新メモリ毎にビ
ットデータカウンタを1カウントアツプし、ビットカウ
ンタBCの内容が横幅カウンタCの内容を越えると、す
なわち横幅1ライン分の論理和処理をすると、ピットバ
ッファの内容をページメモリの設定バングに書込み、ラ
イン数カウンタccを1カウン1〜アツプする。排他的
論理和が指定さ九ているときには、論理和のときの手順
と同様にしてページメモリにあったビットデータと、ピ
ットバッファのビットデータとの排他的論理和をとって
ピッI・バッファに更新メモリしてからページメモリに
書込む。
At this time, the data bits "1" and "0" are inverted and stored. When one line of bit data corresponding to the width is stored in pins 1 to buffer, (e) Execute the write area/address setting, check whether writing is to be performed after clearing, and if it is to be written after clearing, set. Writes bit data for one horizontal line of the bit buffer to the bank that has been read, increments the line counter CC by 1, clears the horizontal counter C, receives one horizontal line, and writes the bit data to the pin 1 buffer. Setting the write area address and writing to a predetermined bank of the page memory. The content of line number counter CC is J+1
When this happens, the writing of the vertical J line has been completed, so this subroutine is ended. If write after clear is not specified, after setting the write area address, the width (width) is transferred from the page memory setting bank to the memory buffer.
Read the pit 1-data (1 byte C), clear the bit data counter BC, and when overwriting is specified, logically OR (OR) each bit of the pit buffer and each bit of the memory buffer in the order in which they are arranged. is updated in the pit buffer, and the bit data counter is incremented by 1 for each updated memory of 1 bit. When the contents of the bit counter BC exceed the contents of the width counter C, that is, the logical sum processing for the width of one line is performed. Then, the contents of the pit buffer are written to the setting bank of the page memory, and the line number counter cc is incremented by one 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 using the same procedure as for OR, and store it in the pit buffer. Update memory and then write to page memory.

(ト)英小文字・大文字変換(第29図)第1表に示す
コマンドテーブルを参照すると。
(g) Lower case/upper case conversion (Figure 29) Refer to the command table shown in Table 1.

コマンドは英大文字および数字で構成される。そこで、
英小文字であってもコマンドを解釈しうるように、この
変換サブルーチンが備かわっている。
Commands consist of uppercase letters and numbers. Therefore,
This conversion subroutine is provided so that commands can be interpreted even in lowercase letters.

まず英大文字は96〈データ〈123であるので、これ
を外れていると英小文字である。英小文字は英大文字よ
り32大きいコードであるので、入力コードより32を
減算した値を示すコードを文字コードに訂正する。変換
を終了すると、フラグswを変換不要を示すオフにセラ
1−する。
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 turned off indicating that the conversion is not required.

(す)部分消去(第30a図および第30b図)部分消
去は、前述の(テ)ビットイメージ処理と同様にして指
定領域に「0」をメモリすることと等価である。指定領
域全体に「0」をメモリすればよいので、部分消去では
、指定領域のライン毎に、先頭ビットに「0」を書込み
、これをラインに沿って転送することにより行なう。
(S) Partial erasure (FIGS. 30a and 30b) Partial erasure is equivalent to storing "0" in a designated area in the same way 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のコマンドテーブル書込領域アドレスcy=。
(d) Command table writing (command table tabulation) (31st
Figure) RAM command table write area address cy=.

〜50(第1表のカラム旧の全データをクリアする。~50 (Clear all old data in columns in Table 1.

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

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

オフであると変換を終わっているので、そのままデータ
を参照し、入力データの内容と、ロウNレジスタCXと
カラムNレジスタ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 column N register Cy (Table 1). Then, the contents of registers CX and CY are counted up until data matching the input data is read out.

すなわち、まず入力データの機能文字コードをコマンド
テーブル(第1表)のロウN=0の、カラム0〜50(
M=50まで書込が可能であり、第1表の例では阿=1
6まで書込があり阿=17〜50は空いている:すべて
「0」が書込まれている)のデータと阿=0のものから
順次に1.2.3・・・のものと比較し、合致するとH
を固定してロウNを順次に1づつ増やしてNとNで特定
されたマトリクス交点のデータと、入力データの機能文
字コード以下のデータとを比較する。
That is, first, the function character code of the input data is entered in columns 0 to 50 (row N=0 of the command table (Table 1)).
It is possible to write up to M=50, and in the example in Table 1, A=1.
6 has been written, and A = 17 to 50 are empty: "0" is written in all)) and data 1, 2, 3, etc. are compared sequentially from A = 0. and if it matches, H
is fixed, row N is sequentially increased by 1, and the data at the matrix intersection specified by N and N are 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=O〜3のデータと入力データとが全く合致
すると、そのときのカラムHの値が入力コマンドNoで
あり、該カラムNのロウN=4のデータが、コマンドで
指示されたサブルーチンを示す。デフォルトがテキスト
モードであるので、コマンドの機能文字コード部が「0
」のときには、処理指示レジスタOPに(ン)パターン
処理(フォント処理)を指示する0をメモリする。その
他の場合には、入力コマンドデータに合致したデータを
有するカラムのロウN=4のデータを指示レジスタOP
にメモリする。
When the data in N=O~3 of row N and the input data completely match, the value in column H at that time is the input command No., and the data in row N=4 in column N is specified by the command. Indicates a subroutine. Since the default is text mode, the function character code part of the command is "0".
'', 0 instructing pattern processing (font processing) is stored in the processing instruction register OP. In other cases, the data in row N=4 of the column that has data that matches the input command data is stored in the instruction register OP.
to memory.

(ネ)処理操作選択(第33図) このサブルーチンで、処理指示レジスタOPの内容に従
ったサブルーチンを設定する。処理指示レジスタOPの
内容の0は前述のようにパターン処理(フォント処理)
であるので、このときには(ン)パターン処理を設定す
る。0P=2では(テ)ビットイメージ処理を、0P=
4では(す)部分消去を、0P−5では(イ)メモリ全
体消去を、0P=14では(1)プリントを、0P=1
6でも(1)プリントを、0P=27では(夕)CR動
作設定を、OP = 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. 0P=2 performs (TE) bit image processing, 0P=
4 performs (S) partial erase, 0P-5 performs (B) entire memory erase, 0P=14 performs (1) print, 0P=1
6 also has (1) print, 0P = 27 (evening) CR operation setting, OP = 28 (ch) LF operation setting,
Further, when 0P=24, (e) instruction rewriting is set.

())パラメータ計算(1)(第34図)コマンド中の
パラメータがXi X2 yl y2の4個の場合には
、これらはスタートアドレスを指示している。XlがX
アドレスの上位8バイト+X2が下位8バイト、ylが
Xアドレスの」二位8バイト。
()) Parameter calculation (1) (Fig. 34) When there are four parameters in the command: Xi, X2, yl, y2, these indicate the start address. Xl is X
The upper 8 bytes of the address + X2 are the lower 8 bytes, and yl is the second 8 bytes of the X address.

y2が下位8バイトであるので、256Xx1 +x2
をスター1ヘアドレスレジスタSAXに、256Xyl
 +y2をスタートアドレスレジスタSAYに格納する
Since y2 is the lower 8 bytes, 256Xx1 +x2
into star 1 hair address register SAX, 256Xyl
+y2 is stored in the start address register SAY.

(ハ)パラメータ計算(2)(第35図)コマンドのパ
ラメータがXi X2 YIY2 rCi C2C3C
4の8個の場合には、256Xx1 +x2をスタート
アドレスレジスタSAXに、256Xyz +y2をス
タートアドレスレジスタSAYに格納し、01〜c4が
スタートアドレスからの終了位置(相対アドレス)を示
しているので、256Xcl +c2をXアドレス・バ
イトカウンタXADCに、256XC3+c4をyアド
レスバイトカウンタVADCに格納し、XADCを目標
バイトレジスタエに、YADCの内容(ノベイト)しこ
8を乗じた数に更に7を加算した値を目標ライン数レジ
スタJにメモリする。なお、7をカロ算するのしよ、Y
ADCが0のとき、それはライン数で0〜7の領域を指
すので、その終りの7と設定するためである。
(c) Parameter calculation (2) (Figure 35) Command parameters are Xi X2 YIY2 rCi C2C3C
4, 256Xx1 +x2 is stored in the start address register SAX, 256Xyz +y2 is stored in the start address register SAY, and 01 to c4 indicate the end position (relative address) from the start address, so 256Xcl +c2 is stored in the X address byte counter XADC, 256XC3+c4 is stored in the y address byte counter VADC, XADC is stored in the target byte register, and the value obtained by multiplying the contents of YADC (novate) by 8 and further adding 7 is added. Store in target line number register J. By the way, let's count 7 in Calo, Y.
When the ADC is 0, it indicates the area from 0 to 7 in terms of line number, so it is set to 7 at the end.

(ヒ)パラメータ設定 (1)スタートアドレスノ(ラメータ(第36a図・)
前述の())パラメータ計算を実肴斤して、算出したア
ドレスをXアドレスレジスタ(現在イ装置レジスタ)X
ADRおよびyアドレスレジスタレ;格納する。し)ず
れもバイ1一単位のデータである。
(H) Parameter setting (1) Start address (Figure 36a)
Execute the above parameter calculation () and store the calculated address in the X address register (currently the device register)
ADR and y address register; store. (b) The deviation is also data in units of by-1.

(2)ピッ1〜イメージノ(ラメータ(第36b図)前
述の(ハ)パラメータ計算(2)を実<5する。X方向
はバイト単位、X方向(よライン単位である。
(2) Pi1~Image No. (Rameter (Figure 36b)) Perform the above-mentioned (c) parameter calculation (2) by <5. The X direction is byte units, and the X direction (line unit).

(3)部分消去パラメータ(第36c図)前述の(ハ)
パラメータ計算(2)を実イテするちX方向はバイト単
位、X方向はうイン単イ立である。
(3) Partial erasure parameter (Figure 36c) (c) mentioned above
When the parameter calculation (2) is actually performed, the X direction is in units of bytes, and the X direction is in units of bytes.

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

(5)中間調モードパラメータ(第36d図)パターン
テーブル選択レジスタPTE、中間調モードコマンドの
中のノ(ラメータnのイ直を格納する。
(5) Halftone mode parameter (Figure 36d) Pattern table selection register PTE stores the value of parameter n in the halftone mode command.

n−0(中間調モード終了:デフオルト復帰でテキスト
モード指定と同義)のときしこ(ま、文字サイズの横V
を3バイト(半角)、縦りを61ベイト(48ライン二
全角)、文字間スペースHを1ノヘイトおよび’ti 
ftUスペースVを0(デフォルト)しこ設定する。N
=Oでなり1とき(中間調指示)には、ノズターンサイ
ズの利4νを1バイトに、縦を1バイ1−(8ライン)
し;、ノペターン11]スペースの横Hおよび縦V共し
;0しこ設定する。
Tokishiko (well, the horizontal V of the font size
is 3 bytes (half-width), the height is 61 bytes (48 lines double-byte), the space between characters is 1 noheight, and 'ti' is 3 bytes (half-width).
Set ftU space V to 0 (default). N
=O, and when it is 1 (halftone instruction), the nozzle turn size profit 4ν is 1 byte, and the vertical is 1 by 1- (8 lines).
, Nope Turn 11] Set both the horizontal H and vertical V of the space to 0.

(6)文字間スペース)<−2メータ(第36f図)文
字間スペースパラメータレジスタH1こ、文字間スペー
ス指定コマンドのノ(ラメータnのイ直を格納する。
(6) Intercharacter space <-2 meter (Fig. 36f) Character space parameter register H1 stores the value of parameter n of the character interval designation command.

(7)反@書込パラメータ(第36g図)メモリデータ
のインノベース指定コマン1このノ(ラメータnの値を
反転書込指示レジスタRE&′0−書込も・。
(7) Reversal@Write Parameter (Figure 36g) Memory Data Innobase Designation Command 1 This (reverse the value of parameter n) Write instruction register RE&'0-Write also.

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

(9)プリント後メモリ)去のときのプリント枚数(第
361図) プリントルクリアのコマンドのパラメータnの値をプリ
ント枚数レジスタCNに格納する。
(9) Memory after printing) Number of copies to be printed (Fig. 361) The value of the parameter n of the print clear command is stored in the number of copies to be printed register CN.

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

(11)文字サイズ選択パラメータ(第36に図)文字
サイズレジスタSに、文字サイズ指定コマンドのパラメ
ータnの値を格納し、格納した値(n)が0のときには
、横Wを3バイト(半角)に、縦りを6バイト(48ラ
イン)に設定する。1のときにはりを3バイト、Lを3
バイトに、2のときにはりを3バイト、Lを12バイ1
へに、3のときにはりを6バイト、Lを6バイトに、4
のときにはりを6バイト、Lを3バイトに、5のときに
はりを3バイト、Lを12バイトに設定する。
(11) Character size selection parameter (Figure 36) Store the value of parameter n of the character size specification command in the character size register S, and when the stored value (n) is 0, the width W is 3 bytes (half-width ), set the length to 6 bytes (48 lines). When it is 1, the lever is 3 bytes, and the L is 3.
When the byte is 2, the axle is 3 bytes, and the L is 12 bytes.
hen, when 3, the lever is 6 bytes, L is 6 bytes, 4
When , set the beam to 6 bytes and L to 3 bytes; when set to 5, set the beam to 3 bytes and L to 12 bytes.

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

(13)重ね書きパラメータ(第36n+図)書込み指
定コマンドのパラメータnの値を書込み指定レジスタR
Oに格納する。
(13) Overwrite parameter (Figure 36n+) Write the value of parameter n of the write specification command to the write specification register R
Store in O.

(14)命令書換えパラメータ(第36n図)ロウNカ
ウンタCをクリアし、書換えレジスタEXの第1番0の
位置にカラムデータを、またロウN=0゜1.3.4対
応の位置1,2,3および4に、順次にコマンドのN=
0.N=1.N=3およびN=4のデータ(パラメータ
)を格納する。
(14) Instruction rewrite parameters (Figure 36n) Clear the row N counter C and write the column data to the 1st 0 position of the rewrite register EX, and the position 1 corresponding to row N = 0° 1.3.4. 2, 3 and 4, sequentially the command N=
0. 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図) 前述の(ヌ)命令解読で処理指示レジスタOPに格納し
たデータを参照し、それが0であるとテキストモードで
あるので、また27又は28であるとCR(復帰)又は
LF(改行)であるので、このルーチンは終了する。そ
れ以外のときには、カウンタCをクリアし、セントロニ
クス入力でパラメータを1個毎に読込んでカウンタを1
カウントアツプし、読込み回数が、コマンドのロウN=
3のパラメータの数Pで予め指示された数になり、セン
トロニクス入力のデータが32を示すもの(終了を0で
示すが、機能文字コードに0〜32をとっているので、
0+32を終了の0を示すものとしている)であるとコ
マンドの終了であるので、())パラメータ設定選択を
実行してこのサブルーチンを終了する。
(v) Parameter processing (Figure 38) Refer to the data stored in the processing instruction register OP in the above-mentioned (v) instruction decoding, and if it is 0, it is text mode, and if it is 27 or 28, CR (return) or LF (line feed), this routine ends. In other cases, clear the counter C, read the parameters one by one using the Centronics input, and set the counter to 1.
The count is up and the number of reads is the command row N =
The number P of the parameter 3 is the number specified in advance, and the Centronics input data indicates 32 (0 indicates the end, but the function character code is 0 to 32, so
0+32 indicates the end (0) indicates the end of the command, so ()) executes parameter setting selection and ends this subroutine.

(ホ)命令書換 前述の(14)命令書換パラメータで、コマンド中の変
更データ(パラメータ)を、書換えレジスタEXに、カ
ラム、ロウN==0のデータ、N=1のデータ、N=3
のデータおよびN=4のデータを格納しているので、コ
マンドテーブルカラムアドレスレジスタCVにEXの第
1番0のデータすなわちカラムデータをセットして、コ
マンドテーブルの指定カラムのロウN=0.N二1.N
=3およびN=4に、それぞれ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 column, row N==0 data, N=1 data, N=3
and N=4 data, therefore, set the first 0 data of EX, that is, the column data, in the command table column address register CV, and set the row N=0.. of the specified column of the command table. N21. N
The data of EX No. 2 No. 1 to No. 4 No. 3 are written in EX=3 and N=4, respectively.

第40図に、装置100のページメモリデータの出力タ
イミングを示す。プロッタ300に出力するときには、
プロッタ300からのゲート信号LGATEに同期して
1ライン毎にデータWDATAをプロッタ300に与え
る。
FIG. 40 shows the output timing of page memory data of the device 100. When outputting to the plotter 300,
Data WDATA is provided to the plotter 300 line by line in synchronization with the gate signal LGATE from the plotter 300.

以上の各サブルーチンの実行により、電源投入直後のス
タートアドレスは次の第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 subsequent start address will be as shown in Table 4 below. The rest is as shown in Table 5 below.

第4表(電源オン直後) 第5表 前の処理:テキスト 後の処理 テキスト二次のアドレス 中間調二次のアドレス ピッ1へイメージ:指定を待つ。指定がないと停止のま
ま。
Table 4 (Immediately after turning on the power) Table 5 Processing before: Processing after text Text secondary address Halftone Secondary address Pi to 1 Image: Wait for designation. If not specified, it will remain stopped.

前の処理:中間調 後の処理 テキスト二次のアドレス 中間調二次のアドレス ビットイメージ:指定を待つ。指定がないと停止のまま
Previous processing: Post-halftone processing Text Secondary address Halftone Secondary address Bit Image: Waiting for specification. If not specified, it will remain stopped.

前の処理:ビットイメージ 後の処理 テキスl−:CR又はLF動作後の位置。Previous processing: bit image Post processing Text l-: Position after CR or LF operation.

中間調モード ビットイメージ:CR又はLFがあることとその後の指
定を待つ。指定がないと 停止のまま。
Halftone mode bit image: Wait for CR or LF and subsequent designation. If not specified, it will remain stopped.

なお、ホスト200から装置100に与えるアドレスデ
ータはバイト単位であり、テキストモードおよび中間調
モードでは())パラメータ計算(1)で書込開始アド
レスが設定され、ビットイメージモードでは(ハ)パラ
メータ計算(2)で書込開始アドレスおよび書込終了ア
ドレスが設定される。これらのアドレスはバイト単位で
ある。
Note that the address data given from the host 200 to the device 100 is in byte units, and in text mode and halftone mode, the write start address is set in ()) parameter calculation (1), and in bit image mode, (c) parameter calculation In (2), a write start address and a write end address are set. These addresses are in bytes.

電源投入直後はすでに説明したように、初期設定〔(力
)書込領域設定用テーブル、(ニ)命令表書込および(
イ)メモリ全体消去〕を実行し、コマンド入力を待って
いる。外部割込がかがると、(ヌ)命令解読を実行し、
(へ)パラメータ処理を実行し、(ネ)処理操作選択を
実行し、選択した処理を実行する。
As explained above, immediately after the power is turned on, the initial settings [(1) writing area setting table, (d) command table writing and (
b) Erase entire memory] and is waiting for command input. When an external interrupt occurs, (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)コマンドテーブルの書換え 命令表の書換えを指示するコマンドがホスト200から
到来すると、(ヌ)命令解読でパラメータレジスタPに
パラメータの数5をセラ1〜し、処理操作レジスタOP
に24をセットし、次に(へ)パラメータ処理で5個の
パラメータをセントロニクス入力でホスト200より転
送を受ける。そして())パラメータ設定選択に進んで
0P=24であるので(14)命令書換パラメータ(第
36n図)を実行し、変換レジスタEXに5個のパラメ
ータを格納し、次に(ネ)処理操作選択に進み、そこで
OP = 24であるので(ホ)命令書換えに進み、こ
のサブルーチンでコマンドテーブル(第1表)の、パラ
メータの第1番で指定されたカラムの内容が書換えられ
る。なお、すてに書込をしているカラムが指定されたと
きには、文字通り書換であるが、書込がないカラム(ロ
ウN=1に0を書込んでいるカラム)が指定されたとき
には新コマンドの書込となる。
(1) Rewriting the command table When a command to rewrite the command table arrives from the host 200, (n) decodes the command and sets the number of parameters 5 to parameter register P from cell 1 to processing operation register OP.
is set to 24, and then in (to) parameter processing, five parameters are transferred from the host 200 through Centronics 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. The process proceeds to selection, and since OP=24, the process proceeds to (e) instruction rewriting. In this subroutine, the contents of the column specified by the first parameter of the command table (Table 1) are rewritten. Note that if a column that has already been written to is specified, it is literally a rewrite, but if a column that has not been written to (a column in which 0 is written to row N = 1) is specified, a new command is executed. will be written.

このようにコマンドの書換(および書込)がホスh20
0のコマンドテーブルの書換命令で出来るので、ホスト
200は、装置100に、制御プログラムで設定されて
いるコマンド(標準コマンド)の変更および新コマンド
の追加を行なうことが出来る。すなわち、コマンドの定
義の変更および新コマンドの作成が出来る。
In this way, command rewriting (and writing) is performed on the host h20.
Since this can be done with a command table rewrite command of 0, the host 200 can change the commands (standard commands) set in the control program and add new commands to the device 100. That is, it is possible to change command definitions and create new commands.

(2)テキストモード処理 開始アドレス指定コマンドがホスト200より装置10
0に与えられると、これは開始アドレスのみを指定する
のでテキストモードである。中間調モードおよびビット
イメージモードでは必らず終了アドレスも指定される。
(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個のパラメータをセント
ロニクス入力でホスh200より転送を受ける。そして
())パラメータ設定選択に進んで0P=1であるので
(1)スター1へアドレスパラメータ(第36a図)に
進み、())パラメータ計算(1)を実行し、スタート
アドレスをスタートアドレスレジスタXADRおよびY
ADRにセットし、テキス1−モードのスタートアドレ
スの設定を終了する。
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, in parameter processing, four parameters are transferred from the host h200 via Centronics input. Then, proceed to ()) parameter setting selection, and since 0P=1, proceed to (1) address parameter to star 1 (Figure 36a), ()) execute parameter calculation (1), and set the start address to the start address register. XADR and Y
ADR is set to complete the setting of the start address of the text 1-mode.

その後、ホスト200が文字コードを送って来ると、(
ヌ)命令解読で0P=0をセットし、0P=0であるの
で(へ)パラメータ処理をそのまま通過し、次に(ネ)
処理操作選択で(ソ)パターン(フォント)処理に進み
、文字コードの変換をしてパターンメモリ(キャラクタ
メモリ)より文字パターンデータを読出して文字バッフ
ァメモリに格納し、設定文字サイズに応じて(キ)半角
文字、(り)半角半長文字、(ケ)半角倍長文字又は(
セ)全角文字前処理に進む。
After that, when the host 200 sends the character code, (
N) Set 0P=0 when 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ビ
ットを横2ビットに拡大した文字パターンデータを全角
文字バッファに作成して、文字サイズ指定に応じて(コ
)全角文字。
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, the character pattern data in the character buffer memory is enlarged from 1 bit horizontally to 2 bits horizontally to create character pattern data in the double-width character buffer. )Double-byte character.

(り)全角半長文字又は(シ)全角倍長文字に進み、そ
こにおいてアドレス計算をして後(オ)書込領域・アド
レス設定を実行して、文字パターンデータに所定の文字
サイズ処理を施こしてページメモリに書込む。
(i) Proceed to full-width half-length characters or (shi) full-width double-length characters, calculate the address there, and then (e) execute write area/address settings to apply the specified character size processing to the character pattern data. and write it to page memory.

なお、デフォルトがテキストモードであるので、電源投
入後、始めから文字コードがホスト200より送られた
ときには、(ヌ)命令解読で0P=0をセットし、OP
二〇であるので(へ)パラメータ処理をそのまま通過し
、次に(ネ)処理操作選択で(ソ)パターン(フォント
)処理に進み、文字コードの変換をしてパターンメモリ
(キャラクタメモリ)より文字パターンデータを読出し
て文字バッファメモリに格納し、設定文字サイズに応じ
て(キ)半角文字。
Note that the default is text mode, so if a character code is sent from the host 200 from the beginning after the power is turned on, 0P=0 is set in (nu) instruction decoding, and OP
Since it is 20, it passes through the parameter processing as it is, and then proceeds to (v) pattern (font) processing by selecting the processing operation (v), converting the character code, and converting the character code from the 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をセラ1〜し、次に(へ)パラ
メータ処理で1個のパラメータをセントロニクス入力で
ホスト200より転送を受ける。そして())パラメー
タ設定選択に進んで0P=7であるので、(5)中間調
モードパラメータ(第36d)に進み、そこでパラメー
タnの値に応じてN=0ではこれは中間調の終了を指示
するので書込形式をチーストモードのデフォルト(標準
)に設定する。N=1〜4は階調の種類を指定するので
、このときにはビット連続の書込とする書込形式を設定
する。次に(ネ)処理操作選択は0P=7であるのでそ
のまま通過する。
(3) Halftone mode Halftone mode specification command is sent from the host 200 to the device 10
When given to 0, the device 100 sets the number of parameters to 1 in the parameter register P by (nu) instruction decoding, sets 7 to the processing operation register OP, and then sets the number of parameters to 1 by (to) parameter processing. The parameters are transferred from the host 200 via Centronics input. Then, proceed to ()) parameter setting selection, and since 0P=7, proceed to (5) halftone mode parameter (36d), where depending on the value of parameter n, if N=0, this means the end of halftone. Set the writing format to the default (standard) of Cheest mode. Since N=1 to 4 designate the type of gradation, at this time, a writing format of continuous bit writing is set. Next, (v) processing operation selection is 0P=7, so it passes through as is.

その後、ホスト200が中間調コードを送って来ると、
(ヌ)命令解読でop=oをセラ1−シ、0P−0であ
るので(へ)パラメータ処理をそのまま通過し、次に(
ネ)処理操作選択で(ソ)パターン(フォント)処理に
進み、そこで(ス)中間調パターンに進んでページメモ
リの書込みを行なう。テキストモードと中間調モードは
、パターン領域が予め定まっているので、このようにサ
ブルーチンを共用している。
After that, when the host 200 sends the halftone code,
(J) When decoding the instruction, set op=o to 1-shi, and since it is 0P-0, (J) Pass the parameter processing as is, and then (
(4) Select the processing operation to proceed to (4) pattern (font) processing, then proceed to (1) halftone pattern to write 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)ビットイメージモード ビットイメージモード指定コマンドが到来すると、装置
10(]は、(ヌ)命令解読でP=8,0P=2をセラ
1−シ、次に(へ)パラメータ設定で8個のパラメータ
をホスト200より受け、())パラメータ設定選択で
0P=2であるので(2)ビットイメージモードパラメ
ータ(第36b図)に進んで(ハ)パラメータ計算(2
)を実行し、(ネ)処理操作選択で(テ)ビットイメー
ジ処理に進み、ここでピッ1−データをセントロニクス
入力で受けてページメモリに書込む。
(4) Bit image mode When the bit image mode designation command arrives, the device 10 () decodes the command to set P=8, 0P=2, and then (go) sets the parameters to 8. Receive the parameters from the host 200, ()) Since 0P = 2 in parameter setting selection, proceed to (2) bit image mode parameters (Figure 36b), and (c) parameter calculation (2).
) is executed, and by selecting (v) processing operation, the process proceeds to (t) bit image processing, where the p1-data is received at the centronics input and written to the page memory.

(5)プリントルノンクリア又はプリント&クリアこれ
らのコマンドが到来すると装置100は、(ヌ)命令解
読でP=1,0P=10又は11をセットし、(へ)パ
ラメータ処理でパラメータ(n)をホスト200からセ
ントロニクス入力で受け、次に())パラメータ設定選
択をそのまま通過して、(ネ)処理操作選択で(1)プ
リン1−に進み、そこでパラメータnが示す数のプリン
ト出力を実行し、ノンクリアかクリアに応じてページメ
モリの保持又はクリアを実行する。
(5) Print non-clear or print & clear When these commands arrive, the device 100 sets P=1, 0P=10 or 11 in (n) command decoding, and (v) sets parameter (n) in parameter processing. It receives the Centronics input from the host 200, then passes directly through () parameter setting selection, proceeds to (1) print 1- in (ne) processing operation selection, and executes the number of printouts indicated by parameter n there. , holds or clears the page memory depending on whether it is non-cleared or cleared.

(6)論理演算 論理演算は、中間調モードにおいては、(ス)中間調パ
ターンのサブルーチンにおいて反転書込が、またビット
イメージにおいては、(テ)ビットイメージ処理におい
て反転書込2重ね書き(OR)あるいは排他的論理和書
込が、予めコマンドのパラメータで指定された通りに選
択的に行なわれる。
(6) Logical operations Logical operations include (S) inversion writing in the halftone pattern subroutine in halftone mode, and inversion writing 2 overwriting (OR) in (te) bit image processing in bit 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.

なお、上記実施例では、中間調モードのコマンドで書込
開始アドレスのみを指定するようにしているが、ビット
イメージモードのコマンドと同様に、更に4個の終了ア
ドレスを示すパラメータを付加して、ビットイメージモ
ードと同様に終了アドレスを開始アドレスと共に設定す
るようにしてもよい。
In the above embodiment, only the write start address is specified with the halftone mode command, but similarly to the bit image mode command, four parameters indicating the end address are added. Similarly to the bit image mode, the end address may be set together with the start address.

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

第1図は、本発明の一実施例の構成概要を示すブロック
図、第2図は第1図に示すcPUボード10の構成を示
すブロック図、第3図は第1図に示すページメモリ20
の構成を示すブロック図、第4図は第1図に示すパター
ンROMの構成を示すブロック図、第5図は第1図に示
すインターフェイスポード40の構成を示すブロック図
である。 第6図はページメモリ2oのメモリ区分を示す説明図で
ある。 第7図は装置100の動作概要を示すフローチャート、
第8図、第9図、第10図、第1f図。 第12図、第13図、第14図、第15図。 第16図、第17図、第18図、第19図。 第20図、第21図、第22図、第23図。 第24a図、第24 b図、第25図、第26図。 第27a図、第27b図、第28図、第29図。 第30a図、第30b図、第31図、第32図。 第33図、第34図、第35図、第36a図。 第36b図、第36c図、第36c1図。 第36e図、第36f図、第36g図。 第36h図、第36i図、第36j図。 第36に図、第361図、第36m図。 第36n図、第37図、第38図および第39図は、そ
れぞれ、サブルーチンの動作フローを示すフローチャー
トである。 第40図は、装置100からプロッタ300へのデータ
転送時のデータ転送タイミングを示すタイムチャートで
ある。 100:情報記憶装置   11 : ROM12 :
 RAM         13 : CPU31:パ
ターンメモリ コモンノぐス 第6図 4八′/7 第11図 第12図 手続補正書(自発) 昭和58年 5月26日 特許庁長官 若杉 和夫 殿 ■、事件の表示 昭和58年特許願第042586号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 overview 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.
4 is a block diagram showing the structure of the pattern ROM shown in FIG. 1, and FIG. 5 is a block diagram showing the structure of the interface port 40 shown in FIG. 1. FIG. 6 is an explanatory diagram showing memory divisions of the page memory 2o. FIG. 7 is a flowchart showing an overview of the operation of the device 100;
Fig. 8, Fig. 9, Fig. 10, Fig. 1f. FIGS. 12, 13, 14, and 15. FIGS. 16, 17, 18, and 19. FIGS. 20, 21, 22, and 23. Figures 24a, 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 36c1. Figures 36e, 36f, and 36g. Figures 36h, 36i, and 36j. Figure 36, Figure 361, Figure 36m. 36n, 37, 38, and 39 are flowcharts showing the operation flow of the subroutine, respectively. FIG. 40 is a time chart showing the data transfer timing when data is transferred from the device 100 to the plotter 300. 100: Information storage device 11: ROM12:
RAM 13: CPU31: Pattern memory common log Figure 6 48'/7 Figure 11 Figure 12 Procedural amendment (voluntary) May 26, 1980 Mr. Kazuo Wakasugi, Commissioner of the Patent Office ■, Indication of the case 1981 1958 Patent Application No. 042586 2
, Title of the invention Information storage device 3, Relationship with the case of 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, Subject of amendment 6. The incorrect part in line 9 of the following page of the statement of contents of the amendment is corrected to the correct content.

Claims (13)

【特許請求の範囲】[Claims] (1)1ペ一ジ分の画素のそれぞれに1ビツトが対応す
るページメモリ; 文字パターンデータおよび濃度階調表現パターンデータ
の少なくとも一方を格納したパターンメモリ; 入出力インターフエイス; 外部よりの命令を解読して処理およびパラメータを設定
する命令解読手段; 命令解読手段が設定した復帰(CR)定義処理および改
行(LF)定義処理を実行して命令内容を示すパラメー
タが指示する復帰(CR)動作モードおよび改行(LF
)動作モードを設定する復帰、改行モード設定手段; ビット情報をページメモリの所定の領域に書込む書込手
段;および ページメモリのデータを、所定回数出力するページメモ
リ出力手段; を備える情報記憶装置。
(1) Page memory in which one bit corresponds to each pixel of one page; Pattern memory that stores at least one of character pattern data and density gradation expression pattern data; Input/output interface; A command decoder that decodes and sets processing and parameters; A return (CR) operation mode that executes the return (CR) definition process and line feed (LF) definition process set by the command decoder and is instructed by the parameter indicating the instruction content. and line feed (LF
) return and line feed mode setting means for setting an operation mode; writing means for writing bit information into a predetermined area of a page memory; and page memory output means for outputting page memory data a predetermined number of times; .
(2)復帰、改行モード設定手段は、復帰処理が設定さ
れていないときには復帰を所定の復帰動作モードに設定
し、改行処理が設定されていないときには改行を所定の
復帰動作モードに設定する前記特許請求の範囲第(1)
項記載の情報記憶装置。
(2) The return/line feed mode setting means sets return to a predetermined return operation mode when return processing is not set, and sets line return to a predetermined return operation mode when line return processing is not set. Claim No. (1)
Information storage device described in Section 1.
(3)所定の復帰動作モードおよび改行動作モードはデ
ィプスイッチの開閉状態に対応したものである前記特許
請求の範囲第(2)項記載の情報記憶装置。
(3) The information storage device according to claim (2), wherein the predetermined return operation mode and changeover operation mode correspond to the open/closed states of the dip switch.
(4)所定の復帰動作モードおよび改行動作モードは、
初期化で制御プログラムのデータによって定まるもので
ある前記特許請求の範囲第(2)項記載の情報記憶装置
(4) The predetermined return operation mode and changeover operation mode are:
The information storage device according to claim 2, wherein the information storage device is determined by data of a control program at initialization.
(5)前記所定の領域は、命令解読手段が設定した領域
である前記特許請求の範囲第(1)項記載の情報記憶装
置。
(5) The information storage device according to claim (1), wherein the predetermined area is an area set by instruction decoding means.
(6)書込手段は、入力文字コードを該コードで表わさ
れる文字のパターンデータに変換し、該パタ−ンデータ
をページメモリの所定の領域に書込むテキストモート書
込手段; 入力階調コードを、該コードで指定される階
調パターンデータに変換し、該パターンデータをページ
メモリの所定の領。 域に書込む中間調モード書込手段;および入力ピッI・
イメージデータを、ページメモリの所定の領域に書込む
ビットイメージモード書込手段;を含む前記特許請求の
範囲第(1)項記載の情報記憶装置。
(6) The writing means is a text mote writing means for converting the input character code into character pattern data represented by the code and writing the pattern data into a predetermined area of the page memory; , converts the data into gradation pattern data specified by the code, and stores the pattern data in a predetermined area of the page memory. Halftone mode writing means for writing into the area; and input pitch I/
The information storage device according to claim 1, further comprising: bit image mode writing means for writing image data into a predetermined area of the page memory.
(7)ビッートイメージ書込手段は、書込領域の終りを
、開始位置と同一アドレス単位の、開始位置からの相対
値で定める前記特許請求の範囲第(6)項記載の情報記
憶装置。
(7) The information storage device according to claim (6), wherein the bit image writing means determines the end of the write area by a relative value from the start position in the same address unit as the start position.
(8)テキストモード書込手段は、電源投入後最初の2
ζ込領域はページメモリの書込始端を開始点とし、いず
れかの書込モードの実行後は文字書込の領域の開始点を
、前の処理がテキストモードのときには前の書込処理の
終了点の次とし、前の処理が中間調モードのときには前
の書込処理の終了点の次とし、前の処理がビットイメー
ジモードのときには復帰又は改行処理後の位置とする前
記特許請求の範囲第(6)項記載の情報記憶装置。
(8) The text mode writing means is the first two after turning on the power.
The starting point for the ζ-writing area is the writing start end of page memory, and after executing any write mode, the starting point of the character writing area is used, and when the previous process is in text mode, the start point is the end of the previous writing process. point, and when the previous processing is in halftone mode, it is next to the end point of the previous write processing, and when the previous processing is in bit image mode, it is the position after return or line feed processing. The information storage device described in (6).
(9)中間調モード書込手段は、電源投入後最初の書込
領域はページメモリの書込始端を開始点とし、いずれか
の書込モードの実行後は中間調パターン′書込領域の開
始点を、前の処理がテキストモードのときには前の書込
処理の終了点の次とし、前の処理が中間調モードのとき
には前の書込処理の終了点の次とし、前の処理がビット
イメージモードのときには復帰又は改行処理後の位置と
する前記特許請求の範囲第(6)項記載の情報記憶装置
(9) The halftone mode writing means starts the first write area after power is turned on at the write start end of the page memory, and after executing any write mode, starts 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 6, wherein the information storage device takes the position after return or line feed processing when in the mode.
(10)ビットイメージ書込手段は、電源投入後最初の
書込領域は指定を待って定め、いずれかの書込モードの
実行後はビットイメージ書込領域の開始点を、前の処理
がテキス1−モードのときには指定を待って定め、前の
処理が中間調モードのときにも指定を待2て定め、前の
処理がビットイメージモードのときには復帰又は改行処
理と指定を待って定める前記特許請求の範囲第(6)項
記載の情報記憶装置。
(10) The bit image writing means waits for a specification to determine the first writing area after power is turned on, and after executing any of the writing modes, the starting point of the bit image writing area is When the mode is 1-mode, it is determined after waiting for the designation, when the previous processing is in halftone mode, it is determined after waiting for the designation, and when the previous processing is in the bit image mode, it is determined after waiting for the designation as return or line feed processing. An information storage device according to claim (6).
(11)ページメモリ出力手段は、命令解読手段が設定
した回数、ページメモリのデータを出力する前記特許請
求の範囲第(1)項記載の情報記憶装置。
(11) 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.
(12)ページメモリ出力手段は、命令解読手段が設定
した出力後メモリ処理指示に応じて、ページメモリのク
リア又は保持を行なう前記特許請求の範囲第(1)項記
載の情報記憶装置。
(12) The information storage device according to claim 1, wherein the page memory output means clears or holds the page memory in accordance with a post-output memory processing instruction set by the instruction decoding means.
(13)ページメモリ出力手段は、外部の出力装置が−
与える信号に同期してページメモリの所定区分のデータ
を出力装置に出力する前記特許請求の範囲第(1)項記
載の情報記憶装置。 (]、 4 )入出力インターフェイスはDMAコント
ローラを備えており、ページメモリ出力手段はページメ
モリのデータの、出力装置への転送は、DMAコン1〜
ローラにより一担パラレルインーシリアルアウ1〜のバ
ッファに転送し、出力装置の動作に同期してシリアル出
力する前記特許請求の範囲第(])項記載の情報記憶装
置。
(13) The page memory output means is configured so that the external output device is
The information storage device according to claim 1, wherein the data of a predetermined section of the page memory is outputted to an output device in synchronization with the applied signal. (], 4) The input/output interface is equipped with a DMA controller, and the page memory output means transfers the page memory data to the output device using the DMA controllers 1 to 1.
The information storage device according to claim 1, wherein the information is transferred to the parallel-in-serial-out buffers 1 through 1 by rollers and serially output in synchronization with the operation of the output device.
JP58042586A 1983-03-15 1983-03-15 Information memory Pending JPS59168531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58042586A JPS59168531A (en) 1983-03-15 1983-03-15 Information memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58042586A JPS59168531A (en) 1983-03-15 1983-03-15 Information memory

Publications (1)

Publication Number Publication Date
JPS59168531A true JPS59168531A (en) 1984-09-22

Family

ID=12640165

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58042586A Pending JPS59168531A (en) 1983-03-15 1983-03-15 Information memory

Country Status (1)

Country Link
JP (1) JPS59168531A (en)

Similar Documents

Publication Publication Date Title
US5815165A (en) Graphics processor
JPH03180924A (en) Printer control system
US4703438A (en) Character signal generator
JPS59168531A (en) Information memory
JPS59168539A (en) Information memory
JPS59168542A (en) Information memory
AU7876887A (en) Printer character generator
JPS59167748A (en) Information storage device
JPS59168541A (en) Information memory
JPS59168538A (en) Information memory
JPS59168540A (en) Information memory
JPH023212B2 (en)
KR890001867B1 (en) Latter image modulating method and device
JP2808105B2 (en) Font drawing device
JPS62293376A (en) Document processor
JPH0450896A (en) Plotting circuit
JPS60264163A (en) Printer control system
JPH0480420B2 (en)
JPH0440741B2 (en)
JPS6051073A (en) Processing method of matrix pattern
JPS61149362A (en) Data controlling device
JPS63219058A (en) Character processor
JPH01235645A (en) Interface device of printer
JPH0682358B2 (en) Document editing device
JPH0343281A (en) Printer control device