en:docs:mvm: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
Last revisionBoth sides next revision
en:docs:mvm:api [2024/05/11 04:52] prokusheven:docs:mvm:api [2024/05/23 09:17] prokushev
Line 3: Line 3:
 Supervisor calls API aimed to call host services from MVM. Supervisor calls API aimed to call host services from MVM.
  
-Ordinal ^ Description ^ +===== Functions ===== 
-| [[en:docs:mvm:api:0]] | |+ 
 +Function ^ Description ^ 
 +| [[en:docs:mvm:api:0]] | Duplicate handle (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:45|45H]])|
 | [[en:docs:mvm:api:1]] | Terminate MVM with error message (top of stack - far pointer to message ASCIIZ) | | [[en:docs:mvm:api:1]] | Terminate MVM with error message (top of stack - far pointer to message ASCIIZ) |
 | [[en:docs:mvm:api:2]] | Terminate MVM and return code to parent process from AX | | [[en:docs:mvm:api:2]] | Terminate MVM and return code to parent process from AX |
-| [[en:docs:mvm:api:3]] | |+| [[en:docs:mvm:api:3]] | Close file handle (interface not investigated yet) |
 | [[en:docs:mvm:api:4]] | Reset disk buffers | | [[en:docs:mvm:api:4]] | Reset disk buffers |
-| [[en:docs:mvm:api:5]] | |+| [[en:docs:mvm:api:5]] | Get current PSP (interface not investigated yet) |
 | [[en:docs:mvm:api:6]] | Select default drive (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:0e|0EH]]) | | [[en:docs:mvm:api:6]] | Select default drive (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:0e|0EH]]) |
 | [[en:docs:mvm:api:7]] | Set DTA from DS:DX (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:1a|1AH]])| | [[en:docs:mvm:api:7]] | Set DTA from DS:DX (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:1a|1AH]])|
-| [[en:docs:mvm:api:8]] | | +| [[en:docs:mvm:api:8]] | Get version (interface not investigated yet) 
-| [[en:docs:mvm:api:9]] | |+| [[en:docs:mvm:api:9]] | Write file handle (interface not investigated yet) |
 | [[en:docs:mvm:api:10]] | Set system date (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:2b|2BH]]) | | [[en:docs:mvm:api:10]] | Set system date (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:2b|2BH]]) |
 | [[en:docs:mvm:api:11]] | Set system time (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:2d|2DH]]) | | [[en:docs:mvm:api:11]] | Set system time (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:2d|2DH]]) |
 | [[en:docs:mvm:api:12]] | Get system date (result same as in INT 21H AH=[[en:docs:dos:api:int21:2a|2AH]]) | | [[en:docs:mvm:api:12]] | Get system date (result same as in INT 21H AH=[[en:docs:dos:api:int21:2a|2AH]]) |
 | [[en:docs:mvm:api:13]] | Get system time (result same as in INT 21H AH=[[en:docs:dos:api:int21:2c|2CH]]) | | [[en:docs:mvm:api:13]] | Get system time (result same as in INT 21H AH=[[en:docs:dos:api:int21:2c|2CH]]) |
-| [[en:docs:mvm:api:14]] | | +| [[en:docs:mvm:api:14]] | Read file handle  (interface not investigated yet) 
-| [[en:docs:mvm:api:15]] | |+| [[en:docs:mvm:api:15]] | Set file handle position (interface not investigated yet) |
 | [[en:docs:mvm:api:16]] | Delete directory (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:3a|3AH]])| | [[en:docs:mvm:api:16]] | Delete directory (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:3a|3AH]])|
-| [[en:docs:mvm:api:17]] | | +| [[en:docs:mvm:api:17]] | Create directory (interface not investigated yet) 
-| [[en:docs:mvm:api:18]] | Get current directory (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:47|47H]])| +| [[en:docs:mvm:api:18]] | Get current directory (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:47|47H]]) | 
-| [[en:docs:mvm:api:19]] | Change directory (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:3b|3BH]])| +| [[en:docs:mvm:api:19]] | Change directory (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:3b|3BH]]) | 
-| [[en:docs:mvm:api:20]] | | +| [[en:docs:mvm:api:20]] | Get/Set file time (interface not investigated yet) 
-| [[en:docs:mvm:api:21]] | | +| [[en:docs:mvm:api:21]] | Commit file (interface not investigated yet) 
-| [[en:docs:mvm:api:22]] | | +| [[en:docs:mvm:api:22]] | Find first file using FCB (interface not investigated yet) 
-| [[en:docs:mvm:api:23]] | | +| [[en:docs:mvm:api:23]] | Find next file using FCB (interface not investigated yet) 
-| [[en:docs:mvm:api:24]] | | +| [[en:docs:mvm:api:24]] |  
-| [[en:docs:mvm:api:25]] | |+| [[en:docs:mvm:api:25]] | Find first file (interface not investigated yet) |
 | [[en:docs:mvm:api:26]] | | | [[en:docs:mvm:api:26]] | |
 | [[en:docs:mvm:api:27]] | | | [[en:docs:mvm:api:27]] | |
 | [[en:docs:mvm:api:28]] | | | [[en:docs:mvm:api:28]] | |
 | [[en:docs:mvm:api:29]] | Delete file using FCB DS:DX -> unopened FCB ES -> environment segment | | [[en:docs:mvm:api:29]] | Delete file using FCB DS:DX -> unopened FCB ES -> environment segment |
-| [[en:docs:mvm:api:30]] | | +| [[en:docs:mvm:api:30]] | Rename file using FCB (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:17|17H]]) 
-| [[en:docs:mvm:api:31]] | | +| [[en:docs:mvm:api:31]] | Delete file (interface not investigated yet) 
-| [[en:docs:mvm:api:32]] | |+| [[en:docs:mvm:api:32]] | Rename file (interface not investigated yet) |
 | [[en:docs:mvm:api:33]] | | | [[en:docs:mvm:api:33]] | |
 | [[en:docs:mvm:api:34]] | | | [[en:docs:mvm:api:34]] | |
Line 49: Line 51:
 | [[en:docs:mvm:api:43]] | | | [[en:docs:mvm:api:43]] | |
 | [[en:docs:mvm:api:44]] | Set VERIFY flag from AL | | [[en:docs:mvm:api:44]] | Set VERIFY flag from AL |
-| [[en:docs:mvm:api:45]] | | +| [[en:docs:mvm:api:45]] | Find next file (interface not investigated yet) 
-| [[en:docs:mvm:api:46]] | | +| [[en:docs:mvm:api:46]] | Create new file (interface not investigated yet) 
-| [[en:docs:mvm:api:47]] | |+| [[en:docs:mvm:api:47]] | Create temp file (interface not investigated yet)|
 | [[en:docs:mvm:api:48]] | | | [[en:docs:mvm:api:48]] | |
 | [[en:docs:mvm:api:49]] | Parse filename to FCB (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:29|29H]]) | | [[en:docs:mvm:api:49]] | Parse filename to FCB (params and result same as in INT 21H AH=[[en:docs:dos:api:int21:29|29H]]) |
Line 65: Line 67:
 | [[en:docs:mvm:api:59]] | | | [[en:docs:mvm:api:59]] | |
 | [[en:docs:mvm:api:60]] | | | [[en:docs:mvm:api:60]] | |
-| [[en:docs:mvm:api:61]] | | +| [[en:docs:mvm:api:61]] | Absolute disk read (interface not investigated yet) 
-| [[en:docs:mvm:api:62]] | |+| [[en:docs:mvm:api:62]] | Absolute disk write (interface not investigated yet) |
 | [[en:docs:mvm:api:63]] | | | [[en:docs:mvm:api:63]] | |
 | [[en:docs:mvm:api:64]] | | | [[en:docs:mvm:api:64]] | |
Line 91: Line 93:
 | [[en:docs:mvm:api:85]] | | | [[en:docs:mvm:api:85]] | |
  
 +===== Structures =====
  
- +  * [[en:docs:mvm:api:FCB]] 
- +  * [[en:docs:mvm:api:XFCB]] 
 +  * [[en:docs:mvm:api:FILETIME]] 
 +  * [[en:docs:mvm:api:FILEDATE]]