SECTION 6
Conversions and Interfaces
6-100 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
INT 15h, Function AH = 86h: Wait (Elapsed time)
BIOS
Suspends the calling program for the specified time period. The values in CX
and DX are in microseconds but are rounded down to the nearest multiple of 976
microseconds.
On Entry:
AH = 86h
CX = High byte of interval in microseconds
DX = Low byte of interval in microseconds
On Return:
If successful:
Carry = 0
If NOT successful:
Carry = 1
INT 15h, Function AH = 87h: Copy Memory Block
BIOS
Copies a block of memory from anywhere in the system address space to
anywhere else in the system address space. Memory space not generally
available to realĆmode programs is accessible through this function.
On Entry:
AH = 87h
CX = Number of 16Ćbit words to move
ES:SI = Pointer to 48Ćbyte GDT table allocated by calling program
On Return:
If successful:
Carry = 0
AH = Status of copy
00h = Successful copy
If NOT successful:
Carry = 1
AH = Status
01h = RAM parity error occurred
02h = Other exception occurred
03h = Gate address line 20 failed
When called, two of the descripters in the GDT table specify the source and
destination addresses of the block to be moved. The BIOS builds the other four
descripters. The calling program supplies the segment limits, base address of
the data blocks, and the access rights for each location.
6. Conversions and
Interfaces