aboutsummaryrefslogtreecommitdiff
path: root/int21dos.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-12 22:38:20 +0200
committerJavier <dev.git@javispedro.com>2022-04-12 22:38:20 +0200
commita109a1193ca3cf64a29265103075922d2dd9fc1b (patch)
treecde59f7e29ccca176dd150a51e8caf4613a86d1f /int21dos.h
parent2b9f509a04acb88d9ac72bce23b28099efdc4878 (diff)
downloadvbados-a109a1193ca3cf64a29265103075922d2dd9fc1b.tar.gz
vbados-a109a1193ca3cf64a29265103075922d2dd9fc1b.zip
add file date/time listing support, closeall call
Diffstat (limited to 'int21dos.h')
-rw-r--r--int21dos.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/int21dos.h b/int21dos.h
index c41ce44..f414216 100644
--- a/int21dos.h
+++ b/int21dos.h
@@ -46,7 +46,7 @@ enum dos_error {
DOS_ERROR_OUT_OF_MEMORY = 14,
DOS_ERROR_INVALID_DRIVE = 15,
DOS_ERROR_CURRENT_DIRECTORY = 16,
- DOS_ERROR_OT_SAME_DEVICE = 17,
+ DOS_ERROR_NOT_SAME_DEVICE = 17,
DOS_ERROR_NO_MORE_FILES = 18,
DOS_ERROR_WRITE_PROTECT = 19,
DOS_ERROR_BAD_UNIT = 20,
@@ -62,6 +62,9 @@ enum dos_error {
DOS_ERROR_HANDLE_EOF = 38,
DOS_ERROR_HANDLE_DISK_FULL = 39,
+
+ DOS_ERROR_FILE_EXISTS = 80,
+ DOS_ERROR_CANNOT_MAKE = 82,
};
enum dos_allocation_strategy {
@@ -316,6 +319,7 @@ enum DOS_REDIR_SUBFUNCTION {
DOS_FN_PRINTSETUP = 0x1F,
DOS_FN_FLUSH = 0x20,
DOS_FN_SEEK_END = 0x21,
+ DOS_FN_ATEXIT = 0x22,
DOS_FN_QUALIFY = 0x23,
DOS_FN_OPEN_EX = 0x2E
};