Commodore 128 Programmer's Reference Manual page 508

Hide thumbs Also See for 128:
Table of Contents

Advertisement

498
COMMODORE 128
UPDATING THE
U
40/80 COLUMN DISPLAY
j j
Lj
As noted elsewhere in this book, there are two different display systems within
the C128. The first, which is controlled by the VIC chip, produces a 25-line by
1 j
40-column display, has many graphics modes of operation, and can be used with a
Lj
standard color (or black-and-white) television or color monitor. (See Chapters 8 and 9
for details.) The only VIC-controlled display mode used by CP/M is standard character
j >
mode, with each character and screen background having up to sixteen colors.
jj
The second display system available in C128 CP/M is controlled by the 8563
display controller. The display format of this controller is 25 lines by 80 columns, with
character color attributes. The VIC chip is a memory-mapped display, and the 8563 is
j J
I/O-controlled. The two display subsystems are treated as two separate displays. CP/M
t-J
3.0 can assign one or both to the console output device.
Both displays are controlled by a common terminal emulation package, a Lear
\ j
Siegler ADM-31 (ADM-3A is a subset of this) driver. The terminal driver is divided
\J
into two parts: terminal emulation and terminal functions. Terminal emulation is
handled by the Z80 BIOS, and the terminal function is handled primarily in the
Z80ROM.
1
The following section shows the various terminal emulation protocols supported
*—'
by Commodore 128 CP/M.
\ I
TERMINAL EMULATION PROTOCOLS
LI
LJ
FUNCTION
Position Cursor
Cursor Left
Cursor Right
Cursor Down
Cursor Up
Home and Clear Screen
Carriage Return
Escape
Bell
NOTE: Display is 24 (1-24)
CHARACTER SEQUENCE
ESC (row# + 32) (col#+32)
Control H
Control L
Control J
Control K
Control Z
Control M
Control [
Control G
by 80 (1-80); cursor origin is always
HEX CHAR CODE
IB 3D 20+ 20 +
08
OC
0A
0B
1A
0D
IB
07
1/1.
Figure 14-4. Lear Siegler ADM-3A Protocol

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents