Appendix D: Programmer's Guide - OKIDATA 120 Handbook

For commodore computers
Table of Contents

Advertisement

APPENDIX D: PROGRAMMER'S GUIDE
This
chart
summarizes the commands described in this
handbook's programming section. It includes decimal,
hexadecimal, and Commodore ASCII values for each
command.
Commodore
Function
Decimal
Hexadecimal
ASCII
CHARACTER
SIZE
Changes the size of printed
characters
(page 26)
Pica (10 CPI)
15
OF
SI
Elite (12 CPI)
28
1C
FS
Fine (17.1 CPI)
29
10
GS
DOUBLE WIDTH
CHARACTERS
Doubles the width of the
current
c haracter
size (page 26)
Start double-width
14
OE
SO
Stop double-width
129
81
UNENHANCE
UNDERLINING
U nderl i nes all characters
(page
27)
Start underlining
27/67
lB/43
ESCC
Stop underlining
27/68
1 B/44
ESC D
SUPER/SUBSCRIPTS
Prints
sma
ll
characters above
or
below the printline (page
27)
Start subscript
27/76
1 B/4C
ESC L
Stop subscript
27/77
lB/4D
ESCM
Start superscript
27/74
1 B/4A
ESCJ
Stop superscript
27/75
1 B/4B
ESC K
ENHANCED/EMPHASIZED
Prints boldface-style
characters
(page
27)
Start en hanced
27/72
1 B/48
ESC H
Start emphasized
27/84
1 B/54
ESCT
Stop enhanced/emphasized
27/73
1 B/49
ESC I
CHARACTER SETS
Selects
Commodore
or
language
character sets (page
28)
Commodore modes:
Cursor Up
145
91
CURSOR UP
Cursor Down
17
11
DCl
Language features:
Slashed zero
27/33/64
1 B/21/40
ESC!
@
Unslashed zero
27/33/65
lB/21/41
ESC! A
French-Canadian
27/33/66
1 B/21/42
ESC! B
Spanish
27/33/67
1 B/21/43
ESC! C
D-1

Advertisement

Table of Contents
loading

Table of Contents