Download Print this page

HP Vectra Technical Reference Manual page 288

Hide thumbs Also See for Vectra:

Advertisement

On Exit:
AH
=
Return Status:
0, If successful.
1, If RAM parity error.
2, If exception interrupt error.
3, If gate address line 20 failed.
Carry Flag
=
1, If failUrE?
Zero Flag
=
1, If successful.
Registers Altered:
AX
Example: Move the 16KB video buffer to the procedure's buffer.
BYTE PTR HIGHJYTE[SIj, BL
WORD PTR LOW_WORD[SIj,
AX
MOV
MOV
AND
SHR
MOV
SHL
ADD
JNC
, . .
INC
SKIP-'NC:
MOV
MOV
LES
MOV
MOV
INT
JC
JNE
HANDLE_ERRORS:
51, offset DEST
BX, seg BUFFER
BX, OFOOOH
BX, 12
AX,
seg BUFFER
AX,
4
AX,
offset BUFFER
SKIP_INC
BX
51, ACTUAL._TABLE
CX, 8192
AH, F1S_MOVE_BLOCK
INT_SYSTEM
HANDLE_ERRORS
HANDLE_ERRORS
" Load table with
24
bit
" destination address:
" Isolate high nibble of segment
" isolate rest of segment
" and form
24
bit address
" Number of words
to
move
" Function 87H.
,'Int 1SH
" Continue if everything OKA Y
<0,0,0,0,0>
< 0,0,0,0,0>
<
7
6384,8000H,OBH,93H,
0
>
" Do Error processing here
" Actual Table of pointers passed
to
the routines. They use the
" Global descriptor structure described above.
ACTUAL_TABLE:
RESERVED
SAMPLE_GOT
CALLERS
SAMPLE_GOT
SOURCE
SAMPLE_GOT
System Drivers
279

Advertisement

loading
Need help?

Need help?

Do you have a question about the Vectra and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel