Download Print this page

DIGITAL-LOGIC MICROSPACE MSM286 Series Technical User's Manual page 60

Pc/104 board

Advertisement

DIGITAL-LOGIC AG
(AH)=22h:
(AH)=23h:
(AH)=24h:
(AH)=25h:
(AH)=26h:
(AH)=27h:
(AH)=28h:
(AH)=29h:
(AH)=2Ah-7Fh:
(AH)=80h-FFh:
(AH)=00h:
Input:
Output: (BX:AX)
Example:
(AH)=01h:
(BL) = 0 - Get Free Memory Above 1MB.
Input:
Output: (AX)
(DX)
(BL) = 1 - Allocate Memory Above 1MB from bottom.
Input: (DX)
Output: (AX)
(DX:BX)
Example:
(BL) = 2 - Block Memory Move.
Input: (CX)
(DS:SI)
(ES:DI)
Output:
Example:
APM Enable/Disable Secondary Storage Devices
APM Enable/Disable Parallel Ports
APM Enable/Disable Serial Ports
PCCARD Socket Services Re-director
(Reserved for Chips and Technologies)
Hook external PS pin interrupt
Miscellaneous hooks and functions
Context Switch functions
Reserved for Chips and Technologies
Reserved for OEMs.
Get 32-Bit SuperState Block address.
None
= 32-bit value of SuperState Block
If the Superstate block were at F000:10 (in shadow RAM, then the following
sequence would return with BX:AX = 000F:0010.
MOV
AH,0
INT
1Fh
Memory Management functions.
None
= Free memory above 1MB in 1k blocks.
= Total memory above 1MB in 1k blocks.
= Amount requested in 1k blocks.
= Amount of memory allocated in 1k blocks.
= 32-Bit address of memory block.
The largest block of memory less that or equal to the amount requested is
returned. AX is equals zero if there is no free memory.
If the user request 8k, then:
MOV
AH,1
MOV
BL,1
MOV
DX,8
INT
1Fh
CMP
AX,8
JB
Error
= Words to move.
= 32-Bit address of source memory block.
= 32-Bit address of destination memory block.
None
To move memory 512 bytes (128 words) at 1234:5678 to 32Meg (PCCARD
card), then:
MOV
AH,1
MOV
BL,2
MOV
CX,80h
MOV
SI,0001h
MOV
DS,SI
MOV
SI,79B8h
MOV
DI,0200h
MOV
ES,DI
MOV
DI,0000h
INT
1Fh
; function 0
; do system call
;function 1
;subfunction 1
;ask for 8k
;did we get < 8k?
;function 1
;subfunction 2
;128 words
;1234:5678 = 0179B8
; as a 32-bit value
;DS:SI = source
;32Meg has 6 zeroes
;ES:DI = destination
60
MSM286 Manual V6.4

Advertisement

loading
Need help?

Need help?

Do you have a question about the MICROSPACE MSM286 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel