aboutsummaryrefslogtreecommitdiff
path: root/int21dos.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-13 02:47:39 +0200
committerJavier <dev.git@javispedro.com>2022-04-13 02:47:39 +0200
commita77ce98811ba6040dafec8f75b5387ae5b2813aa (patch)
tree035b7046d3543cc14c6be2dc67ba136ac09ea572 /int21dos.h
parent8424f752f8f679cd5f5f9a2715d54a41f8885b0a (diff)
downloadvbados-a77ce98811ba6040dafec8f75b5387ae5b2813aa.tar.gz
vbados-a77ce98811ba6040dafec8f75b5387ae5b2813aa.zip
fix sft leak
Diffstat (limited to 'int21dos.h')
-rw-r--r--int21dos.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/int21dos.h b/int21dos.h
index 30aa68b..0a04ac0 100644
--- a/int21dos.h
+++ b/int21dos.h
@@ -298,6 +298,13 @@ static inline DOSLOL __far * dos_get_list_of_lists(void);
__value [es bx] \
__modify [ax]
+static inline uint16_t dos_sft_decref(DOSSFT __far *sft);
+#pragma aux dos_sft_decref = \
+ "mov ax, 0x1208" \
+ "int 0x2F" \
+ __parm [es di] \
+ __value [ax]
+
// Network redirector interface
enum DOS_REDIR_SUBFUNCTION {