IBM PC CONVERTIBLE Use and care manual


,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,

First Edition (February 1986)
THE
FOLLOWING
PARAGRAPH
DOES
NOT
APPLY
TO
THE
UNITED
KINGDOM
OR
ANY
COUNTRY
WHERE
SUCH
PROVISIONS
ARE
INCONSISTENT
WITH
LOCALLAW:
International Business Machines Corporationprovides this manual "asis,"
without warranty
of
any kind, eitherexpress
or
implied, including,
but
not
limited to, the particularpurpose. IBM may make improvements
and
changes in the products
and
the programsdescribed inthis manual at any
time.
This productcouldinclude technical inaccuracies ortypographical errors.
Changes are periodically made to the informationherein; these changes will
be incorporated in new editions
of
the publication.
It is possible thatthis material maycontain reference to,
or
information
about, IBM products(machines
and
programs), piOgramming,
or
services
thatare notannouncedin yourcountry. Such references
or
information
must not be construed to meanthatIBM intends to announce such IBM
products, programming,
or
services inyourcountry.
Productsare notstocked atthe addressbelow. Requests for copies
of
the
product
and
for technical information aboutthe system shouldbe made to
yourauthorized IBM Personal ComputerDealer.
THE
FOLLOWING
PARAGRAPH
APPLIES
ONLY
TO
THE
UNITED
STATES
AND
PUERTO
RICO: Aform for reader'scommentsis
providedatthe back
of
this publication.
If
the form hasbeen removed,
commentsmaybe addressed to IBM Corporation, Department95H, 11400
Burnet Road, Austin, Texas 78758, U.S.A. IBM may use
or
distribute
whateverinformation you supply in any way itbelieves appropriate without
incurring any obligation to you.
All specifications are subjectto change without notice.
©Copyright International Business Machines 1986

Preface
The IBM PCConvertible Technical Reference consists
of
two
volumes. Volume 1describes the hardware design
and
provides interface information for the IBM PCConvertible.
Volume 1also has information about the basic
input/output
system (BIOS)
and
programming support. Volume 2 contains
the BIOS listings.
The information in these volumes is both descriptive
and
reference-oriented
and
is intendedfor hardware
and
software
designers, programmers, engineers,
and
otherinterested
persons who need to understand the design
and
operation
of
the IBM PC Convertible. These users should be familiar with
the use
of
the IBM PCConvertible
and
understand the
concepts
of
computerarchitecture
and
programming.
Volume 1has five sections:
• Section
1,
"Introduction"is
an
overview
of
the system
and
theavailable options.
• Section
2,
"System
Unit"
describes each functional part
of
thebase system. This section also contains thedescription
of
the interfaces. Programmingconsiderationsare
supportedby
command
code
and
registerdescriptions.
• Section
3,
"System Options" describes each available
option.
• Section
4,
"System BIOS
and
Usage" describes thebasic
input/output
system (BIOS)
and
its use. This section also
containsthe software interruptlisting, a system memory
map, descriptions
of
vectors with special meanings,
and
a
set oflow-storage maps.
In
addition, Section 4 describes
keyboard encoding
and
usage.
• Section
5,
"Compatibilitywith the IBM Personal
ComputerFamily" describes programmingconcerns for
maintainingcompatibilityamongthe IBM PC
Convertible system
and
the
other
IBM Personal
Computers.
iii

Volume 1has thefollowing appendixes:
• Appendix
A,
"Characters
and
Keystrokes"
• Appendix
B,
"Unit
Specifications"
• Appendix
C,
"Logic Timing Diagrams"
• Appendix D, "Power-OnSelfTestErrorCodes".
Volume 2contains the BIOS listing
and
is
to
be used
in
conjunctionwith Volume
1.
Prerequisite Publications
Guideto Operations: for the IBM PC Convertible.
Suggested
Reading
•
BASIC
for the IBM Personal Computer
• Disk OperatingSystem
• Hardware Maintenance
and
Servicefor the IBM PC
Convertible
•
MACRO
Assemblerfor the IBM Personal Computer.
iv

Contents
Section 1. Power-On Self-Test
(POST)
...............
1-1
Power-On Self-Test Sequence
..................
1-2
Modem Presence Test
........................
1-9
Printer/CommunicationsPresence Test
.........
1-12
Section 2.
ROM
BIOS
Listing
......................
2-1
ROMMap
.................................
2-4
Common
Equates
and
Data
Areas
...............
2-7
Nonmaskable Interrupt Handler(BlONMIH)
....
2-26
Keyboard Services
(BIIKYBD)
...............
2-65
Video
I/O
and
Print
Screen (BI2VIDEO)
........
2-77
Diskette Support
(B
13DSKT)
................
2-119
Communications
and
PrinterBIOS
(B14COMMO)
...........................
2-143
Time
of
Day(B15TOD)
.....................
2-153
System Services
(B
16SYSV) . . . . . . . . . . . . . . . . . . 2-168
General Subroutines
and
Tables
(B
17TABLE)
...
2-191
Release Date Marker
.......................
2-241
System Model Byte
.........................
2-241
v

Notes:
vi

Section 1. Power-On Self-Test
(POST)
The
IBM
PC
Convertibleuses a set
of
routines called the
power-on self-test(POST) routines. These routines
automaticallyactivate system power, perform basic function
and
device controltestsfor the majorsystem components,
and
initializethesystem
to
theready state. Because the
operation
of
these routines is automatic
and
cannotbe
changed by anapplication programmer, theactual program
listingsare not included
in
this manual. However, it
may
be
useful to understandthefunction
of
these routines
and
the
initial values they
may
establish.
Figure
I-Ion
page
1-2
shows the sequence
of
thesteps the
power-on routines, theerrorindicatorsreturned,
and
the
initial values established. Figure
1-2
on
page
1-9
and
Figure
1-3
on
page 1-12 provide additional information
on
testingfor
thepresence
of
devices.
Power-OnSelf-Test
(POST)
1-1

Power-On Self-Test Sequence
Description ErrorIndication
Processortest: Verifies processor System power off.
operation.
System
ROM
checksum test: I-long
and
I-short
Verifies system ROM. beep, then system
power off.
Real-iimeclock
RAM
test: Verifies l-iong
and
I-short
the clock.
If
contents havebeen beep, then system
altered, RAM is cleared
and
poweroff.
system profile defaults are loaded.
Power source
and
batterycheck: 3-shortbeeps, then
Checks for external power.
If
no system poweroff.
external power, checks for good
battery.
Base
8K
RAM
test: Validates first I-long
and
I-short
8K
of
RAM
and
clears it to zero. beep, thensystem
poweroff.
Internal
modem
poweron: Checks
for internal
modem
presence
and
applies powerto itifpresent. See
Figure
1-2
on
page
1-9
for
additionalinformation.
Figure 1-1
(Part
1of7). Power-on Self-TestSequence
1-2 Power-OnSelf-Test
(POST)

Description
Error
Indication
Video adapterpresencetest:
Checks for attached video
adaptersby nondestructive writing
and
readinghex A55A to address
hex
BOOOO
and
B8000. Checks for
videoadapterswith valid rom.
Checks for
LCD
bydetermining
if
the
'LCD
sense' line is set.
Video interrupt vectors
initialization:Initializeshex
10,
ID, IF
and
44 video interrupt
vectors to system defaultvalues.
Video
ROM
validitytests: Checks
for videoadapterwith valid ROM.
See Volume I for additional
information
about
adapterswith
system accessible ROM. Links to
ROM
if
valid.
LCD
function test: Runs
LCD
Error 5001, 5002,
or
function
test
if
the LCDis present. 5003
CRT
adapter without
ROM
Error 0501
presenceandfunction tests:
Ifa
CRT
adapterwithout
ROM
is
present, test vertical
and
horizontal syncs.
Operabledisplaypresencetest: I-long
and
2-short
Checks to ensure
that
an operable beeps, then system
display is present. poweroff.
Figure1-1
(Part
2
of
7). Power-onSelf-TestSequence
Power-On Self-Test
(POST)
1-3

Description ErrorIndication
Display initialization:
Ifnot
a
resume sequence, initialize the
display for POST.
Ifthe
LCDis
present, loads the default font
from vectors hex IF
and
44.
Interrupt controllertest: Tests the Error0I0I with icon,
interruptcontroller
and
initializes I-long
and
I-short
it to edge triggered, software beep, then waits for
end-of-interrupt,
and
interrupt power
off
or
types 8-15. Fn/Ctl/Delsequence.
System timers tests: Tests the One
of
the following:
system timers. Timer-O is
initialized to 18.2 interrupts per Error0I03 with icon,
second rate. I-long
and
I-short
beep, then waits for
power
off
or
Fn/CtljDel
sequence.
Error0I02 with icon
and
Fl
prompt; POST
continues.
DMA controllertest: Tests the Error 0105 with icon,
DMA controller. I-long
and
I-short
beep, then waits for
power
off
or
Fn/CtljDel sequence.
Figure
1-1
(Part
3
of
7). Power-on Self-TestSequence
1-4 Power-On Self-Test(POST)

Description
Error
Indication
Keyboardcontroller test: Tests the One
of
the following:
keyboard controller. Error 0303
or
0304
with icon, I-long and
I-short beep, then
waits for power offor
Fn/Ctl/Del sequence.
Error 0102 with icon
and
Fl
prompt; POST
continues.
Interrupt vectors initialization:
Initializes interruptvectors 0
through
32
excludingthe video
interrupt vectors.
Serial/parallel initializations:
Initializes the serial and parallel
adapter timeout values.
Internal
modem
initialization:
Initializes the internal modem. See
Volume 1for additional
information about initializingthe
internal modem.
RAM
blockcheck: Checks RAM Error 0164 with icon
for good contiguous 8K-bytes
of
and
Fl
prompt.
RAM.
Figure
1-1
(Part
4
of
7). Power-on Self-TestSequence
Power-OnSelf-Test
(POST)
1-5

Description Error Indication
RAM
function test: Checks for One
of
the following:
functional RAM in 64K-byte
increments
and
clears it to zeroes. When less than
This test is
not
performedduring 64K-bytes
of
RAM is
eithera resume
or
Ctlj
AltjDel functional, error020I
sequence.
or
0202 with icon,
I-long
and
I-short
beep, then waits for
poweroff
or
FnjCtljDelsequence.
When more than
64K-bytes
of
RAM is
functional, error020I
or
0I02 with icon
and
FI
prompt. POST
continues.
Diskettedrivefunction test: Tests One
of
the following:
theoperation
of
thediskettedrives. Error060I with icon,
I-long
and
I-short
beep, then waits for
power offor
FnjCtljDel sequence.
Error060I with icon
and
FI
prompt.
Figure
1-1
(Part
50f7).
Power-on Self-TestSequence
1-6 Power-On Self-Test
(POST)

Description ErrorIndication
Real-timeclocktest: Tests the Error 0163 with icon
update
and
interruptfunctions.
and
Fl
prompt.
Zeros
and
initializes time
and
date,
and
sets alarm to zeros
if
the
clock has
not
been updated
or
if
powerwas lost.
Portableprinter interfacetest: Error 5101with icon
Checks the function
of
theadapter.
andFI
prompt.
Printer/communicationspresence
test: Checks to determine what
printer
and
communications
features are attached. See Figure
1-3
on
page 1-12 for additional
information.
Internal
modem
test: Checks the Error 1101
or
1102
function
ofthe
internal modem. with icon
and
Fl
prompt.
Serialadapter test: Tests the serial Error
1101
or
1201
adapter portion
of
the IBM PC with icon
and
Fl
Convrtible Serial/ParallelAdapter prompt.
if
it is installed.
Featureadapter
ROM
presence: Checksum
or
feature
External adapters are tested for the error.
presence
of
ROM. See Volume 1
for additional information about
adapters with system accessible
ROM. Links to the
ROM
if
valid.
Figure 1-1
(Part
6 of7). Power-on Self-TestSequence
Power-OnSelf-Test
(POST)
1-7

Description ErrorIndication
Set
time
of
day: Sets time
of
day Clock icon
if
clock has
data area from real-time clock.
not
been setby the
user.
Low
batterytest: Checks for good Battery icon
if
battery
battery. is low
and
warning is
enabled
in
the system
profile.
CompletePOST:
Ifa
system 2-shortbeeps
if
any
suspend was active
and
the resume warmng errors
was
not
cancelled, the system state occurred.
is restored and the application
resumed. Otherwise, the
LCD
default font is loaded from vectors
hex 1F
and
44,
and
the system is
booted from drive
O.
Figure 1-1
(Part
7 of7). Power-on Self-TestSequence
1-8 Power-On Self-Test
(POST)

Modem PresenceTest
Clear
RS232_BASE
table
(hex
400).
Clear
PRINTER_BASE
table
(hex
408).
Turn
off
power
to
internal
modem
and
serial/parallel
adapter.
Write/read
hex
AAand55to
work
register
at
hex3FF.
To
Part
2
Figure 1-2 (Part 1 of 3). Internal Modem Presence Test
Power-OnSelf-Test
(POST)
1-9

Yes
(Other
adapter
present)
Turn
on
power
to
internal
modem.
Set
loop
counter
t05.
Delay
100
ms.
Write/read
hex
AA
and
55
to
work
register
at
hex
3FF.
To
Part
3
Figure
1-2
(Part 2 of 3). Internal Modem Presence Test
1-10 Power-On Self-Test
(POST)
Set
first
entry
in
RS232_BASE
table
to
hex
3F8.

From
Part
2
Set
modem
installed
flag
in
equipment
word.
Set
first
entry
in
RS232-BASE
table
to
hex
3F8.
No
Subtract
1
from
loop
counter.
Turn
off
modem
power.
Return
to
POST.
To
Part
2
Figure 1-2 (Part 3 of 3). Internal Modem Presence Test
Power-On Self-Test
(POST)
1-11

Printer
/Communications Presence
Test
From
Part
3
Set
pointer
to
t
PRINTER_BASE
--
Printer
presence
test
table
(hex 408).
Set
pointer
to
PRT_TAB table.
Delay
160
ms.
Check
portable
printer
status
register
(hex
079).
To
Part 2
No
No
Printer
Table (PRT_TAB)
Entry
(hex)
078
378
3BC
278
Port
Portable
Printer
Primary
Printer
Mono
Adapter
Secondary
To
Part 3
To
Part
3
__
SPortable
printer
lpresence
test
Figure 1-3 (Part 1 of 7). Printer/Communications Presence Test
1-12 Power-OnSelf-Test(POST)

From
Part
1
Send
top
of
forms
(ESC
4)
command.
To
Part
2
Yes (Attached)
Yes
(Not
attached)
No
(Not
attached)
Yes (Attached)
To
Part
3
To
Part
3
To
Part
3
Figure 1-3 (Part 2 of 7). Printer/Communications Presence Test
Power-On Self-Test
(POST)
1-13
Table of contents
Other IBM Laptop manuals

IBM
IBM ThinkPad 770X Manual

IBM
IBM THINKPAD X40 User manual

IBM
IBM THINKPAD T43 - Owner's manual

IBM
IBM MT 2877 Owner's manual

IBM
IBM ThinkPad X22 User manual

IBM
IBM ThinkPad R30 Owner's manual

IBM
IBM ThinkPad R50 Series Service manual

IBM
IBM ThinkPad R40e

IBM
IBM 600E - ThinkPad 2645 - PII 400 MHz User manual

IBM
IBM THINKPAD I 1200 - User manual

IBM
IBM THINKPAD X40 User manual

IBM
IBM ThinkPad T20 User manual

IBM
IBM ThinkPad TransNote User manual

IBM
IBM THINKPAD I 1200 - Owner's manual

IBM
IBM ThinkPad R40e Guide

IBM
IBM ThinkPad 770X Dimensions

IBM
IBM ThinkPad 600 Owner's manual

IBM
IBM WorkPad z50 User manual

IBM
IBM ThinkPad T40 series Owner's manual

IBM
IBM ThinkPad 380Z User manual