I BM Persona I Computer MACRO Assemb I er
Vers
i
on 2.00
HEAOER - - -
0 I /08/86
POWER ON SELF TEST (POST)
POSTEQU. INC - COMMON EQUATES
1-5
01-10-86
215
C
216
C
211
=
0020
C
218
=
0020
C
219
=
0021
C
220
=
OOAO
C
221
=
OOAI
C
222
=
0010
C
223
=
00
I
0
C
224
C
225
=
0008
C
226
=
0000
C
221
=
0000
C
228
=
OOCO
C
229
C
230
=
0040
C
231
=
0043
C
232
=
0040
C
233
C
234
C
235
=
0080
C
236
C
231
C
238
C
239
=
000 I
C
240
=
0002
C
241
=
0004
C
242
=
0008
C
243
=
00 I 0
C
244
=
0020
C
245
=
0040
C
246
=
0080
C
241
C
248
C
249
=
0081
C
250
=
008F
C
251
C
252
C
253
C
254
C
255
C
256
=
0000
C
251
=
8000
C
258
=
0030
C
259
=
0100
C
260
C
261
C
262
C
263
C
264
0000
C
265
OOOA
C
266
0008
C
261
0001
C
268
0100
C
269
0101
C
210
211
PAGE
EO I
I
NTE~~~PT EQ~~6~S ----------;-~~~-~~-~~~~~~~;~-~~~~~~~-~~-~~~;------
INTAOO
EQU
020H
8259 PORT
I NTAO I
EQU
021 H
• 8259 PORT
I NTBOO
EQU
OAOH
;
2ND 8259
:~iB~~PE
~~~
g~6~
:
START OF 8259 INTERRUPT TABLE LOCATION
I NT=:V IDEO
EQU
0 1OH
; V IDEO VECTOR
6~~~~-----------~;~-----~~~~------------;-~~~-;~~~~;-~~~~;~~~-;~~~-~~~~~;;------
DMA
EQU
OOOH
; DMA CH. 0 ADDRESS REG I STER PORT ADDRESS
DMA 18
EQU
ODOH
;
2ND DMA STATUS PORT ADDRESS
DMAI
EQU
OCOH
; 2ND DMA CH.O ADDRESS REGISTER ADDRESS
+
~ ~~~
--------
---~;~
----
-~~~~
------------;-
~~~~- ~ ~~~~-: -~~;~
-
~~~~~;;
-------------
TIM CTL
EQU
043H
;
8253 T I MER CONTROL PORT ADDR
TIMERO
EQU
040H
;
8253 TlMER/CNTER 0 PORT ADDR
; --------- MANUFACTUR I NG PORT --------------------------------------------------
MFG PORT
EQU
80H
; MANUFACTURING AND POST CHECKPOINT PORT
-
;
DMA CHANNEL 0 PAGE REG I STER ADDRESS
; --------- MANUFACTUR I NG BIT DEF I NIT I ON FOR OMFG ERR FLAG+ I
--------------------
MEM FAIL
EQU
00000001B
STORAGE TEST FAILED
(ERROR 20X)
PRO-FAIL
EQU
OOOOOOIOB
VIRTUAL MODE TEST FAILED
(ERROR 104)
LMCS FAIL
EQU
OOOOOIOOB
LOW MEG CHIP SELECT FAILED (ERROR 109)
KYCLK FAIL
EQU
OOOOIOOOB
KEYBOARD CLOCK TEST FAILED (ERROR 304)
KY SYS FAIL
EQU
OOOIOOOOB
KEYBOARD OR SYSTEM FAILED
(ERROR 303)
KyeD FAI L
EQU
00 I OOOOOB
KEYBOARD FA I LED
(ERROR 301)
DSK FAIL
EQU
OIOOOOOOB
DISKETTE TEST FAILED
(ERROR 601)
KEY=:FAIL
EQU
10000000B
KEYBOARD LOCKED
(ERROR 302)
6~~-;~~~--------~;~-----~~~~------------;-;~~~~-~~-~~~-;~~~-~~~;;~~~;-----------
LAST_DMA_PAGE
EQU
08FH
; LAST DMA PAGE REG I STER
:
;~~;-
-
- --- -
-
-
- -
-~;~--
--
-
~~~~
----
- --
-
- --
-;-
~~ ~~- ~~;~~~~;;~~-~~~~~~~
-
;~~~
----- ---
~~;~-~;---------~;~-----~~~~~~------------;~~~-;~~~~-~~~~~~~--------------------
POST-SP
EQU
08000H
POST STACK POINTER
STACK SS
EQU
30H
STACK SEGMENT USED OUR I NG POST
TOS
-
EQU
100H
STACK -- USED DURING POST ONLY
USE WILL OVERLAY I NTERRUPTS VECTORS
~~--------------~;~-----~~~~~-----------;-~~~~~~~~-~~~~~~-~~~~~~~~~-------------
LF
EQU
OOOAH
LINE FEED CHARACTER
RVRT
EQU
00001 OOOB
V IDEO VERT I CAL RETRACE BIT
RHRZ
EQU
0000000 I B
V IDEO HOR I ZONTAL RETRACE BIT
H
EQU
256
HIGH BYTE FACTOR
(X 100H)
X
EQU
H+I
HIGH AND LOW BYTE FACTOR
(X 101H)
.LI ST
5-18
HEADER (01/10/86)