en:docs:xms:api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:xms:api [2023/11/16 07:56] prokusheven:docs:xms:api [2023/12/20 14:02] (current) prokushev
Line 1: Line 1:
 +{{page>en:templates:dosint}}
 +
 XMS API implemented via VXMS.DLL VDD XMS API implemented via VXMS.DLL VDD
 +
 +            ; Is an XMS driver installed?
 +            mov     ax,4300h
 +            int     2Fh
 +            cmp     al,80h
 +            jne     NoXMSDriver
 +            
 +            
 +
 +  mov     ax,4310h
 +  int     2Fh
 +  mov     word ptr [XMSCALL],bx
 +  mov     word ptr [XMSCALL+2],es
 +  
 +  mov     ah,00h
 +  call    [XMSCALL]
  
 ^ Function ^ Description ^ Status ^ Version ^ ^ Function ^ Description ^ Status ^ Version ^
-| 00h | Get XMS Version Number | | | +| [[en:docs:xms:api:00|00h]] | Get XMS Version Number | | 
-| 01h | Request High Memory Area | | | +| [[en:docs:xms:api:01|01h]] | Request High Memory Area | | 
-| 02h | Release High Memory Area | | | +| [[en:docs:xms:api:02|02h]] | Release High Memory Area | | 
-| 03h | Global Enable A20 | | | +| [[en:docs:xms:api:03|03h]] | Global Enable A20 | | 
-| 04h | Global Disable A20 | | | +| [[en:docs:xms:api:04|04h]] | Global Disable A20 | | 
-| 05h | Local Enable A20 | | | +| [[en:docs:xms:api:05|05h]] | Local Enable A20 | | 
-| 06h | Local Disable A20 | | | +| [[en:docs:xms:api:06|06h]] | Local Disable A20 | | 
-| 07h | Query A20 | | | +| [[en:docs:xms:api:07|07h]] | Query A20 | | 
-| 08h | Query Free Extended Memory | | | +| [[en:docs:xms:api:08|08h]] | Query Free Extended Memory | | 
-| 09h | Allocate Extended Memory Block | | | +| [[en:docs:xms:api:09|09h]] | Allocate Extended Memory Block | | 
-| 0Ah | Free Extended Memory Block | | | +| [[en:docs:xms:api:0a|0Ah]] | Free Extended Memory Block | | 
-| 0Bh | Move Extended Memory Block | | | +| [[en:docs:xms:api:0b|0Bh]] | Move Extended Memory Block | | 
-| 0Ch | Lock Extended Memory Block | | | +| [[en:docs:xms:api:0c|0Ch]] | Lock Extended Memory Block | | 
-| 0Dh | Unlock Extended Memory Block | | | +| [[en:docs:xms:api:0d|0Dh]] | Unlock Extended Memory Block | | 
-| 0Eh | Get Handle Information | | | +| [[en:docs:xms:api:0e|0Eh]] | Get Handle Information | | 
-| 0Fh | Reallocate Extended Memory Block | | | +| [[en:docs:xms:api:0f|0Fh]] | Reallocate Extended Memory Block | | 
-| 10h | Request Upper Memory Block | | | +| [[en:docs:xms:api:10|10h]] | Request Upper Memory Block | | 
-| 11h | Release Upper Memory Block | | | +| [[en:docs:xms:api:11|11h]] | Release Upper Memory Block | | 
-| 12h | Realloc Upper Memory Block | | | +| [[en:docs:xms:api:12|12h]] | Realloc Upper Memory Block | | 
-| 88h | Query any Free Extended Memory | | | +| [[en:docs:xms:api:88|88h]] | Query any Free Extended Memory | | 
-| 89h | Allocate any Extended Memory Block | | | +| [[en:docs:xms:api:89|89h]] | Allocate any Extended Memory Block | | 
-| 8Eh | Get Extended EMB Handle | | | +| [[en:docs:xms:api:8e|8Eh]] | Get Extended EMB Handle | | 
-| 8Fh | Realloc any Extended Memory | | |+| [[en:docs:xms:api:8f|8Fh]] | Realloc any Extended Memory | | |